summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-22 21:16:50 +0000
committerAlp Toker <alp@nuanti.com>2014-06-22 21:16:50 +0000
commit65428c687720d35c265f3b114139a2bc8bc610f0 (patch)
tree7bf95bde8eb7e09bf966c13e5c697ed69bc467bc
parent61c0e43ef6cbf7560f60067f8dbef2ed4a29dc06 (diff)
downloadbcm5719-llvm-65428c687720d35c265f3b114139a2bc8bc610f0.tar.gz
bcm5719-llvm-65428c687720d35c265f3b114139a2bc8bc610f0.zip
Fix the category name for hash-warnings and hash-errors
llvm-svn: 211475
-rw-r--r--clang/include/clang/Basic/DiagnosticGroups.td3
-rw-r--r--clang/include/clang/Basic/DiagnosticLexKinds.td2
2 files changed, 2 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td
index 0654e492818..db924a58908 100644
--- a/clang/include/clang/Basic/DiagnosticGroups.td
+++ b/clang/include/clang/Basic/DiagnosticGroups.td
@@ -271,8 +271,7 @@ def DeprecatedObjCIsaUsage : DiagGroup<"deprecated-objc-isa-usage">;
def Packed : DiagGroup<"packed">;
def Padded : DiagGroup<"padded">;
def PointerArith : DiagGroup<"pointer-arith">;
-def PoundWarning : DiagGroup<"#warnings">,
- DiagCategory<"#warning Directive">;
+def PoundWarning : DiagGroup<"#warnings">;
def PoundPragmaMessage : DiagGroup<"#pragma-messages">,
DiagCategory<"#pragma message Directive">;
def : DiagGroup<"pointer-to-int-cast">;
diff --git a/clang/include/clang/Basic/DiagnosticLexKinds.td b/clang/include/clang/Basic/DiagnosticLexKinds.td
index 4aceaf5e4f0..86def878834 100644
--- a/clang/include/clang/Basic/DiagnosticLexKinds.td
+++ b/clang/include/clang/Basic/DiagnosticLexKinds.td
@@ -245,7 +245,7 @@ def err_invalid_pth_file : Error<
// Preprocessor Diagnostics
//===----------------------------------------------------------------------===//
-let CategoryName = "User Defined Issues" in {
+let CategoryName = "User-Defined Issue" in {
def pp_hash_warning : Warning<"%0">,
InGroup<PoundWarning>, ShowInSystemHeader;
def err_pp_hash_error : Error<"%0">;
OpenPOWER on IntegriCloud