[clang] [Clang][Sema] Diagnose friend declarations with enum elaborated-type-specifier in all language modes (PR #80171)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 09:24:13 PST 2024


================
@@ -252,4 +252,14 @@ namespace dr2397 { // dr2397: 17
     auto (*c)[5] = &a;
   }
 } // namespace dr2397
+
+// CWG2363 was closed as NAD, but its resolution does affirm that
----------------
Endilll wrote:

I find it totally normal for DR tests to tests NAD issues to affirm the status quo. You don't have to put this comment if you don't really want to.

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


More information about the cfe-commits mailing list