Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DInitHeaderSearch.cpp93 const HeaderSearchOptions &HSOpts);
98 const HeaderSearchOptions &HSOpts);
107 const HeaderSearchOptions &HSOpts);
226 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument
232 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths()
253 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths()
256 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
263 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths()
279 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
358 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
[all …]
H A DHeaderSearch.cpp82 HeaderSearch::HeaderSearch(std::shared_ptr<HeaderSearchOptions> HSOpts, in HeaderSearch() argument
86 : HSOpts(std::move(HSOpts)), Diags(Diags), in HeaderSearch()
132 std::vector<bool> UserEntryUsage(HSOpts->UserEntries.size()); in computeUserEntryUsage()
186 auto i(HSOpts->PrebuiltModuleFiles.find(ModuleName)); in getPrebuiltModuleFileName()
187 if (i != HSOpts->PrebuiltModuleFiles.end()) in getPrebuiltModuleFileName()
190 if (FileMapOnly || HSOpts->PrebuiltModulePaths.empty()) in getPrebuiltModuleFileName()
195 for (const std::string &Dir : HSOpts->PrebuiltModulePaths) { in getPrebuiltModuleFileName()
219 StringRef ModuleCacheHash = HSOpts->DisableModuleHash ? "" : getModuleHash(); in getPrebuiltImplicitModuleFileName()
220 for (const std::string &Dir : HSOpts->PrebuiltModulePaths) { in getPrebuiltImplicitModuleFileName()
249 if (HSOpts->DisableModuleHash) { in getCachedModuleFileNameImpl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCompilerInstance.cpp642 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in createPCHExternalASTSource() local
648 HSOpts.ModulesValidateSystemHeaders, HSOpts.ValidateASTInputFilesContent, in createPCHExternalASTSource()
1168 HeaderSearchOptions &HSOpts = Invocation->getHeaderSearchOpts(); local
1170 [&HSOpts](const std::pair<std::string, bool> &def) { in __anonaf75d4900602()
1172 return HSOpts.ModulesIgnoreMacros.contains( in __anonaf75d4900602()
1203 HSOpts.ModulesHashContent = true;
1576 static void pruneModuleCache(const HeaderSearchOptions &HSOpts) { in pruneModuleCache() argument
1579 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1597 if (CurrentTime - TimeStampModTime <= time_t(HSOpts.ModuleCachePruneInterval)) in pruneModuleCache()
1609 llvm::sys::path::native(HSOpts.ModuleCachePath, ModuleCachePathNative); in pruneModuleCache()
[all …]
H A DASTUnit.cpp520 HeaderSearchOptions &HSOpts; member in __anon539022680211::ASTInfoCollector
531 HeaderSearchOptions &HSOpts, PreprocessorOptions &PPOpts, in ASTInfoCollector() argument
535 : PP(PP), Context(Context), HSOpts(HSOpts), PPOpts(PPOpts), in ASTInfoCollector()
551 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
555 llvm::SaveAndRestore X(this->HSOpts.UserEntries); in ReadHeaderSearchOptions()
556 llvm::SaveAndRestore Y(this->HSOpts.SystemHeaderPrefixes); in ReadHeaderSearchOptions()
557 llvm::SaveAndRestore Z(this->HSOpts.VFSOverlayFiles); in ReadHeaderSearchOptions()
559 this->HSOpts = HSOpts; in ReadHeaderSearchOptions()
564 bool ReadHeaderSearchPaths(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchPaths() argument
569 this->HSOpts.UserEntries = HSOpts.UserEntries; in ReadHeaderSearchPaths()
[all …]
H A DFrontendActions.cpp642 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
646 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n"; in ReadHeaderSearchOptions()
647 Out.indent(4) << "Resource dir [ -resource-dir=]: '" << HSOpts.ResourceDir << "'\n"; in ReadHeaderSearchOptions()
649 DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes, in ReadHeaderSearchOptions()
651 DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes, in ReadHeaderSearchOptions()
653 DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes, in ReadHeaderSearchOptions()
655 DUMP_BOOLEAN(HSOpts.UseLibcxx, in ReadHeaderSearchOptions()
804 HeaderSearchOptions &HSOpts = PP.getHeaderSearchInfo().getHeaderSearchOpts(); in ExecuteAction() local
903 HSOpts.ModulesValidateDiagnosticOptions); in ExecuteAction()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DHeaderSearch.h230 std::shared_ptr<HeaderSearchOptions> HSOpts; variable
346 HeaderSearch(std::shared_ptr<HeaderSearchOptions> HSOpts,
354 HeaderSearchOptions &getHeaderSearchOpts() const { return *HSOpts; } in getHeaderSearchOpts()
935 const HeaderSearchOptions &HSOpts,
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DASTUnit.h118 std::shared_ptr<HeaderSearchOptions> HSOpts; variable
466 assert(HSOpts && "ASTUnit does not have header search options"); in getHeaderSearchOpts()
467 return *HSOpts; in getHeaderSearchOpts()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DBackendUtil.cpp121 const HeaderSearchOptions &HSOpts; member in __anonf4fb55db0111::EmitAssemblyHelper
191 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), in EmitAssemblyHelper()
340 const HeaderSearchOptions &HSOpts) { in initTargetOptions() argument
484 for (const auto &Entry : HSOpts.UserEntries) in initTargetOptions()
490 Entry.IgnoreSysRoot ? Entry.Path : HSOpts.Sysroot + Entry.Path); in initTargetOptions()
574 HSOpts)) in CreateTargetMachine()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp1182 const HeaderSearchOptions &HSOpts = in writeUnhashedControlBlock() local
1186 Record.push_back(HSOpts.UserEntries.size()); in writeUnhashedControlBlock()
1187 for (unsigned I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) { in writeUnhashedControlBlock()
1188 const HeaderSearchOptions::Entry &Entry = HSOpts.UserEntries[I]; in writeUnhashedControlBlock()
1196 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in writeUnhashedControlBlock()
1197 for (unsigned I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) { in writeUnhashedControlBlock()
1198 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in writeUnhashedControlBlock()
1199 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in writeUnhashedControlBlock()
1203 Record.push_back(HSOpts.VFSOverlayFiles.size()); in writeUnhashedControlBlock()
1204 for (StringRef VFSOverlayFile : HSOpts.VFSOverlayFiles) in writeUnhashedControlBlock()
[all …]
H A DASTReader.cpp202 const HeaderSearchOptions &HSOpts, StringRef SpecificModuleCachePath, in ReadHeaderSearchOptions() argument
204 return First->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
206 Second->ReadHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
809 static bool checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in checkHeaderSearchOptions() argument
828 bool PCHValidator::ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
831 return checkHeaderSearchOptions(HSOpts, SpecificModuleCachePath, in ReadHeaderSearchOptions()
2668 const HeaderSearchOptions &HSOpts = in ReadControlBlock() local
2683 if (HSOpts.ModulesValidateOncePerBuildSession && in ReadControlBlock()
2684 F.InputFilesValidationTimestamp > HSOpts.BuildSessionTimestamp && in ReadControlBlock()
4688 const HeaderSearchOptions &HSOpts = in readUnhashedControlBlock() local
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTReader.h173 virtual bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchOptions() argument
188 virtual bool ReadHeaderSearchPaths(const HeaderSearchOptions &HSOpts, in ReadHeaderSearchPaths() argument
273 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
309 bool ReadHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
H A DASTWriter.h500 void WriteInputFiles(SourceManager &SourceMgr, HeaderSearchOptions &HSOpts);
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1250 auto HSOpts = std::make_shared<clang::HeaderSearchOptions>(); in GetOrCreateClangModule() local
1252 HSOpts, *m_source_manager_up, *m_diagnostics_engine_up, in GetOrCreateClangModule()