[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:34 PST 2024


================
@@ -380,7 +375,8 @@ class DeclSpec {
   unsigned FS_noreturn_specified : 1;
 
   // friend-specifier
-  unsigned Friend_specified : 1;
+  unsigned FriendSpecified : 1;
----------------
erichkeane wrote:

Should these have that debug-attribute that we added not long ago?  I think it was `Preferred_Type` or something?

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


More information about the cfe-commits mailing list