================
@@ -428,6 +428,9 @@ New Compiler Flags
 - The ``-Warray-compare`` warning has been added to warn about array comparison
   on versions older than C++20.
 
+- The ``-Warray-compare-cxx26`` warning has been added to warn about array 
comparison
+  starting from C++26, this warn is error by default.
----------------
erichkeane wrote:

```suggestion
  starting from C++26, this warning is enabled as an error by default.
```

https://github.com/llvm/llvm-project/pull/118872
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to