Fix the category name for hash-warnings and hash-errors

llvm-svn: 211475
This commit is contained in:
Alp Toker 2014-06-22 21:16:50 +00:00
parent 61c0e43ef6
commit 65428c6877
2 changed files with 2 additions and 3 deletions

View File

@ -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">;

View File

@ -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">;