Home
last modified time | relevance | path

Searched refs:LookupRes (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoModeling.cpp81 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
82 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() local
102 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()
H A DStdLibraryFunctionsChecker.cpp1578 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries() local
1579 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() local
1728 if (LookupRes.empty()) in initFunctionSummaries()
1730 for (Decl *D : LookupRes) { in initFunctionSummaries()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head))); in disambiguateSpellingInScope() local
157 if (!LookupRes.empty()) { in disambiguateSpellingInScope()
158 for (const NamedDecl *Res : LookupRes) in disambiguateSpellingInScope()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp505 Decl *LookupRes = C.first.get(); in FindExternalVisibleDeclsByName() local
507 auto NDOrErr = Importer->Import(LookupRes); in FindExternalVisibleDeclsByName()
514 importSpecializationsIfNeeded(LookupRes, Importer); in FindExternalVisibleDeclsByName()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp455 const auto LookupRes = MatchOpTable.lookup(*It); in inferNamedOperandType() local
456 if (LookupRes.Def) // Favor defs in inferNamedOperandType()
460 if (GoodOpName.empty() && LookupRes.Found) in inferNamedOperandType()
1410 auto LookupRes = MatchOpTable.lookup(RootName); in findRoots() local
1411 if (!LookupRes.Found) { in findRoots()
1416 MatchRoot = LookupRes.Def; in findRoots()