clang API Documentation

Classes | Namespaces | Defines | Typedefs | Enumerations
DiagnosticIDs.h File Reference

Defines the Diagnostic IDs-related interfaces. More...

#include "clang/Basic/LLVM.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringRef.h"
#include "clang/Basic/DiagnosticCommonKinds.inc"
Include dependency graph for DiagnosticIDs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::DiagnosticMapping
class  clang::DiagnosticIDs
 Used for handling and querying diagnostic IDs. More...

Namespaces

namespace  clang
namespace  clang::diag

Defines

#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, CATEGORY, NOWERROR, SHOWINSYSHEADER)   ENUM,
#define COMMONSTART

Typedefs

typedef unsigned clang::diag::kind
 All of the diagnostics that can be emitted by the frontend.

Enumerations

enum  {
  clang::diag::DIAG_START_COMMON = 0, clang::diag::DIAG_START_DRIVER = DIAG_START_COMMON + 300, clang::diag::DIAG_START_FRONTEND = DIAG_START_DRIVER + 100, clang::diag::DIAG_START_SERIALIZATION = DIAG_START_FRONTEND + 100,
  clang::diag::DIAG_START_LEX = DIAG_START_SERIALIZATION + 120, clang::diag::DIAG_START_PARSE = DIAG_START_LEX + 300, clang::diag::DIAG_START_AST = DIAG_START_PARSE + 500, clang::diag::DIAG_START_COMMENT = DIAG_START_AST + 100,
  clang::diag::DIAG_START_SEMA = DIAG_START_COMMENT + 100, clang::diag::DIAG_START_ANALYSIS = DIAG_START_SEMA + 3000, clang::diag::DIAG_UPPER_LIMIT = DIAG_START_ANALYSIS + 100
}
enum  
enum  clang::diag::Severity {
  clang::diag::Ignored = 1, clang::diag::Remark = 2, clang::diag::Warning = 3, clang::diag::Error = 4,
  clang::diag::Fatal = 5
}
enum  clang::diag::Flavor { clang::diag::WarningOrError, clang::diag::Remark = 2 }

Detailed Description

Defines the Diagnostic IDs-related interfaces.

Definition in file DiagnosticIDs.h.


Define Documentation

#define COMMONSTART

Definition at line 52 of file DiagnosticIDs.h.

#define DIAG (   ENUM,
  FLAGS,
  DEFAULT_MAPPING,
  DESC,
  GROUP,
  SFINAE,
  CATEGORY,
  NOWERROR,
  SHOWINSYSHEADER 
)    ENUM,

Definition at line 50 of file DiagnosticIDs.h.