10#include "llvm/Support/Path.h"
15#define CODEGENOPT(Name, Bits, Default, Compatibility) Name = Default;
16#define ENUM_CODEGENOPT(Name, Type, Bits, Default, Compatibility) \
18#include "clang/Basic/CodeGenOptions.def"
28#define CODEGENOPT(Name, Bits, Default, Compatibility) \
29 if constexpr (CK::Compatibility == CK::Benign) \
31#define ENUM_CODEGENOPT(Name, Type, Bits, Default, Compatibility) \
32 if constexpr (CK::Compatibility == CK::Benign) \
34#include "clang/Basic/CodeGenOptions.def"
38 if (ModuleFormat ==
"raw" && !DebugTypeExtRefs) {
39#define DEBUGOPT(Name, Bits, Default, Compatibility) \
40 if constexpr (CK::Compatibility != CK::Benign) \
42#define VALUE_DEBUGOPT(Name, Bits, Default, Compatibility) \
43 if constexpr (CK::Compatibility != CK::Benign) \
45#define ENUM_DEBUGOPT(Name, Type, Bits, Default, Compatibility) \
46 if constexpr (CK::Compatibility != CK::Benign) \
48#include "clang/Basic/DebugOptions.def"
58 if (llvm::sys::path::replace_path_prefix(P, From, To))
CompatibilityKind
For ASTs produced with different option value, signifies their level of compatibility.
llvm::SmallVector< std::pair< std::string, std::string >, 0 > DebugPrefixMap
llvm::Reloc::Model RelocationModel
The name of the relocation model to use.
std::string remapDebugPathPrefix(StringRef Path) const
Remap specified path prefix using provided DebugPrefixMap map.
void resetNonModularOptions(StringRef ModuleFormat)
Reset all of the options that are not considered when building a module.
Top level wrappers for InstallAPI frontend operations.