================
@@ -1,6 +1,7 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-// RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
-
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-invalid-pure-attribute %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-invalid-pure-attribute -x c++ %s
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,invalidpure 
-Winvalid-pure-attribute %s
----------------
AhmedKamel10 wrote:

I've updated the tests to cover both cases (with and without the flag).
Just a heads-up that it's currently enabled by default, but we can always tweak 
it later once the preferred default behavior is decided.

https://github.com/llvm/llvm-project/pull/217817
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to