[clang] [Attributes] Support Attributes being declared as supporting an experimental late parsing mode "extension" (PR #88596)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 23 10:34:49 PDT 2024


================
@@ -220,8 +230,28 @@ void Parser::ParseGNUAttributes(ParsedAttributes &Attrs,
         continue;
       }
 
+      bool LateParse = false;
+      if (!LateAttrs)
+        LateParse = false;
+      else {
----------------
AaronBallman wrote:

Can remove a level of indentation here by making this an `else if` followed by an `else`.

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


More information about the cfe-commits mailing list