|
@@ -38,6 +38,8 @@ using namespace clang;
|
|
|
// Builtin Diagnostic information
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
+namespace {
|
|
|
+
|
|
|
// Diagnostic classes.
|
|
|
enum {
|
|
|
CLASS_NOTE = 0x01,
|
|
@@ -64,6 +66,8 @@ struct StaticDiagInfoRec {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+}
|
|
|
+
|
|
|
static const StaticDiagInfoRec StaticDiagInfo[] = {
|
|
|
#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC,GROUP,SFINAE, CATEGORY) \
|
|
|
{ diag::ENUM, DEFAULT_MAPPING, CLASS, SFINAE, CATEGORY, DESC, GROUP },
|