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)
234 LLVM_PREFERRED_TYPE(
bool)
238 LLVM_PREFERRED_TYPE(
bool)
241 LLVM_PREFERRED_TYPE(
bool)
247 LLVM_PREFERRED_TYPE(
bool)
252 LLVM_PREFERRED_TYPE(
bool)
257 LLVM_PREFERRED_TYPE(
bool)
261 LLVM_PREFERRED_TYPE(
bool)
264 LLVM_PREFERRED_TYPE(
bool)
268 LLVM_PREFERRED_TYPE(
bool)
276 LLVM_PREFERRED_TYPE(
bool)
280 LLVM_PREFERRED_TYPE(
bool)
286 LLVM_PREFERRED_TYPE(
bool)
291 LLVM_PREFERRED_TYPE(
bool)
316 bool IsFramework,
bool IgnoreSysRoot) {
317 UserEntries.emplace_back(Path, Group, IsFramework, IgnoreSysRoot);
336template <
typename HasherT, llvm::endianness Endianness>
337inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
342template <
typename HasherT, llvm::endianness Endianness>
343inline 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.