Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Lex/
DHeaderSearch.h160 std::vector<DirectoryLookup> SearchDirs;
248 friend class DirectoryLookup; variable
263 void SetSearchPaths(const std::vector<DirectoryLookup> &dirs, in SetSearchPaths()
276 void AddSearchPath(const DirectoryLookup &dir, bool isAngled) { in AddSearchPath()
380 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
559 void loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir);
609 typedef std::vector<DirectoryLookup>::const_iterator search_dir_iterator;
DDirectoryLookup.h32 class DirectoryLookup {
68 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
78 DirectoryLookup(const HeaderMap *map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
DPreprocessor.h57 class DirectoryLookup; variable
303 const DirectoryLookup *CurDirLookup;
333 const DirectoryLookup *TheDirLookup;
342 const DirectoryLookup *TheDirLookup) in IncludeStackInfo()
1006 bool EnterSourceFile(FileID CurFileID, const DirectoryLookup *Dir,
1647 bool isAngled, const DirectoryLookup *FromDir,
1649 const DirectoryLookup *&CurDir,
1660 const DirectoryLookup *GetCurDirLookup() { return CurDirLookup; } in GetCurDirLookup()
1818 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
1822 void EnterSourceFileWithPTH(PTHLexer *PL, const DirectoryLookup *Dir);
[all …]
/external/llvm-project/clang/include/clang/Lex/
DHeaderSearch.h159 friend class DirectoryLookup; variable
173 std::vector<DirectoryLookup> SearchDirs;
272 void SetSearchPaths(const std::vector<DirectoryLookup> &dirs, in SetSearchPaths()
285 void AddSearchPath(const DirectoryLookup &dir, bool isAngled) { in AddSearchPath()
403 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
668 void loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir);
718 using search_dir_iterator = std::vector<DirectoryLookup>::const_iterator;
DDirectoryLookup.h30 class DirectoryLookup {
68 DirectoryLookup(DirectoryEntryRef Dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
75 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
DPreprocessor.h69 class DirectoryLookup; variable
515 const DirectoryLookup *CurDirLookup = nullptr;
543 const DirectoryLookup *TheDirLookup;
551 const DirectoryLookup *TheDirLookup) in IncludeStackInfo()
1327 bool EnterSourceFile(FileID FID, const DirectoryLookup *Dir,
2009 const DirectoryLookup *FromDir, const FileEntry *FromFile,
2010 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath,
2020 const DirectoryLookup *GetCurDirLookup() { return CurDirLookup; } in GetCurDirLookup()
2182 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
2259 const DirectoryLookup *&CurDir, StringRef &Filename,
[all …]
/external/llvm-project/clang/lib/Frontend/
DInitHeaderSearch.cpp40 std::vector<std::pair<IncludeDirGroup, DirectoryLookup> > IncludePath;
42 DirectoryLookup> >::const_iterator path_iterator;
158 std::make_pair(Group, DirectoryLookup(*DE, Type, isFramework))); in AddUnmappedPath()
170 DirectoryLookup(HM, Type, Group == IndexHeaderMap))); in AddUnmappedPath()
470 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates()
479 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
509 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
556 std::vector<DirectoryLookup> SearchList; in Realize()
DFrontendActions.cpp298 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction()
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp41 std::vector<std::pair<IncludeDirGroup, DirectoryLookup> > IncludePath;
43 DirectoryLookup> >::const_iterator path_iterator;
153 std::make_pair(Group, DirectoryLookup(DE, Type, isFramework))); in AddUnmappedPath()
165 DirectoryLookup(HM, Type, Group == IndexHeaderMap))); in AddUnmappedPath()
494 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates()
503 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
533 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
580 std::vector<DirectoryLookup> SearchList; in Realize()
DVerifyDiagnosticConsumer.cpp399 const DirectoryLookup *CurDir; in ParseDirective()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp34 const DirectoryLookup *DirLookup;
36 const DirectoryLookup *DirLookup) in IncludedFile()
61 const DirectoryLookup *DirLookup);
375 const DirectoryLookup *DirLookup) { in Process()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp83 const DirectoryLookup *Lookup, Token &Tok,
330 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok, in HandleHasInclude()
387 const DirectoryLookup *CurDir; in HandleHasInclude()
514 const DirectoryLookup *Lookup = PP.GetCurDirLookup(); in Process()
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp723 const DirectoryLookup *FromDir, const FileEntry *FromFile, in LookupFile()
724 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, in LookupFile()
780 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
781 const DirectoryLookup *TmpFromDir = nullptr; in LookupFile()
1680 const DirectoryLookup *LookupFrom, in HandleIncludeDirective()
1725 const DirectoryLookup *&CurDir, StringRef& Filename, in LookupHeaderIncludeOrImport()
1728 bool &IsMapped, const DirectoryLookup *LookupFrom, in LookupHeaderIncludeOrImport()
1746 DirectoryLookup DL(*DE, SrcMgr::C_User, false); in LookupHeaderIncludeOrImport()
1855 SourceLocation EndLoc, const DirectoryLookup *LookupFrom, in HandleHeaderIncludeOrImport()
1905 const DirectoryLookup *CurDir; in HandleHeaderIncludeOrImport()
[all …]
DHeaderSearch.cpp335 StringRef DirectoryLookup::getName() const { in getName()
376 Optional<FileEntryRef> DirectoryLookup::LookupFile( in LookupFile()
513 Optional<FileEntryRef> DirectoryLookup::DoFrameworkLookup( in DoFrameworkLookup()
756 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile()
1754 void HeaderSearch::loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir) { in loadSubdirectoryModuleMaps()
DPPLexerChange.cpp67 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile()
99 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer()
DPPMacroExpansion.cpp1157 const DirectoryLookup *LookupFrom, in EvaluateHasIncludeCommon()
1226 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon()
1259 const DirectoryLookup *Lookup = PP.GetCurDirLookup(); in EvaluateHasIncludeNext()
/external/llvm-project/clang/unittests/Lex/
DHeaderSearchTest.cpp44 auto DL = DirectoryLookup(*DE, SrcMgr::C_User, /*isFramework=*/false); in addSearchDir()
DPPCallbacksTest.cpp149 DirectoryLookup DL(*DE, SrcMgr::C_User, false); in AddFakeHeader()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousIncludeCheck.cpp96 const DirectoryLookup *CurDir; in InclusionDirective()
/external/clang/lib/Lex/
DPPLexerChange.cpp72 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile()
112 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer()
138 const DirectoryLookup *CurDir) { in EnterSourceFileWithPTH()
DHeaderSearch.cpp243 const char *DirectoryLookup::getName() const { in getName()
273 const FileEntry *DirectoryLookup::LookupFile( in LookupFile()
401 const FileEntry *DirectoryLookup::DoFrameworkLookup( in DoFrameworkLookup()
568 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile()
1407 void HeaderSearch::loadSubdirectoryModuleMaps(DirectoryLookup &SearchDir) { in loadSubdirectoryModuleMaps()
DPPDirectives.cpp742 const DirectoryLookup *FromDir, in LookupFile()
744 const DirectoryLookup *&CurDir, in LookupFile()
802 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
803 const DirectoryLookup *TmpFromDir = nullptr; in LookupFile()
1681 const DirectoryLookup *LookupFrom, in HandleIncludeDirective()
1772 const DirectoryLookup *CurDir; in HandleIncludeDirective()
1799 DirectoryLookup DL(DE, SrcMgr::C_User, false); in HandleIncludeDirective()
2044 const DirectoryLookup *Lookup = CurDirLookup; in HandleIncludeNextDirective()
DPPMacroExpansion.cpp1279 const DirectoryLookup *LookupFrom, in EvaluateHasIncludeCommon()
1376 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon()
1401 const DirectoryLookup *Lookup = PP.GetCurDirLookup(); in EvaluateHasIncludeNext()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp143 DirectoryLookup DL(DE, SrcMgr::C_User, false); in AddFakeHeader()
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp9271 DirectoryLookup::LookupType_t LookupType) { in CodeCompleteIncludedFile()
9274 if (LookupType == DirectoryLookup::LT_Framework) { in CodeCompleteIncludedFile()
9307 if (LookupType == DirectoryLookup::LT_Framework && in CodeCompleteIncludedFile()
9332 auto AddFilesFromDirLookup = [&](const DirectoryLookup &IncludeDir, in CodeCompleteIncludedFile()
9335 case DirectoryLookup::LT_HeaderMap: in CodeCompleteIncludedFile()
9338 case DirectoryLookup::LT_NormalDir: in CodeCompleteIncludedFile()
9340 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile()
9342 case DirectoryLookup::LT_Framework: in CodeCompleteIncludedFile()
9344 DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile()
9359 DirectoryLookup::LT_NormalDir); in CodeCompleteIncludedFile()

12