10 #ifndef LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H 11 #define LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H 14 #include "llvm/ADT/CachedHashString.h" 15 #include "llvm/ADT/SetVector.h" 16 #include "llvm/ADT/StringRef.h" 81 : Path(path), Group(group), IsFramework(isFramework),
82 IgnoreSysRoot(ignoreSysRoot) {}
94 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {}
152 unsigned ModuleCachePruneInterval = 7 * 24 * 60 * 60;
161 unsigned ModuleCachePruneAfter = 31 * 24 * 60 * 60;
167 uint64_t BuildSessionTimestamp = 0;
207 : Sysroot(_Sysroot), ModuleFormat(
"raw"), DisableModuleHash(
false),
208 ImplicitModuleMaps(
false), ModuleMapFileHomeIsCwd(
false),
209 UseBuiltinIncludes(
true), UseStandardSystemIncludes(
true),
211 ModulesValidateOncePerBuildSession(
false),
212 ModulesValidateSystemHeaders(
false), UseDebugInfo(
false),
213 ModulesValidateDiagnosticOptions(
true), ModulesHashContent(
false) {}
217 bool IsFramework,
bool IgnoreSysRoot) {
218 UserEntries.emplace_back(Path, Group, IsFramework, IgnoreSysRoot);
225 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader);
229 VFSOverlayFiles.push_back(Name);
233 PrebuiltModulePaths.push_back(Name);
239 #endif // LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H Paths for '#include <>' added by '-I'.
Like System, but headers are implicitly wrapped in extern "C".
Like System, but only used for C++.
Like System, but only used for ObjC++.
Like System, but searched after the system directories.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
IncludeDirGroup
IncludeDirGroup - Identifies the group an include Entry belongs to, representing its relative positiv...
Like System, but only used for ObjC.
'#include ""' paths, added by 'gcc -iquote'.
Like Angled, but marks system directories.
Dataflow Directional Tag Classes.
Like System, but only used for C.
Like Angled, but marks header maps used when building frameworks.