/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 88 const HeaderSearchOptions &HSOpts); 93 const HeaderSearchOptions &HSOpts); 99 const HeaderSearchOptions &HSOpts); 208 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument 211 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths() 234 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths() 237 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 244 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths() 263 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 339 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() [all …]
|
D | CompilerInstance.cpp | 430 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in createPCHExternalASTSource() local 436 HSOpts.ModulesValidateSystemHeaders, UseGlobalModuleIndex)); in createPCHExternalASTSource() 943 const HeaderSearchOptions &HSOpts = Invocation->getHeaderSearchOpts(); in compileModuleImpl() local 946 [&HSOpts](const std::pair<std::string, bool> &def) { in compileModuleImpl() 948 return HSOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first) > 0; in compileModuleImpl() 1209 static void pruneModuleCache(const HeaderSearchOptions &HSOpts) { in pruneModuleCache() argument 1212 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache() 1229 if (CurrentTime - TimeStampModTime <= time_t(HSOpts.ModuleCachePruneInterval)) in pruneModuleCache() 1241 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache() 1265 time_t(HSOpts.ModuleCachePruneAfter)) { in pruneModuleCache() [all …]
|
D | FrontendActions.cpp | 535 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 539 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n"; in ReadHeaderSearchOptions() 541 DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes, in ReadHeaderSearchOptions() 543 DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes, in ReadHeaderSearchOptions() 545 DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes, in ReadHeaderSearchOptions() 547 DUMP_BOOLEAN(HSOpts.UseLibcxx, in ReadHeaderSearchOptions()
|
D | ASTUnit.cpp | 679 AST->HSOpts = new HeaderSearchOptions(); in LoadFromASTFile() 680 AST->HSOpts->ModuleFormat = PCHContainerRdr.getFormat(); in LoadFromASTFile() 681 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 55 HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, in HeaderSearch() argument 59 : HSOpts(std::move(HSOpts)), Diags(Diags), in HeaderSearch() 138 if (HSOpts->DisableModuleHash) { in getModuleFileName() 168 if (Module || !AllowSearch || !HSOpts->ImplicitModuleMaps) in lookupModule() 1097 if (!HSOpts->ImplicitModuleMaps) in hasModuleMap() 1261 if (!HSOpts->ImplicitModuleMaps) in lookupModuleMapFile() 1288 if (HSOpts->ImplicitModuleMaps) in loadFrameworkModule() 1338 if (HSOpts->ImplicitModuleMaps) { in collectAllModules() 1390 if (!HSOpts->ImplicitModuleMaps) in loadTopLevelSystemModules() 1408 assert(HSOpts->ImplicitModuleMaps && in loadSubdirectoryModuleMaps()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 150 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable 251 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, 258 HeaderSearchOptions &getHeaderSearchOpts() const { return *HSOpts; } in getHeaderSearchOpts()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 165 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() local 166 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, in InclusionDirectiveFilenameRange()
|
/external/clang/include/clang/Frontend/ |
D | Utils.h | 60 const HeaderSearchOptions &HSOpts,
|
D | ASTUnit.h | 97 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1429 const HeaderSearchOptions &HSOpts in WriteControlBlock() local 1431 AddString(HSOpts.Sysroot, Record); in WriteControlBlock() 1434 Record.push_back(HSOpts.UserEntries.size()); in WriteControlBlock() 1435 for (unsigned I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) { in WriteControlBlock() 1436 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I]; in WriteControlBlock() 1444 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in WriteControlBlock() 1445 for (unsigned I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) { in WriteControlBlock() 1446 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in WriteControlBlock() 1447 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in WriteControlBlock() 1450 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock() [all …]
|
D | ASTReader.cpp | 116 const HeaderSearchOptions &HSOpts, StringRef SpecificModuleCachePath, in ReadHeaderSearchOptions() argument 118 return First->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 120 Second->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 625 static bool checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in checkHeaderSearchOptions() argument 642 bool PCHValidator::ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 645 return checkHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 2190 const HeaderSearchOptions &HSOpts = in ReadControlBlock() local 2205 (HSOpts.ModulesValidateOncePerBuildSession && in ReadControlBlock() 2206 F.InputFilesValidationTimestamp <= HSOpts.BuildSessionTimestamp && in ReadControlBlock() 4178 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 160 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 243 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, 279 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
|
D | ASTWriter.h | 429 void WriteInputFiles(SourceManager &SourceMgr, HeaderSearchOptions &HSOpts,
|