diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-09 19:38:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-09 19:38:26 +0000 |
commit | f94d392847fb183b3012dbcb2e372b586c80b9fb (patch) | |
tree | 1dc8baf126e7d0cafdab406b729ef9043e1713f4 /include/clang/Basic/DiagnosticIDs.h | |
parent | da54ff306270e179f64d046369419724356d30d7 (diff) |
Kill the brief and full explanation fields from StaticDiagInfoRec. They were unused and wasted space for nothing.
- per PR11952.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticIDs.h')
-rw-r--r-- | include/clang/Basic/DiagnosticIDs.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/clang/Basic/DiagnosticIDs.h b/include/clang/Basic/DiagnosticIDs.h index 40fc3a98be..b49a4f8bf4 100644 --- a/include/clang/Basic/DiagnosticIDs.h +++ b/include/clang/Basic/DiagnosticIDs.h @@ -50,7 +50,7 @@ namespace clang { // Get typedefs for common diagnostics. enum { #define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\ - SFINAE,ACCESS,CATEGORY,NOWERROR,SHOWINSYSHEADER,BRIEF,FULL) ENUM, + SFINAE,ACCESS,CATEGORY,NOWERROR,SHOWINSYSHEADER) ENUM, #include "clang/Basic/DiagnosticCommonKinds.inc" NUM_BUILTIN_COMMON_DIAGNOSTICS #undef DIAG @@ -229,14 +229,6 @@ public: /// getIdFromName - Given a diagnostic name, return its ID, or 0 static unsigned getIdFromName(StringRef Name); - /// getBriefExplanation - Given a diagnostic ID, return a brief explanation - /// of the issue - static StringRef getBriefExplanation(unsigned DiagID); - - /// getFullExplanation - Given a diagnostic ID, return a full explanation - /// of the issue - static StringRef getFullExplanation(unsigned DiagID); - /// Iterator class used for traversing all statically declared /// diagnostics. class diag_iterator { |