/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 160 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;
|
D | DirectoryLookup.h | 32 class DirectoryLookup { 68 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function 78 DirectoryLookup(const HeaderMap *map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() function
|
D | Preprocessor.h | 57 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/ |
D | HeaderSearch.h | 159 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;
|
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
|
D | Preprocessor.h | 69 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/ |
D | InitHeaderSearch.cpp | 40 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()
|
D | FrontendActions.cpp | 298 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction()
|
/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 41 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()
|
D | VerifyDiagnosticConsumer.cpp | 399 const DirectoryLookup *CurDir; in ParseDirective()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 34 const DirectoryLookup *DirLookup; 36 const DirectoryLookup *DirLookup) in IncludedFile() 61 const DirectoryLookup *DirLookup); 375 const DirectoryLookup *DirLookup) { in Process()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 83 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/ |
D | PPDirectives.cpp | 723 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 …]
|
D | HeaderSearch.cpp | 335 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()
|
D | PPLexerChange.cpp | 67 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() 99 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer()
|
D | PPMacroExpansion.cpp | 1157 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/ |
D | HeaderSearchTest.cpp | 44 auto DL = DirectoryLookup(*DE, SrcMgr::C_User, /*isFramework=*/false); in addSearchDir()
|
D | PPCallbacksTest.cpp | 149 DirectoryLookup DL(*DE, SrcMgr::C_User, false); in AddFakeHeader()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 96 const DirectoryLookup *CurDir; in InclusionDirective()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 72 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() 112 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer() 138 const DirectoryLookup *CurDir) { in EnterSourceFileWithPTH()
|
D | HeaderSearch.cpp | 243 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()
|
D | PPDirectives.cpp | 742 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()
|
D | PPMacroExpansion.cpp | 1279 const DirectoryLookup *LookupFrom, in EvaluateHasIncludeCommon() 1376 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() 1401 const DirectoryLookup *Lookup = PP.GetCurDirLookup(); in EvaluateHasIncludeNext()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 143 DirectoryLookup DL(DE, SrcMgr::C_User, false); in AddFakeHeader()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 9271 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()
|