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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 09:02:15 PST 2024


================
@@ -145,6 +145,7 @@ Improvements to Clang's diagnostics
   prints.
 
 - Clang now diagnoses member template declarations with multiple declarators.
+- Clang now diagnoses friend declarations with an ``enum`` elaborated-type-specifier outside of C++98.
----------------
erichkeane wrote:

Ok, cool, I was a touch confused.  Can you change the wording of the release note? 

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


More information about the cfe-commits mailing list