ChuanqiXu added inline comments.
================ Comment at: clang/lib/Serialization/ASTReaderDecl.cpp:2161-2198 + /// FIXME: The `DeclContext::noload_lookup()` wouldn't load local lexical + /// lookups since unnamed declarations are skipped. We can find this in + /// `DeclContext::buildLookupImpl` and `shouldBeHidden(NamedDecl*)` in + /// DeclBase.cpp. So the `DeclContext::noload_lookup()` here can only find + /// decls during the deserilizations. For example: + /// + /// ``` ---------------- The comment tells why this is a workaround and what we need to do to fix the problem properly. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140002/new/ https://reviews.llvm.org/D140002 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits