]> granicus.if.org Git - clang/commitdiff
add a warning group for unavailable decls that mirrors the one for
authorChris Lattner <sabre@nondot.org>
Mon, 22 Jun 2009 23:04:45 +0000 (23:04 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 22 Jun 2009 23:04:45 +0000 (23:04 +0000)
deprecated decls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73914 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 994c2b91318371871b937f8ed0994ed158838611..79a9efac85544e87ccec967b271b390a43e46b96 100644 (file)
@@ -870,7 +870,8 @@ def err_undeclared_var_use : Error<"use of undeclared identifier %0">;
 def err_undeclared_use : Error<"use of undeclared '%0'">;
 def warn_deprecated : Warning<"%0 is deprecated">,
     InGroup<DiagGroup<"deprecated-declarations">>;
-def warn_unavailable : Warning<"%0 is unavailable">;
+def warn_unavailable : Warning<"%0 is unavailable">,
+    InGroup<DiagGroup<"unavailable-declarations">>;
 def note_unavailable_here : Note<
   "function has been explicitly marked %select{unavailable|deleted}0 here">;
 def warn_not_enough_argument : Warning<