[clang] [Clang] Defaults `-Wunicode-whitespace` to an error. (PR #210945)

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


================
@@ -46,6 +46,11 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
 
 ### C/C++ Language Potentially Breaking Changes
 
+- `-Wunicode-whitespace` now defaults to an error.
+The previous behavior can be restored with `-Wno-error=unicode-whitespace`.
+Clang will stop accepting non-ascii whitespaces as token seperator
----------------
AaronBallman wrote:

```suggestion
Clang will stop accepting non-ascii whitespaces as token separators
```

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


More information about the cfe-commits mailing list