[clang] [BoundsSafety][NFC] Introduce LateParsedTypeAttribute for late-parsed type attributes (PR #192799)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 24 08:48:32 PDT 2026


================
@@ -4880,9 +4873,43 @@ void Parser::ParseLexedCAttribute(LateParsedAttribute &LA, bool EnterScope,
   if (Tok.is(tok::eof) && Tok.getEofData() == AttrEnd.getEofData())
     ConsumeAnyToken();
 
-  if (OutAttrs) {
+  return Attrs;
+}
+
+void Parser::ParseLexedCAttribute(LateParsedAttribute &LA, bool EnterScope,
----------------
AaronBallman wrote:

`EnterScope` is unused?

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


More information about the cfe-commits mailing list