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()
246 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths()
249 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
256 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths()
277 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
328 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
[all …]
DFrontendActions.cpp502 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
506 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n"; in ReadHeaderSearchOptions()
508 DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes, in ReadHeaderSearchOptions()
510 DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes, in ReadHeaderSearchOptions()
512 DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes, in ReadHeaderSearchOptions()
514 DUMP_BOOLEAN(HSOpts.UseLibcxx, in ReadHeaderSearchOptions()
DCompilerInstance.cpp409 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in createPCHExternalASTSource() local
415 HSOpts.ModulesValidateSystemHeaders, UseGlobalModuleIndex)); in createPCHExternalASTSource()
881 const HeaderSearchOptions &HSOpts = Invocation->getHeaderSearchOpts(); in compileModuleImpl() local
884 [&HSOpts](const std::pair<std::string, bool> &def) { in compileModuleImpl()
886 return HSOpts.ModulesIgnoreMacros.count(MacroDef.split('=').first) > 0; in compileModuleImpl()
1170 static void pruneModuleCache(const HeaderSearchOptions &HSOpts) { in pruneModuleCache() argument
1173 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1189 if (CurrentTime - TimeStampModTime <= time_t(HSOpts.ModuleCachePruneInterval)) in pruneModuleCache()
1201 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache()
1225 time_t(HSOpts.ModuleCachePruneAfter)) { in pruneModuleCache()
[all …]
DASTUnit.cpp675 AST->HSOpts = new HeaderSearchOptions(); in LoadFromASTFile()
677 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
/external/clang/include/clang/Lex/
DHeaderSearch.h162 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; variable
264 HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts,
271 HeaderSearchOptions &getHeaderSearchOpts() const { return *HSOpts; } in getHeaderSearchOpts()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp164 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() local
165 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/Lex/
DHeaderSearch.cpp48 HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts, in HeaderSearch() argument
52 : HSOpts(HSOpts), Diags(Diags), FileMgr(SourceMgr.getFileManager()), in HeaderSearch()
130 if (HSOpts->DisableModuleHash) { in getModuleFileName()
/external/clang/lib/Serialization/
DASTReader.cpp113 const HeaderSearchOptions &HSOpts, StringRef SpecificModuleCachePath, in ReadHeaderSearchOptions() argument
115 return First->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
117 Second->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
601 static bool checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in checkHeaderSearchOptions() argument
618 bool PCHValidator::ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
621 return checkHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
2327 const HeaderSearchOptions &HSOpts = in ReadControlBlock() local
2341 (HSOpts.ModulesValidateOncePerBuildSession && in ReadControlBlock()
2342 F.InputFilesValidationTimestamp <= HSOpts.BuildSessionTimestamp && in ReadControlBlock()
4241 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
[all …]
DASTWriter.cpp1328 const HeaderSearchOptions &HSOpts in WriteControlBlock() local
1330 AddString(HSOpts.Sysroot, Record); in WriteControlBlock()
1333 Record.push_back(HSOpts.UserEntries.size()); in WriteControlBlock()
1334 for (unsigned I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) { in WriteControlBlock()
1335 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I]; in WriteControlBlock()
1343 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in WriteControlBlock()
1344 for (unsigned I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) { in WriteControlBlock()
1345 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in WriteControlBlock()
1346 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in WriteControlBlock()
1349 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock()
[all …]
/external/clang/include/clang/Serialization/
DASTReader.h155 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
233 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
266 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
DASTWriter.h489 HeaderSearchOptions &HSOpts,