clang 22.0.0git
DiagnosticOptions.h File Reference
#include "clang/Basic/LLVM.h"
#include <string>
#include <type_traits>
#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  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  llvm::opt
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Macros

#define DIAGOPT(Name, Bits, Default)
#define ENUM_DIAGOPT(Name, Type, Bits, Default)
#define DIAGOPT(Name, Bits, Default)
#define ENUM_DIAGOPT(Name, Type, Bits, Default)
#define DIAGOPT(Name, Bits, Default)
#define ENUM_DIAGOPT(Name, Type, Bits, Default)
#define DIAGOPT(Name, Bits, Default)
#define ENUM_DIAGOPT(Name, Type, Bits, Default)

Typedefs

using clang::TextDiagnosticFormat = DiagnosticOptions::TextDiagnosticFormat

Enumerations

enum  clang::OverloadsShown : unsigned { clang::Ovl_All , clang::Ovl_Best }
 Specifies which overload candidates to display when overload resolution fails. More...
enum class  clang::DiagnosticLevelMask : unsigned {
  clang::None = 0 , clang::Note = 1 << 0 , clang::Remark = 1 << 1 , clang::Warning = 1 << 2 ,
  clang::Error = 1 << 3 , clang::All = Note | Remark | Warning | Error
}
 A bitmask representing the diagnostic levels used by VerifyDiagnosticConsumer. More...

Functions

DiagnosticLevelMask clang::operator~ (DiagnosticLevelMask M)
DiagnosticLevelMask clang::operator| (DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
DiagnosticLevelMask clang::operator& (DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
raw_ostream & clang::operator<< (raw_ostream &Out, DiagnosticLevelMask M)

Macro Definition Documentation

◆ DIAGOPT [1/4]

#define DIAGOPT ( Name,
Bits,
Default )
Value:
unsigned Name : Bits;

Definition at line 92 of file DiagnosticOptions.h.

◆ DIAGOPT [2/4]

#define DIAGOPT ( Name,
Bits,
Default )

Definition at line 92 of file DiagnosticOptions.h.

◆ DIAGOPT [3/4]

#define DIAGOPT ( Name,
Bits,
Default )

Definition at line 92 of file DiagnosticOptions.h.

◆ DIAGOPT [4/4]

#define DIAGOPT ( Name,
Bits,
Default )
Value:
Name = Default;

Definition at line 92 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [1/4]

#define ENUM_DIAGOPT ( Name,
Type,
Bits,
Default )

Definition at line 93 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [2/4]

#define ENUM_DIAGOPT ( Name,
Type,
Bits,
Default )
Value:
unsigned Name : Bits;

Definition at line 93 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [3/4]

#define ENUM_DIAGOPT ( Name,
Type,
Bits,
Default )
Value:
Type get##Name() const { return static_cast<Type>(Name); } \
void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }

Definition at line 93 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [4/4]

#define ENUM_DIAGOPT ( Name,
Type,
Bits,
Default )
Value:
set##Name(Default);

Definition at line 93 of file DiagnosticOptions.h.