9 #ifndef LLVM_CLANG_BASIC_DIAGNOSTICOPTIONS_H 10 #define LLVM_CLANG_BASIC_DIAGNOSTICOPTIONS_H 13 #include "llvm/ADT/IntrusiveRefCntPtr.h" 15 #include <type_traits> 50 static_cast<UT
>(LHS) | static_cast<UT>(RHS));
57 static_cast<UT
>(LHS) & static_cast<UT>(RHS));
71 DefaultMacroBacktraceLimit = 6,
72 DefaultTemplateBacktraceLimit = 10,
73 DefaultConstexprBacktraceLimit = 10,
74 DefaultSpellCheckingLimit = 50,
75 DefaultSnippetLineLimit = 1,
79 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits; 80 #define ENUM_DIAGOPT(Name, Type, Bits, Default) 81 #include "clang/Basic/DiagnosticOptions.def" 86 #define DIAGOPT(Name, Bits, Default) 87 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits; 88 #include "clang/Basic/DiagnosticOptions.def" 111 #define DIAGOPT(Name, Bits, Default) 112 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \ 113 Type get##Name() const { return static_cast<Type>(Name); } \ 114 void set##Name(Type Value) { Name = static_cast<unsigned>(Value); } 115 #include "clang/Basic/DiagnosticOptions.def" 118 #define DIAGOPT(Name, Bits, Default) Name = Default; 119 #define ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default); 120 #include "clang/Basic/DiagnosticOptions.def" 128 #endif // LLVM_CLANG_BASIC_DIAGNOSTICOPTIONS_H const internal::VariadicAllOfMatcher< Type > type
Matches Types in the clang AST.
const DiagnosticBuilder & operator<<(const DiagnosticBuilder &DB, const Attr *At)
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
std::vector< std::string > Warnings
The list of -W...
DiagnosticLevelMask operator|(DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
DiagnosticLevelMask operator &(DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
Show just the "best" overload candidates.
Options for controlling the compiler diagnostics engine.
std::string DiagnosticSerializationFile
The file to serialize diagnostics to (non-appending).
std::vector< std::string > Remarks
The list of -R...
Dataflow Directional Tag Classes.
std::vector< std::string > VerifyPrefixes
The prefixes for comment directives sought by -verify ("expected" by default).
DiagnosticLevelMask operator~(DiagnosticLevelMask M)
OverloadsShown
Specifies which overload candidates to display when overload resolution fails.
DiagnosticLevelMask
A bitmask representing the diagnostic levels used by VerifyDiagnosticConsumer.
std::string DiagnosticLogFile
The file to log diagnostic output to.