9#ifndef LLVM_CLANG_LEX_PREPROCESSOROPTIONS_H_
10#define LLVM_CLANG_LEX_PREPROCESSOROPTIONS_H_
16#include "llvm/ADT/StringRef.h"
17#include "llvm/ADT/StringSet.h"
68 std::vector<std::pair<std::string,
bool>>
Macros;
201 std::function<std::optional<ArrayRef<dependency_directives_scan::Directive>>(
218 Macros.emplace_back(std::string(Name),
false);
221 Macros.emplace_back(std::string(Name),
true);
225 RemappedFiles.emplace_back(std::string(From), std::string(To));
Provides LLVM's BitmaskEnum facility to enumeration types declared in namespace clang.
@ LLVM_MARK_AS_BITMASK_ENUM
This is the interface for scanning header and source files to get the minimum necessary preprocessor ...
Defines interfaces for clang::FileEntry and clang::FileEntryRef.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
A reference to a FileEntry that includes the name of the file as it was accessed by the FileManager's...
Describes a module or submodule.
PreprocessorOptions - This class is used for passing the various options used in preprocessor initial...
std::vector< std::pair< std::string, std::string > > RemappedFiles
The set of file remappings, which take existing files on the system (the first part of each pair) and...
bool PCHWithHdrStopCreate
When true, we are creating a PCH or creating the PCH object while expecting a #pragma hdrstop to sepa...
bool DisablePragmaDebugCrash
Prevents intended crashes when using #pragma clang __debug. For testing.