[clang] [Clang] Defaults `-Wunicode-whitespace` to an error. (PR #210945)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 21 05:25:37 PDT 2026
================
@@ -7,8 +7,8 @@
// This file contains Unicode characters; please do not "fix" them!
-extern int x; // expected-warning {{treating Unicode character as whitespace}}
-extern int x; // expected-warning {{treating Unicode character as whitespace}}
+extern int x; // expected-error {{treating character <U+' ' U+00A0> as whitespace}}
+extern int x; // expected-error {{treating character <U+' ' U+3000> as whitespace}}
----------------
cor3ntin wrote:
nvm, I am an idiot
https://github.com/llvm/llvm-project/pull/210945
More information about the cfe-commits
mailing list