From 2f96a0679a8d9c05fd3634340421f2d360701059 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Jun 2009 23:04:45 +0000 Subject: [PATCH] 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 --- include/clang/Basic/DiagnosticSemaKinds.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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< -- 2.50.1