================
@@ -4444,6 +4444,7 @@ class ASTDeclContextNameLookupTrait
};
ASTReader *Chain = Writer.getChain();
for (NamedDecl *D : Decls) {
+ AddDecl(D);
----------------
mpark wrote:
@Sterling-Augustine I understand you cannot share the repro you have, would you
be able to insert some code here like:
```
for (NamedDecl *D : Decls) {
if (...) {
bool Found = false;
Chain->forEachImportedKeyDecl(D, [&AddDecl, &Found](const Decl *D2) {
AddDecl(cast<NamedDecl>(const_cast<Decl *>(D2)));
if(D == D2) Found = true;
});
if (!Found) D->dump();
} else {
AddDecl(D);
}
}
```
and let us know what that prints?
https://github.com/llvm/llvm-project/pull/172898
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits