9#ifndef LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
10#define LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
13#include "llvm/ADT/CachedHashString.h"
14#include "llvm/ADT/Hashing.h"
15#include "llvm/ADT/SetVector.h"
16#include "llvm/ADT/StringRef.h"
17#include "llvm/Support/HashBuilder.h"
73 LLVM_PREFERRED_TYPE(
bool)
79 LLVM_PREFERRED_TYPE(
bool)
82 Entry(StringRef path, frontend::IncludeDirGroup group,
bool isFramework,
133 LLVM_PREFERRED_TYPE(
bool)
138 LLVM_PREFERRED_TYPE(
bool)
148 LLVM_PREFERRED_TYPE(
bool)
155 LLVM_PREFERRED_TYPE(
bool)
160 LLVM_PREFERRED_TYPE(
bool)
195 LLVM_PREFERRED_TYPE(
bool)
199 LLVM_PREFERRED_TYPE(
bool)
203 LLVM_PREFERRED_TYPE(
bool)
207 LLVM_PREFERRED_TYPE(
bool)
211 LLVM_PREFERRED_TYPE(
bool)
217 LLVM_PREFERRED_TYPE(
bool)
221 LLVM_PREFERRED_TYPE(
bool)
226 LLVM_PREFERRED_TYPE(
bool)
230 LLVM_PREFERRED_TYPE(
bool)
234 LLVM_PREFERRED_TYPE(
bool)
237 LLVM_PREFERRED_TYPE(
bool)
242 LLVM_PREFERRED_TYPE(
bool)
247 LLVM_PREFERRED_TYPE(
bool)
252 LLVM_PREFERRED_TYPE(
bool)
255 LLVM_PREFERRED_TYPE(
bool)
263 LLVM_PREFERRED_TYPE(
bool)
284 bool IsFramework,
bool IgnoreSysRoot) {
285 UserEntries.emplace_back(Path, Group, IsFramework, IgnoreSysRoot);
308template <
typename HasherT, llvm::endianness Endianness>
309inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
314inline llvm::hash_code
319template <
typename HasherT, llvm::endianness Endianness>
320inline 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.
@ IndexHeaderMap
Like Angled, but marks header maps used when building frameworks.
@ ObjCXXSystem
Like System, but only used for ObjC++.
@ After
Like System, but searched after the system directories.
void addHash(llvm::HashBuilder< HasherT, Endianness > &HBuilder, const HeaderSearchOptions::Entry &E)
llvm::hash_code hash_value(const CustomizableOptional< T > &O)
YAML serialization mapping.