[clang] [llvm] [clang] Implement P3733R1 (PR #203944)
Jan Schultke via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 27 23:51:12 PDT 2026
================
@@ -214,11 +214,11 @@ int \N{Λ} = 0;
// expected-error at -2 {{expected unqualified-id}}
const char* emoji = "\N{🤡}";
// expected-error at -1 {{'🤡' is not a valid Unicode character name}}
-// expected-note at -2 {{did you mean OX ('🐂' U+1F402)?}}
-// expected-note at -3 {{did you mean ANT ('🐜' U+1F41C)?}}
-// expected-note at -4 {{did you mean ARC ('⌒' U+2312)?}}
-// expected-note at -5 {{did you mean AXE ('🪓' U+1FA93)?}}
-// expected-note at -6 {{did you mean BAT ('🦇' U+1F987)?}}
+// expected-note at -2 {{did you mean BS (U+0008)?}}
+// expected-note at -3 {{did you mean CR (U+000D)?}}
+// expected-note at -4 {{did you mean EM (U+0019)?}}
+// expected-note at -5 {{did you mean FF (U+000C)?}}
+// expected-note at -6 {{did you mean FS (U+001C)?}}
----------------
eisenwave wrote:
> In what universe would the user have meant "backspace"?
In what universe would they have meant "AXE" when given U+1F921 CLOWN FACE.
Random crap goes into `\N`, random crap suggestions come out.
https://github.com/llvm/llvm-project/pull/203944
More information about the cfe-commits
mailing list