14 #include "llvm/ADT/StringRef.h"
16 using namespace clang;
19 #define LANGOPT(Name, Bits, Default, Description) Name = Default;
20 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default);
21 #include "clang/Basic/LangOptions.def"
25 #define LANGOPT(Name, Bits, Default, Description)
26 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default;
27 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
29 #include "clang/Basic/LangOptions.def"
40 StringRef FuncName(Name);
SanitizerSet Sanitize
Set of enabled sanitizers.
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
bool isNoBuiltinFunc(const char *Name) const
Is this a libc/libm function that is no longer recognized as a builtin because a -fno-builtin-* optio...
void resetNonModularOptions()
Reset all of the options that are not considered when building a module.
std::string CurrentModule
The name of the current module, of which the main source file is a part.
void clear()
Disable all sanitizers.
Defines the clang::LangOptions interface.
std::vector< std::string > NoBuiltinFuncs
A list of all -fno-builtin-* function names (e.g., memset).
std::vector< std::string > SanitizerBlacklistFiles
Paths to blacklist files specifying which objects (files, functions, variables) should not be instrum...