From c5f3963bcbd5716edbd9ab49d85f5af8469e86c2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 22 Jun 2014 12:16:35 +0000 Subject: [PATCH] Remove unused diagnostic and diagnostic group. llvm-svn: 211464 --- clang/include/clang/Basic/DiagnosticDriverKinds.td | 2 -- clang/include/clang/Basic/DiagnosticGroups.td | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/clang/include/clang/Basic/DiagnosticDriverKinds.td b/clang/include/clang/Basic/DiagnosticDriverKinds.td index 1da7a16..7de2250 100644 --- a/clang/include/clang/Basic/DiagnosticDriverKinds.td +++ b/clang/include/clang/Basic/DiagnosticDriverKinds.td @@ -137,8 +137,6 @@ def warn_drv_unused_argument : Warning< def warn_drv_empty_joined_argument : Warning< "joined argument expects additional value: '%0'">, InGroup; -def warn_drv_unused_sanitizer : Warning<"'%0' is ignored in absence of '%1'">, - InGroup; def warn_drv_clang_unsupported : Warning< "the clang compiler does not support '%0'">; def warn_drv_assuming_mfloat_abi_is : Warning< diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 6a9425e..0654e49 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -383,9 +383,7 @@ def UnnamedTypeTemplateArgs : DiagGroup<"unnamed-type-template-args", [CXX98CompatUnnamedTypeTemplateArgs]>; def UnsupportedFriend : DiagGroup<"unsupported-friend">; def UnusedArgument : DiagGroup<"unused-argument">; -def UnusedSanitizeArgument : DiagGroup<"unused-sanitize-argument">; -def UnusedCommandLineArgument : DiagGroup<"unused-command-line-argument", - [UnusedSanitizeArgument]>; +def UnusedCommandLineArgument : DiagGroup<"unused-command-line-argument">; def InvalidCommandLineArgument : DiagGroup<"invalid-command-line-argument">; def UnusedComparison : DiagGroup<"unused-comparison">; def UnusedExceptionParameter : DiagGroup<"unused-exception-parameter">; -- 2.7.4