[NFC] Requestify ABI role computation

This commit is contained in:
Becca Royal-Gordon
2024-12-19 21:22:08 -08:00
parent 9c1e00ce52
commit 413c673da4
7 changed files with 90 additions and 45 deletions

View File

@@ -6513,7 +6513,7 @@ llvm::Error DeclDeserializer::finishRecursiveAttrs(Decl *decl, DeclAttribute *at
if (!abiDeclOrError)
return abiDeclOrError.takeError();
unresolvedABIAttr->first->abiDecl = abiDeclOrError.get();
ctx.recordABIAttr(unresolvedABIAttr->first, decl);
decl->recordABIAttr(unresolvedABIAttr->first);
}
if (ABIDeclCounterpartID != 0) {
// This decl is the `abiDecl` of an `ABIAttr`. Force the decl that `ABIAttr`