diff options
-rw-r--r-- | include/clang/Basic/DiagnosticGroups.td | 3 | ||||
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 2 |
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">; |