forked from OSchip/llvm-project
Fix the category name for hash-warnings and hash-errors
llvm-svn: 211475
This commit is contained in:
parent
61c0e43ef6
commit
65428c6877
|
@ -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">;
|
||||
|
|
|
@ -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">;
|
||||
|
|
Loading…
Reference in New Issue