[cfe-commits] r73914 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Chris Lattner sabre at nondot.org
Mon Jun 22 16:04:45 PDT 2009


Author: lattner
Date: Mon Jun 22 18:04:45 2009
New Revision: 73914

URL: http://llvm.org/viewvc/llvm-project?rev=73914&view=rev
Log:
add a warning group for unavailable decls that mirrors the one for
deprecated decls.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=73914&r1=73913&r2=73914&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon Jun 22 18:04:45 2009
@@ -870,7 +870,8 @@
 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<





More information about the cfe-commits mailing list