Searched refs:DirectoryLookup (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | HeaderSearch.h | 165 Qualified<IsConst, DirectoryLookup>> { 185 Qualified<IsConst, DirectoryLookup> &operator*() const { 224 friend class DirectoryLookup; variable 244 std::vector<DirectoryLookup> SearchDirs; 349 void SetSearchPaths(std::vector<DirectoryLookup> dirs, unsigned angledDirIdx, 354 void AddSearchPath(const DirectoryLookup &dir, bool isAngled); 357 void AddSystemSearchPath(const DirectoryLookup &dir) { in AddSystemSearchPath() 735 void loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir); 824 unsigned searchDirIdx(const DirectoryLookup &DL) const;
|
| H A D | DirectoryLookup.h | 30 class DirectoryLookup { 68 DirectoryLookup(DirectoryEntryRef Dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function 75 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | InitHeaderSearch.cpp | 37 DirectoryLookup Lookup; 40 DirectoryLookupInfo(IncludeDirGroup Group, DirectoryLookup Lookup, in DirectoryLookupInfo() 169 IncludePath.emplace_back(Group, DirectoryLookup(*DE, Type, isFramework), in AddUnmappedPath() 181 Group, DirectoryLookup(HM, Type, Group == IndexHeaderMap), in AddUnmappedPath() 494 const DirectoryLookup &CurEntry = SearchList[i].Lookup; in RemoveDuplicates() 524 const DirectoryLookup &SearchEntry = SearchList[FirstDir].Lookup; in RemoveDuplicates() 569 static std::vector<DirectoryLookup> 571 std::vector<DirectoryLookup> Lookups; in extractLookups()
|
| H A D | HeaderSearch.cpp | 107 std::vector<DirectoryLookup> dirs, unsigned int angledDirIdx, in SetSearchPaths() 121 void HeaderSearch::AddSearchPath(const DirectoryLookup &dir, bool isAngled) { in AddSearchPath() 314 for (DirectoryLookup Dir : search_dir_range()) { in lookupModule() 388 StringRef DirectoryLookup::getName() const { in getName() 429 Optional<FileEntryRef> DirectoryLookup::LookupFile( in LookupFile() 567 Optional<FileEntryRef> DirectoryLookup::DoFrameworkLookup( in DoFrameworkLookup() 1459 unsigned HeaderSearch::searchDirIdx(const DirectoryLookup &DL) const { in searchDirIdx() 1797 for (DirectoryLookup &DL : search_dir_range()) { in collectAllModules() 1846 for (const DirectoryLookup &DL : search_dir_range()) { in loadTopLevelSystemModules() 1950 for (const DirectoryLookup &DL : search_dir_range()) { in suggestPathToFileForDiagnostics() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | HeaderSearchTest.cpp | 45 auto DL = DirectoryLookup(*DE, SrcMgr::C_User, /*isFramework=*/false); in addSearchDir() 54 auto DL = DirectoryLookup(*DE, SrcMgr::C_System, /*isFramework=*/true); in addSystemFrameworkSearchDir() 70 DirectoryLookup(HMap.get(), SrcMgr::C_User, /*isFramework=*/false); in addHeaderMap()
|
| H A D | PPCallbacksTest.cpp | 163 DirectoryLookup DL(*DE, SrcMgr::C_User, false); in AddFakeHeader()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 326 case DirectoryLookup::LT_NormalDir: { in add() 335 case DirectoryLookup::LT_Framework: in add() 338 case DirectoryLookup::LT_HeaderMap: in add()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | StdLibTests.cpp | 96 DirectoryLookup( in TEST()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 9933 DirectoryLookup::LookupType_t LookupType) { in CodeCompleteIncludedFile() 9936 if (LookupType == DirectoryLookup::LT_Framework) { in CodeCompleteIncludedFile() 9973 if (LookupType == DirectoryLookup::LT_Framework && in CodeCompleteIncludedFile() 9999 auto AddFilesFromDirLookup = [&](const DirectoryLookup &IncludeDir, in CodeCompleteIncludedFile() 10002 case DirectoryLookup::LT_HeaderMap: in CodeCompleteIncludedFile() 10005 case DirectoryLookup::LT_NormalDir: in CodeCompleteIncludedFile() 10007 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile() 10009 case DirectoryLookup::LT_Framework: in CodeCompleteIncludedFile() 10011 DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile() 10026 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile()
|