Home
last modified time | relevance | path

Searched refs:HSOpts (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/Frontend/
DInitHeaderSearch.cpp92 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 …]
DCompilerInstance.cpp407 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 …]
DFrontendActions.cpp481 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()
DASTUnit.cpp693 AST->HSOpts = new HeaderSearchOptions(); in LoadFromASTFile()
695 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
/external/clang/include/clang/Lex/
DHeaderSearch.h162 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
260 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts,
267 HeaderSearchOptions &getHeaderSearchOpts() const { return *HSOpts; } in getHeaderSearchOpts()
/external/clang/lib/Lex/
DHeaderSearch.cpp48 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/
DPPCallbacksTest.cpp168 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() local
169 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, in InclusionDirectiveFilenameRange()
/external/clang/include/clang/Frontend/
DUtils.h58 const HeaderSearchOptions &HSOpts,
DASTUnit.h95 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
/external/clang/lib/Serialization/
DASTWriter.cpp1176 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 …]
DASTReader.cpp107 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/
DASTWriter.h455 HeaderSearchOptions &HSOpts,
DASTReader.h154 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
219 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,