[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:10:56 PDT 2026
================
@@ -166,7 +166,7 @@ void test_block() {
^MIG_SERVER_ROUTINE (mach_port_name_t port,
vm_address_t address, vm_size_t size) {
vm_deallocate(port, address, size); // expected-note{{Value passed through parameter 'address' is deallocated}}
- return KERN_ERROR; // expected-warning{{MIG callback fails with error after deallocating argument value. This is a use-after-free vulnerability because the caller will try to deallocate it again}}
+ return KERN_ERROR; // expected-warning{{MIG callback fails with error after deallocating argument value. This is a use-after-free vulnerability because the caller will try to deallocate it again}}
----------------
cor3ntin wrote:
You'd think so!
> | File /home/cor3ntin/dev/compilers/LLVM/llvm-project/clang/test/Analysis/mig.mm Line 169: treating character <U+' ' U+00A0> as whitespace
https://github.com/llvm/llvm-project/pull/210945
More information about the cfe-commits
mailing list