[clang] [Clang] CWG2749: relational operators involving pointers to void (PR #93046)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 12:59:02 PDT 2024
================
@@ -1,11 +1,23 @@
-// RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++98 -verify=expected %s
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++98 -Wgnu-folding-constant -verify=expected %s
----------------
Endilll wrote:
I hope `-Wgnu-folding-constant` is not going to be needed after you apply other suggestions. Even if it's needed, this has to be handled some other way, not with an additional flag.
https://github.com/llvm/llvm-project/pull/93046
More information about the cfe-commits
mailing list