[clang] [clang] Improve diagnostics for invalid named-universal-characters (PR #206326)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 00:31:28 PDT 2026


================
@@ -1085,6 +1085,26 @@ void clang::EscapeStringForDiagnostic(StringRef Str,
   }
 }
 
+/// Displays CodePoint in U+NNNN notation, optionally prepending the quoted
+/// CodePoint itself if printable.
+llvm::SmallString<16>
----------------
cor3ntin wrote:

```suggestion
/// Displays a single Unicode codepoint in U+NNNN notation, optionally prepending the quoted codepoint itself if printable
llvm::SmallString<16>
```

https://github.com/llvm/llvm-project/pull/206326


More information about the cfe-commits mailing list