[clang] [Clang] Yet more consistent Unicode diagnostics (PR #211002)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 21 07:30:29 PDT 2026


================
@@ -133,20 +133,20 @@ def err_invalid_utf8 : Error<
 def warn_invalid_utf8_in_comment : Extension<
   "invalid UTF-8 in comment">, InGroup<DiagGroup<"invalid-utf8">>;
 def err_character_not_allowed : Error<
-  "unexpected character <U+%0>">;
+  "unexpected character %0">;
----------------
AaronBallman wrote:

That makes sense to me, thanks!

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


More information about the cfe-commits mailing list