aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-09 19:16:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-09 19:16:29 +0000
commitbbaa6cf677bb7de02486fadba75cff8fd3972a29 (patch)
treed41a943f3af62d393b58c42749981fe085053532 /gcc
parent394476c9ea5abadb7df0bbad1b5dd5ca3f1e1dd1 (diff)
downloadgcc-bbaa6cf677bb7de02486fadba75cff8fd3972a29.zip
gcc-bbaa6cf677bb7de02486fadba75cff8fd3972a29.tar.gz
gcc-bbaa6cf677bb7de02486fadba75cff8fd3972a29.tar.bz2
* cp-tree.h (cp_deprecated): Remove.
From-SVN: r97922
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/cp-tree.h8
2 files changed, 2 insertions, 8 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 14c528e..55d6e3e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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,
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 55efac2..08e554f 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -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);