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

Jan Schultke via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 22:03:23 PDT 2026


================
@@ -1085,6 +1085,26 @@ void clang::EscapeStringForDiagnostic(StringRef Str,
   }
 }
 
+/// DisplayCodePointForDiagnostic - Display CodePoint in U+NNNN notation,
----------------
eisenwave wrote:

There are a whole bunch of functions above that do the same thing of repeating the name in the comment. Do we not care about local consistency here?

I agree that generally it would be weird to repeat the name.

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


More information about the cfe-commits mailing list