summaryrefslogtreecommitdiff
path: root/include
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
commit675a893ab5ba292f6ab7ac868b3ca645764638ff (patch)
tree3593266322e5193f223b85cb738ec4f6ec2f9960 /include
parent749a43502d47a85b9dbf0f504d4c1b8eb5f76e8c (diff)
downloadclang-675a893ab5ba292f6ab7ac868b3ca645764638ff.tar.gz
clang-675a893ab5ba292f6ab7ac868b3ca645764638ff.tar.bz2
clang-675a893ab5ba292f6ab7ac868b3ca645764638ff.tar.xz
Fix the category name for hash-warnings and hash-errors
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Basic/DiagnosticGroups.td3
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td
index 0654e49281..db924a5890 100644
--- a/include/clang/Basic/DiagnosticGroups.td
+++ b/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/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 4aceaf5e4f..86def87883 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/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">;