Home
last modified time | relevance | path

Searched refs:DirectoryLookup (Results 1 – 14 of 14) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
HDHeaderSearch.h159 friend class DirectoryLookup; variable
173 std::vector<DirectoryLookup> SearchDirs;
269 void SetSearchPaths(const std::vector<DirectoryLookup> &dirs, in SetSearchPaths()
282 void AddSearchPath(const DirectoryLookup &dir, bool isAngled) { in AddSearchPath()
394 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
621 void loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir);
671 using search_dir_iterator = std::vector<DirectoryLookup>::const_iterator;
HDDirectoryLookup.h31 class DirectoryLookup {
69 DirectoryLookup(DirectoryEntryRef Dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
76 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
HDPreprocessor.h69 class DirectoryLookup; variable
500 const DirectoryLookup *CurDirLookup = nullptr;
528 const DirectoryLookup *TheDirLookup;
536 const DirectoryLookup *TheDirLookup) in IncludeStackInfo()
1292 bool EnterSourceFile(FileID FID, const DirectoryLookup *Dir,
1968 const DirectoryLookup *FromDir, const FileEntry *FromFile,
1969 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath,
1979 const DirectoryLookup *GetCurDirLookup() { return CurDirLookup; } in GetCurDirLookup()
2141 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
2216 const DirectoryLookup *&CurDir, StringRef Filename,
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDInitHeaderSearch.cpp40 std::vector<std::pair<IncludeDirGroup, DirectoryLookup> > IncludePath;
42 DirectoryLookup> >::const_iterator path_iterator;
160 std::make_pair(Group, DirectoryLookup(*DE, Type, isFramework))); in AddUnmappedPath()
172 DirectoryLookup(HM, Type, Group == IndexHeaderMap))); in AddUnmappedPath()
469 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates()
478 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
508 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
555 std::vector<DirectoryLookup> SearchList; in Realize()
HDFrontendActions.cpp289 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction()
HDVerifyDiagnosticConsumer.cpp530 const DirectoryLookup *CurDir; in ParseDirective()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDInclusionRewriter.cpp34 const DirectoryLookup *DirLookup;
36 const DirectoryLookup *DirLookup) in IncludedFile()
61 const DirectoryLookup *DirLookup);
381 const DirectoryLookup *DirLookup) { in Process()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDPPDirectives.cpp720 const DirectoryLookup *FromDir, const FileEntry *FromFile, in LookupFile()
721 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, in LookupFile()
777 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
778 const DirectoryLookup *TmpFromDir = nullptr; in LookupFile()
1677 const DirectoryLookup *LookupFrom, in HandleIncludeDirective()
1715 const DirectoryLookup *&CurDir, StringRef Filename, in LookupHeaderIncludeOrImport()
1718 bool &IsMapped, const DirectoryLookup *LookupFrom, in LookupHeaderIncludeOrImport()
1736 DirectoryLookup DL(*DE, SrcMgr::C_User, false); in LookupHeaderIncludeOrImport()
1855 SourceLocation EndLoc, const DirectoryLookup *LookupFrom, in HandleHeaderIncludeOrImport()
1905 const DirectoryLookup *CurDir; in HandleHeaderIncludeOrImport()
[all …]
HDHeaderSearch.cpp309 StringRef DirectoryLookup::getName() const { in getName()
350 Optional<FileEntryRef> DirectoryLookup::LookupFile( in LookupFile()
487 Optional<FileEntryRef> DirectoryLookup::DoFrameworkLookup( in DoFrameworkLookup()
730 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile()
1702 void HeaderSearch::loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir) { in loadSubdirectoryModuleMaps()
HDPPLexerChange.cpp69 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile()
102 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer()
HDPPMacroExpansion.cpp1157 const DirectoryLookup *LookupFrom, in EvaluateHasIncludeCommon()
1226 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon()
1259 const DirectoryLookup *Lookup = PP.GetCurDirLookup(); in EvaluateHasIncludeNext()
HDPreprocessor.cpp573 const DirectoryLookup *CurDir; in EnterMainSourceFile()
HDPragma.cpp516 const DirectoryLookup *CurDir; in HandlePragmaDependency()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaCodeComplete.cpp8703 DirectoryLookup::LookupType_t LookupType) { in CodeCompleteIncludedFile()
8706 if (LookupType == DirectoryLookup::LT_Framework) { in CodeCompleteIncludedFile()
8730 if (LookupType == DirectoryLookup::LT_Framework && in CodeCompleteIncludedFile()
8755 auto AddFilesFromDirLookup = [&](const DirectoryLookup &IncludeDir, in CodeCompleteIncludedFile()
8758 case DirectoryLookup::LT_HeaderMap: in CodeCompleteIncludedFile()
8761 case DirectoryLookup::LT_NormalDir: in CodeCompleteIncludedFile()
8763 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile()
8765 case DirectoryLookup::LT_Framework: in CodeCompleteIncludedFile()
8767 DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile()
8782 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile()