Searched refs:LookupRes (Results 1 – 8 of 8) sorted by relevance
79 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local80 auto Found = llvm::find_if(LookupRes, [&ACtx](const Decl *D) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()87 if (Found == LookupRes.end()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()97 SmallVector<const Decl *> LookupRes; in getErrnoFunc() local100 llvm::append_range(LookupRes, ACtx.getTranslationUnitDecl()->lookup(&II)); in getErrnoFunc()103 auto Found = llvm::find_if(LookupRes, [&ACtx](const Decl *D) { in getErrnoFunc()111 if (Found == LookupRes.end()) in getErrnoFunc()
1154 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries() local1155 if (LookupRes.empty()) in initFunctionSummaries()1163 for (Decl *D : LookupRes) in initFunctionSummaries()1171 for (Decl *D : LookupRes) in initFunctionSummaries()1306 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries() local1307 if (LookupRes.empty()) in initFunctionSummaries()1309 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()
220 auto LookupRes = Scope.lookup(DeclarationName(&Ctx.Idents.get(Name))); in findDecl() local221 assert(!LookupRes.empty() && "Lookup failed"); in findDecl()222 assert(LookupRes.isSingleResult() && "Lookup returned multiple results"); in findDecl()223 return *LookupRes.front(); in findDecl()
508 Decl *LookupRes = C.first.get(); in FindExternalVisibleDeclsByName() local510 auto NDOrErr = Importer->Import(LookupRes); in FindExternalVisibleDeclsByName()517 importSpecializationsIfNeeded(LookupRes, Importer); in FindExternalVisibleDeclsByName()
425 auto LookupRes = CommentlessRedeclChains.find(CanonicalD); in getRawCommentForAnyRedecl() local426 if (LookupRes != CommentlessRedeclChains.end()) in getRawCommentForAnyRedecl()427 return LookupRes->second; in getRawCommentForAnyRedecl()
2705 ASSERT_TRUE(LookupRes.empty()); in TEST_P()2716 EXPECT_TRUE(LookupRes.empty()); in TEST_P()2717 LookupRes = ToTU->noload_lookup(ToName); in TEST_P()2718 EXPECT_TRUE(LookupRes.isSingleResult()); in TEST_P()2752 ASSERT_TRUE(LookupRes.empty()); in TEST_P()2754 ASSERT_TRUE(LookupRes.isSingleResult()); in TEST_P()2762 EXPECT_TRUE(LookupRes.empty()); in TEST_P()2763 LookupRes = ToTU->noload_lookup(ToName); in TEST_P()2765 EXPECT_TRUE(LookupRes.isSingleResult()); in TEST_P()2796 ASSERT_TRUE(LookupRes.empty()); in TEST_P()[all …]
301 auto LookupRes = DC->lookup(DeclarationName(&AST.Idents.get(Name))); in conflictInNamespace() local302 if (LookupRes.empty()) in conflictInNamespace()304 return LookupRes.front(); in conflictInNamespace()