================
@@ -235,7 +235,9 @@ void IncrementalParser::CleanUpPTU(TranslationUnitDecl
*MostRecentTU) {
}
for (NamedDecl *D : NamedDeclsToRemove) {
List.remove(D);
- S.IdResolver.RemoveDecl(D);
+ if (D->getDeclName().getFETokenInfo() && !D->getLangOpts().ObjC &&
----------------
Vipul-Cariappa wrote:
Look at Line 250. I am just replicating the same.
https://github.com/llvm/llvm-project/pull/218129
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits