From: Chris Lattner Date: Mon, 22 Jun 2009 23:04:45 +0000 (+0000) Subject: add a warning group for unavailable decls that mirrors the one for X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f96a0679a8d9c05fd3634340421f2d360701059;p=clang add a warning group for unavailable decls that mirrors the one for deprecated decls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 994c2b9131..79a9efac85 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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>; -def warn_unavailable : Warning<"%0 is unavailable">; +def warn_unavailable : Warning<"%0 is unavailable">, + InGroup>; def note_unavailable_here : Note< "function has been explicitly marked %select{unavailable|deleted}0 here">; def warn_not_enough_argument : Warning<