[clang] [NFC] [Clang] Some core issues have changed status from tentatively ready -> ready / review (PR #97200)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 03:02:56 PDT 2024


================
@@ -153,6 +153,8 @@ void g() {
 namespace cwg2881 { // cwg2881: 19 ready 2024-06-26
 
 #if __cplusplus >= 202302L
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Winaccessible-base"
----------------
Endilll wrote:

Yes, we shouldn't be using `#pragma clang diagnostic` in DR tests. I'll get rid of the few that are left.
If a diagnostic (ideally) should not be emitted, match it and leave a FIXME. If diagnostic is correct, you can try to change the test in a way that doesn't trigger it, but it's not required.

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


More information about the cfe-commits mailing list