13 #ifndef LLVM_CLANG_LEX_HEADERMAP_H 14 #define LLVM_CLANG_LEX_HEADERMAP_H 18 #include "llvm/ADT/Optional.h" 19 #include "llvm/Support/Compiler.h" 20 #include "llvm/Support/MemoryBuffer.h" 30 std::unique_ptr<const llvm::MemoryBuffer> FileBuffer;
34 HeaderMapImpl(std::unique_ptr<const llvm::MemoryBuffer> File,
bool NeedsBSwap)
35 : FileBuffer(
std::move(File)), NeedsBSwap(NeedsBSwap) {}
38 static bool checkHeader(
const llvm::MemoryBuffer &File,
bool &NeedsByteSwap);
52 unsigned getEndianAdjustedWord(
unsigned X)
const;
66 HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File,
bool BSwap)
Implements support for file system lookup, file system caching, and directory search management...
Defines the clang::FileManager interface and associated types.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Cached information about one file (either on disk or in the virtual file system). ...
Dataflow Directional Tag Classes.
X
Add a minimal nested name specifier fixit hint to allow lookup of a tag name from an outer enclosing ...
static OMPLinearClause * Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef< Expr *> VL, ArrayRef< Expr *> PL, ArrayRef< Expr *> IL, Expr *Step, Expr *CalcStep, Stmt *PreInit, Expr *PostUpdate)
Creates clause with a list of variables VL and a linear step Step.