Searched refs:LookupRes (Results 1 – 5 of 5) sorted by relevance
81 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local82 auto Found = llvm::find_if(LookupRes, [&ACtx](const Decl *D) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()89 if (Found == LookupRes.end()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()99 SmallVector<const Decl *> LookupRes; in getErrnoFunc() local102 llvm::append_range(LookupRes, ACtx.getTranslationUnitDecl()->lookup(&II)); in getErrnoFunc()105 auto Found = llvm::find_if(LookupRes, [&ACtx](const Decl *D) { in getErrnoFunc()113 if (Found == LookupRes.end()) in getErrnoFunc()
1578 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries() local1579 if (LookupRes.empty()) in initFunctionSummaries()1587 for (Decl *D : LookupRes) in initFunctionSummaries()1595 for (Decl *D : LookupRes) in initFunctionSummaries()1727 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries() local1728 if (LookupRes.empty()) in initFunctionSummaries()1730 for (Decl *D : LookupRes) { in initFunctionSummaries()
156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head))); in disambiguateSpellingInScope() local157 if (!LookupRes.empty()) { in disambiguateSpellingInScope()158 for (const NamedDecl *Res : LookupRes) in disambiguateSpellingInScope()
505 Decl *LookupRes = C.first.get(); in FindExternalVisibleDeclsByName() local507 auto NDOrErr = Importer->Import(LookupRes); in FindExternalVisibleDeclsByName()514 importSpecializationsIfNeeded(LookupRes, Importer); in FindExternalVisibleDeclsByName()
455 const auto LookupRes = MatchOpTable.lookup(*It); in inferNamedOperandType() local456 if (LookupRes.Def) // Favor defs in inferNamedOperandType()460 if (GoodOpName.empty() && LookupRes.Found) in inferNamedOperandType()1410 auto LookupRes = MatchOpTable.lookup(RootName); in findRoots() local1411 if (!LookupRes.Found) { in findRoots()1416 MatchRoot = LookupRes.Def; in findRoots()