shafik added inline comments.
================ Comment at: clang/lib/AST/ASTImporter.cpp:1950 + ToD && ToDC == ToD->getLexicalDeclContext() && + ToDC->containsDecl(ToD)) { + ToDC->removeDecl(ToD); ---------------- If `ToDC` does not contain the decl is that a problem, what case do we expect this to happen? Do we test that case? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156093/new/ https://reviews.llvm.org/D156093 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits