9#ifndef LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
10#define LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
13#include "llvm/ADT/CachedHashString.h"
14#include "llvm/ADT/SetVector.h"
15#include "llvm/ADT/StringRef.h"
16#include "llvm/Support/HashBuilder.h"
69 LLVM_PREFERRED_TYPE(
bool)
75 LLVM_PREFERRED_TYPE(
bool)
78 Entry(StringRef path,
frontend::IncludeDirGroup group,
bool isFramework,
129 LLVM_PREFERRED_TYPE(
bool)
134 LLVM_PREFERRED_TYPE(
bool)
144 LLVM_PREFERRED_TYPE(
bool)
151 LLVM_PREFERRED_TYPE(
bool)
156 LLVM_PREFERRED_TYPE(
bool)
194 LLVM_PREFERRED_TYPE(
bool)
198 LLVM_PREFERRED_TYPE(
bool)
202 LLVM_PREFERRED_TYPE(
bool)
206 LLVM_PREFERRED_TYPE(
bool)
210 LLVM_PREFERRED_TYPE(
bool)
216 LLVM_PREFERRED_TYPE(
bool)
220 LLVM_PREFERRED_TYPE(
bool)
225 LLVM_PREFERRED_TYPE(
bool)
230 LLVM_PREFERRED_TYPE(
bool)
235 LLVM_PREFERRED_TYPE(
bool)
239 LLVM_PREFERRED_TYPE(
bool)
243 LLVM_PREFERRED_TYPE(
bool)
246 LLVM_PREFERRED_TYPE(
bool)
252 LLVM_PREFERRED_TYPE(
bool)
257 LLVM_PREFERRED_TYPE(
bool)
262 LLVM_PREFERRED_TYPE(
bool)
266 LLVM_PREFERRED_TYPE(
bool)
269 LLVM_PREFERRED_TYPE(
bool)
273 LLVM_PREFERRED_TYPE(
bool)
281 LLVM_PREFERRED_TYPE(
bool)
285 LLVM_PREFERRED_TYPE(
bool)
291 LLVM_PREFERRED_TYPE(
bool)
296 LLVM_PREFERRED_TYPE(
bool)
322 bool IsFramework,
bool IgnoreSysRoot) {
323 UserEntries.emplace_back(Path, Group, IsFramework, IgnoreSysRoot);
342template <
typename HasherT, llvm::endianness Endianness>
343inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
348template <
typename HasherT, llvm::endianness Endianness>
349inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
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...
@ CXXSystem
Like System, but only used for C++.
@ Angled
Paths for '#include <>' added by '-I'.
@ CSystem
Like System, but only used for C.
@ System
Like Angled, but marks system directories.
@ Quoted
'#include ""' paths, added by 'gcc -iquote'.
@ ExternCSystem
Like System, but headers are implicitly wrapped in extern "C".
@ ObjCSystem
Like System, but only used for ObjC.
@ ObjCXXSystem
Like System, but only used for ObjC++.
@ After
Like System, but searched after the system directories.
Top level wrappers for InstallAPI frontend operations.
void addHash(llvm::HashBuilder< HasherT, Endianness > &HBuilder, const HeaderSearchOptions::Entry &E)
Diagnostic wrappers for TextAPI types for error reporting.