| commit | 843d1820007ce64f5a69a64102a6607dcff2ce27 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tom@tromey.com> | Wed Apr 10 16:49:51 2024 -0600 |
| committer | Tom Tromey <tom@tromey.com> | Tue May 14 13:28:39 2024 -0600 |
| tree | 76d9ff368240b554fc85aa349a0aa3b65c9e6ea9 | |
| parent | 6921816e5ecdf5ef01db2b96a4f744476752332b [diff] |
Fix C++ name canonicalizations of character literals The names "void C<(char)1>::m()" and "void C<'\001'>::m()" should canonicalize to the same string, but currently they do not -- the former remains unchanged and the latter is transformed to "void C<(char)'\001'>::m()". This patch fixes the bug and also adds some unit tests. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16843 Approved-By: John Baldwin <jhb@FreeBSD.org>