clang API Documentation
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include <string>
#include <vector>
#include "clang/Basic/DiagnosticOptions.def"
Go to the source code of this file.
Classes | |
class | clang::DiagnosticOptions |
Options for controlling the compiler diagnostics engine. More... | |
Namespaces | |
namespace | clang |
Defines | |
#define | DIAGOPT(Name, Bits, Default) unsigned Name : Bits; |
#define | ENUM_DIAGOPT(Name, Type, Bits, Default) |
#define | DIAGOPT(Name, Bits, Default) |
#define | ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits; |
#define | DIAGOPT(Name, Bits, Default) |
#define | ENUM_DIAGOPT(Name, Type, Bits, Default) |
#define | DIAGOPT(Name, Bits, Default) Name = Default; |
#define | ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default); |
Typedefs | |
typedef DiagnosticOptions::TextDiagnosticFormat | clang::TextDiagnosticFormat |
Enumerations | |
enum | clang::OverloadsShown { clang::Ovl_All, clang::Ovl_Best } |
Specifies which overload candidates to display when overload resolution fails. More... |
Definition at line 39 of file DiagnosticOptions.h.
#define DIAGOPT | ( | Name, | |
Bits, | |||
Default | |||
) |
Definition at line 39 of file DiagnosticOptions.h.
#define DIAGOPT | ( | Name, | |
Bits, | |||
Default | |||
) |
Definition at line 39 of file DiagnosticOptions.h.
#define DIAGOPT | ( | Name, | |
Bits, | |||
Default | |||
) | Name = Default; |
Definition at line 39 of file DiagnosticOptions.h.
#define ENUM_DIAGOPT | ( | Name, | |
Type, | |||
Bits, | |||
Default | |||
) |
Definition at line 40 of file DiagnosticOptions.h.
#define ENUM_DIAGOPT | ( | Name, | |
Type, | |||
Bits, | |||
Default | |||
) | unsigned Name : Bits; |
Definition at line 40 of file DiagnosticOptions.h.
#define ENUM_DIAGOPT | ( | Name, | |
Type, | |||
Bits, | |||
Default | |||
) |
Type get##Name() const { return static_cast<Type>(Name); } \ void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
Definition at line 40 of file DiagnosticOptions.h.
#define ENUM_DIAGOPT | ( | Name, | |
Type, | |||
Bits, | |||
Default | |||
) | set##Name(Default); |
Definition at line 40 of file DiagnosticOptions.h.