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"
72 LLVM_PREFERRED_TYPE(
bool)
78 LLVM_PREFERRED_TYPE(
bool)
81 Entry(StringRef path, frontend::IncludeDirGroup group,
bool isFramework,
132 LLVM_PREFERRED_TYPE(
bool)
137 LLVM_PREFERRED_TYPE(
bool)
147 LLVM_PREFERRED_TYPE(
bool)
154 LLVM_PREFERRED_TYPE(
bool)
159 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)
229 LLVM_PREFERRED_TYPE(
bool)
233 LLVM_PREFERRED_TYPE(
bool)
236 LLVM_PREFERRED_TYPE(
bool)
241 LLVM_PREFERRED_TYPE(
bool)
246 LLVM_PREFERRED_TYPE(
bool)
251 LLVM_PREFERRED_TYPE(
bool)
255 LLVM_PREFERRED_TYPE(
bool)
258 LLVM_PREFERRED_TYPE(
bool)
266 LLVM_PREFERRED_TYPE(
bool)
270 LLVM_PREFERRED_TYPE(
bool)
276 LLVM_PREFERRED_TYPE(
bool)
299 bool IsFramework,
bool IgnoreSysRoot) {
319template <
typename HasherT, llvm::endianness Endianness>
320inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
322 HBuilder.add(
E.Path,
E.Group,
E.IsFramework,
E.IgnoreSysRoot);
325template <
typename HasherT, llvm::endianness Endianness>
326inline 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.
The JSON file list parser is used to communicate input to InstallAPI.
void addHash(llvm::HashBuilder< HasherT, Endianness > &HBuilder, const HeaderSearchOptions::Entry &E)
Diagnostic wrappers for TextAPI types for error reporting.