[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 16 07:14:04 PST 2026


================
@@ -268,12 +268,13 @@ void Parser::ParseCXXNonStaticMemberInitializer(Decl *VarD) {
   Toks.push_back(Eof);
 }
 
-Parser::LateParsedDeclaration::~LateParsedDeclaration() {}
-void Parser::LateParsedDeclaration::ParseLexedMethodDeclarations() {}
-void Parser::LateParsedDeclaration::ParseLexedMemberInitializers() {}
-void Parser::LateParsedDeclaration::ParseLexedMethodDefs() {}
-void Parser::LateParsedDeclaration::ParseLexedAttributes() {}
-void Parser::LateParsedDeclaration::ParseLexedPragmas() {}
+LateParsedDeclaration::~LateParsedDeclaration() {}
+void LateParsedDeclaration::ParseLexedMethodDeclarations() {}
+void LateParsedDeclaration::ParseLexedMemberInitializers() {}
+void LateParsedDeclaration::ParseLexedMethodDefs() {}
+void LateParsedDeclaration::ParseLexedAttributes() {}
+void LateParsedDeclaration::ParseLexedTypeAttributes() {}
+void LateParsedDeclaration::ParseLexedPragmas() {}
----------------
zmodem wrote:

But LateParsedDeclaration is in Sema (DeclSpec.h) now. Seems weird to define it here?

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


More information about the cfe-commits mailing list