================
@@ -717,20 +717,22 @@ void Parser::ParseLexedAttributes(ParsingClass &Class) {
}
void Parser::ParseLexedAttributeList(LateParsedAttrList &LAs, Decl *D,
- bool EnterScope, bool OnDefinition) {
+ bool EnterScope, bool OnDefinition,
+ ParsedAttributes *OutAttrs) {
assert(LAs.parseSoon() &&
"Attribute list should be marked for immediate parsing.");
for (unsigned i = 0, ni = LAs.size(); i < ni; ++i) {
if (D)
LAs[i]->addDecl(D);
- ParseLexedAttribute(*LAs[i], EnterScope, OnDefinition);
+ ParseLexedAttribute(*LAs[i], EnterScope, OnDefinition, OutAttrs);
delete LAs[i];
}
LAs.clear();
}
-void Parser::ParseLexedAttribute(LateParsedAttribute &LA,
- bool EnterScope, bool OnDefinition) {
+void Parser::ParseLexedAttribute(LateParsedAttribute &LA, bool EnterScope,
----------------
shafik wrote:
Am I the only one that thinks `LA` should be `LPA`?
https://github.com/llvm/llvm-project/pull/186033
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits