/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 92 const HeaderSearchOptions &HSOpts); 97 const HeaderSearchOptions &HSOpts); 103 const HeaderSearchOptions &HSOpts); 225 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument 228 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths() 244 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths() 247 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 254 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths() 318 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths() 323 P.resize(HSOpts.ResourceDir.size()); in AddDefaultCIncludePaths() [all …]
|
D | CompilerInstance.cpp | 407 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in createPCHExternalASTSource() local 415 HSOpts.ModulesValidateSystemHeaders, in createPCHExternalASTSource() 876 const HeaderSearchOptions &HSOpts = Invocation->getHeaderSearchOpts(); in compileModuleImpl() local 879 [&HSOpts](const std::pair<std::string, bool> &def) { in compileModuleImpl() 881 return HSOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first) > 0; in compileModuleImpl() 1133 static void pruneModuleCache(const HeaderSearchOptions &HSOpts) { in pruneModuleCache() argument 1136 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache() 1152 if (CurrentTime - TimeStampModTime <= time_t(HSOpts.ModuleCachePruneInterval)) in pruneModuleCache() 1164 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache() 1189 time_t(HSOpts.ModuleCachePruneAfter)) { in pruneModuleCache() [all …]
|
D | FrontendActions.cpp | 481 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 484 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n"; in ReadHeaderSearchOptions() 485 DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes, in ReadHeaderSearchOptions() 487 DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes, in ReadHeaderSearchOptions() 489 DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes, in ReadHeaderSearchOptions() 491 DUMP_BOOLEAN(HSOpts.UseLibcxx, in ReadHeaderSearchOptions()
|
D | ASTUnit.cpp | 693 AST->HSOpts = new HeaderSearchOptions(); in LoadFromASTFile() 695 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 162 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable 260 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, 267 HeaderSearchOptions &getHeaderSearchOpts() const { return *HSOpts; } in getHeaderSearchOpts()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 48 HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, in HeaderSearch() argument 52 : HSOpts(HSOpts), Diags(Diags), FileMgr(SourceMgr.getFileManager()), in HeaderSearch() 129 if (HSOpts->DisableModuleHash) { in getModuleFileName() 570 if (!HSOpts->ModuleMapFiles.empty()) { in LookupFile() 577 I = HSOpts->ModuleMapFiles.begin(), in LookupFile() 578 E = HSOpts->ModuleMapFiles.end(); in LookupFile() 585 HSOpts->ModuleMapFiles.clear(); in LookupFile()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 168 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() local 169 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, in InclusionDirectiveFilenameRange()
|
/external/clang/include/clang/Frontend/ |
D | Utils.h | 58 const HeaderSearchOptions &HSOpts,
|
D | ASTUnit.h | 95 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1176 const HeaderSearchOptions &HSOpts in WriteControlBlock() local 1178 AddString(HSOpts.Sysroot, Record); in WriteControlBlock() 1181 Record.push_back(HSOpts.UserEntries.size()); in WriteControlBlock() 1182 for (unsigned I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) { in WriteControlBlock() 1183 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I]; in WriteControlBlock() 1191 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in WriteControlBlock() 1192 for (unsigned I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) { in WriteControlBlock() 1193 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in WriteControlBlock() 1194 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in WriteControlBlock() 1197 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock() [all …]
|
D | ASTReader.cpp | 107 const HeaderSearchOptions &HSOpts, bool Complain) { in ReadHeaderSearchOptions() argument 108 return First->ReadHeaderSearchOptions(HSOpts, Complain) || in ReadHeaderSearchOptions() 109 Second->ReadHeaderSearchOptions(HSOpts, Complain); in ReadHeaderSearchOptions() 2237 const HeaderSearchOptions &HSOpts = in ReadControlBlock() local 2247 (ValidateSystemInputs || !HSOpts.ModulesValidateOncePerBuildSession || in ReadControlBlock() 2248 F.InputFilesValidationTimestamp <= HSOpts.BuildSessionTimestamp)) { in ReadControlBlock() 2257 (HSOpts.ModulesValidateOncePerBuildSession && F.Kind == MK_Module)) in ReadControlBlock() 4627 HeaderSearchOptions HSOpts; in ParseHeaderSearchOptions() local 4629 HSOpts.Sysroot = ReadString(Record, Idx); in ParseHeaderSearchOptions() 4638 HSOpts.UserEntries.push_back( in ParseHeaderSearchOptions() [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 455 HeaderSearchOptions &HSOpts,
|
D | ASTReader.h | 154 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument 219 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
|