[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 08:52:35 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:

Do you mean, "in language modes after C++98"?

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


More information about the cfe-commits mailing list