clang  6.0.0svn
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"
Include dependency graph for DiagnosticOptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::DiagnosticOptions
 Options for controlling the compiler diagnostics engine. More...
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

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

typedef DiagnosticOptions::TextDiagnosticFormat clang::TextDiagnosticFormat
 

Enumerations

enum  clang::OverloadsShown : unsigned { clang::Ovl_All, clang::Ovl_Best }
 Specifies which overload candidates to display when overload resolution fails. More...
 
enum  clang::DiagnosticLevelMask : unsigned {
  clang::DiagnosticLevelMask::None = 0, clang::DiagnosticLevelMask::Note = 1 << 0, clang::DiagnosticLevelMask::Remark = 1 << 1, clang::DiagnosticLevelMask::Warning = 1 << 2,
  clang::DiagnosticLevelMask::Error = 1 << 3, clang::DiagnosticLevelMask::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 105 of file DiagnosticOptions.h.

◆ DIAGOPT [2/4]

#define DIAGOPT (   Name,
  Bits,
  Default 
)

Definition at line 105 of file DiagnosticOptions.h.

◆ DIAGOPT [3/4]

#define DIAGOPT (   Name,
  Bits,
  Default 
)

Definition at line 105 of file DiagnosticOptions.h.

◆ DIAGOPT [4/4]

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

Definition at line 105 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [1/4]

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

Definition at line 106 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [2/4]

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

Definition at line 106 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); }
The l-value was considered opaque, so the alignment was determined from a type.

Definition at line 106 of file DiagnosticOptions.h.

◆ ENUM_DIAGOPT [4/4]

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

Definition at line 106 of file DiagnosticOptions.h.