OSDN Git Service

* cp-tree.h (cp_deprecated): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Apr 2005 19:16:29 +0000 (19:16 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Apr 2005 19:16:29 +0000 (19:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97922 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 14c528e..55d6e3e 100644 (file)
@@ -11,6 +11,8 @@
 
        * cp-tree.h (VF_BINFO_VALUE, VF_BASETYPE_VALUE): Remove.
 
+       * cp-tree.h (cp_deprecated): Remove.
+
 2005-04-08  Ian Lance Taylor  <ian@airs.com>
 
        * cp-tree.def: Define FOR_STMT, WHILE_STMT, DO_STMT, BREAK_STMT,
index 55efac2..08e554f 100644 (file)
@@ -3881,14 +3881,6 @@ extern void mark_needed (tree);
 extern bool decl_needed_p (tree);
 extern void note_vague_linkage_fn (tree);
 
-/* XXX Not i18n clean.  */
-#define cp_deprecated(STR)                                             \
-  do {                                                                 \
-    if (warn_deprecated)                                               \
-      warning ("%s is deprecated, please see the documentation for details", \
-              (STR));                                                  \
-  } while (0)
-
 /* in error.c */
 extern void init_error                         (void);
 extern const char *type_as_string              (tree, int);