clang 19.0.0git
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
DiagnosticOptions.h File Reference
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/IntrusiveRefCntPtr.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)   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

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 
)    unsigned Name : Bits;

Definition at line 133 of file DiagnosticOptions.h.

◆ DIAGOPT [2/4]

#define DIAGOPT (   Name,
  Bits,
  Default 
)

Definition at line 133 of file DiagnosticOptions.h.

◆ DIAGOPT [3/4]

#define DIAGOPT (   Name,
  Bits,
  Default 
)

Definition at line 133 of file DiagnosticOptions.h.

◆ DIAGOPT [4/4]

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

Definition at line 133 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [1/4]

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

Definition at line 134 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [2/4]

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

Definition at line 134 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); }
MatchType Type

Definition at line 134 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [4/4]

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

Definition at line 134 of file DiagnosticOptions.h.