From: Alp Toker Date: Sun, 22 Jun 2014 21:16:50 +0000 (+0000) Subject: Fix the category name for hash-warnings and hash-errors X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=675a893ab5ba292f6ab7ac868b3ca645764638ff;p=clang 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 --- 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, ShowInSystemHeader; def err_pp_hash_error : Error<"%0">;