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

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 09:00:44 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.
----------------
sdkrystian wrote:

Yes :)

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


More information about the cfe-commits mailing list