[PATCH] D133945: [clang][ASTImporter] Continue with slow lookup in DeclContext::localUncachedLookup when regular lookup fails

Michael Buch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 08:08:08 PDT 2022


Michael137 added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: clang/lib/AST/DeclBase.cpp:1781
   if (Name && !hasLazyLocalLexicalLookups() &&
       !hasLazyExternalLexicalLookups()) {
     if (StoredDeclsMap *Map = LookupPtr) {
----------------
Could merge the two if-blocks now I suppose


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133945/new/

https://reviews.llvm.org/D133945



More information about the cfe-commits mailing list