/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 87 const HeaderSearchOptions &HSOpts); 92 const HeaderSearchOptions &HSOpts); 98 const HeaderSearchOptions &HSOpts); 207 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument 210 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths() 233 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths() 236 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 243 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths() 262 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 337 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() [all …]
|
D | CompilerInstance.cpp | 424 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in createPCHExternalASTSource() local 430 HSOpts.ModulesValidateSystemHeaders, UseGlobalModuleIndex)); in createPCHExternalASTSource() 907 const HeaderSearchOptions &HSOpts = Invocation->getHeaderSearchOpts(); in compileModuleImpl() local 910 [&HSOpts](const std::pair<std::string, bool> &def) { in compileModuleImpl() 912 return HSOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first) > 0; in compileModuleImpl() 1173 static void pruneModuleCache(const HeaderSearchOptions &HSOpts) { in pruneModuleCache() argument 1176 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache() 1193 if (CurrentTime - TimeStampModTime <= time_t(HSOpts.ModuleCachePruneInterval)) in pruneModuleCache() 1205 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache() 1229 time_t(HSOpts.ModuleCachePruneAfter)) { in pruneModuleCache() [all …]
|
D | FrontendActions.cpp | 533 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 537 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n"; in ReadHeaderSearchOptions() 539 DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes, in ReadHeaderSearchOptions() 541 DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes, in ReadHeaderSearchOptions() 543 DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes, in ReadHeaderSearchOptions() 545 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(HSOpts), Diags(Diags), FileMgr(SourceMgr.getFileManager()), in HeaderSearch() 138 if (HSOpts->DisableModuleHash) { in getModuleFileName() 157 HSOpts->ModuleFormat, HSOpts->UseDebugInfo); in getModuleFileName() 169 if (Module || !AllowSearch || !HSOpts->ImplicitModuleMaps) in lookupModule() 1095 if (!HSOpts->ImplicitModuleMaps) in hasModuleMap() 1259 if (!HSOpts->ImplicitModuleMaps) in lookupModuleMapFile() 1286 if (HSOpts->ImplicitModuleMaps) in loadFrameworkModule() 1336 if (HSOpts->ImplicitModuleMaps) { in collectAllModules() 1387 if (!HSOpts->ImplicitModuleMaps) in loadTopLevelSystemModules() [all …]
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 150 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable 253 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, 260 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 | 59 const HeaderSearchOptions &HSOpts,
|
D | ASTUnit.h | 97 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1372 const HeaderSearchOptions &HSOpts in WriteControlBlock() local 1374 AddString(HSOpts.Sysroot, Record); in WriteControlBlock() 1377 Record.push_back(HSOpts.UserEntries.size()); in WriteControlBlock() 1378 for (unsigned I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) { in WriteControlBlock() 1379 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I]; in WriteControlBlock() 1387 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in WriteControlBlock() 1388 for (unsigned I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) { in WriteControlBlock() 1389 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in WriteControlBlock() 1390 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in WriteControlBlock() 1393 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock() [all …]
|
D | ASTReader.cpp | 115 const HeaderSearchOptions &HSOpts, StringRef SpecificModuleCachePath, in ReadHeaderSearchOptions() argument 117 return First->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 119 Second->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 619 static bool checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in checkHeaderSearchOptions() argument 636 bool PCHValidator::ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 639 return checkHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions() 2176 const HeaderSearchOptions &HSOpts = in ReadControlBlock() local 2191 (HSOpts.ModulesValidateOncePerBuildSession && in ReadControlBlock() 2192 F.InputFilesValidationTimestamp <= HSOpts.BuildSessionTimestamp && in ReadControlBlock() 4173 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 159 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 242 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, 278 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
|
D | ASTWriter.h | 512 void WriteInputFiles(SourceManager &SourceMgr, HeaderSearchOptions &HSOpts,
|