summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 16:55:03 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 16:55:03 +0000
commit4b2212aa35411368b952fbb3699ad2c8a6c787da (patch)
treea825b5044dfe87bd0dc1f2987fb891f208d9f291
parent8aeddfef4516b485d99395a33b8329633e5e42fd (diff)
downloadgcc-4b2212aa35411368b952fbb3699ad2c8a6c787da.tar.gz
* cp-tree.h (EXCEPTION_CLEANUP_NAME, B_SET, B_CLR, B_TST,
CONV_STATIC_CAST): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97908 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog3
-rw-r--r--gcc/cp/cp-tree.h8
2 files changed, 3 insertions, 8 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 19ac5ed08e5..ccb990a4e32 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -4,6 +4,9 @@
* cp-tree.h (DECL_ARRAY_DELETE_OPERATOR_P): Remove.
+ * cp-tree.h (EXCEPTION_CLEANUP_NAME, B_SET, B_CLR, B_TST,
+ CONV_STATIC_CAST): 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 b2c8e828114..fdbfea57c55 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3245,8 +3245,6 @@ extern GTY(()) varray_type local_classes;
#define VTABLE_DELTA_NAME "__delta"
#define VTABLE_PFN_NAME "__pfn"
-#define EXCEPTION_CLEANUP_NAME "exception cleanup"
-
#if !defined(NO_DOLLAR_IN_LABEL) || !defined(NO_DOT_IN_LABEL)
#define VPTR_NAME_P(ID_NODE) (IDENTIFIER_POINTER (ID_NODE)[0] == JOINER \
@@ -3293,11 +3291,6 @@ extern GTY(()) tree static_dtors;
enum overload_flags { NO_SPECIAL = 0, DTOR_FLAG, OP_FLAG, TYPENAME_FLAG };
-/* Some macros for char-based bitfields. */
-#define B_SET(A,X) ((A)[(X)>>3] |= (1 << ((X)&7)))
-#define B_CLR(A,X) ((A)[(X)>>3] &= ~(1 << ((X)&7)))
-#define B_TST(A,X) ((A)[(X)>>3] & (1 << ((X)&7)))
-
/* These are uses as bits in flags passed to build_new_method_call
to control its error reporting behavior.
@@ -3365,7 +3358,6 @@ enum overload_flags { NO_SPECIAL = 0, DTOR_FLAG, OP_FLAG, TYPENAME_FLAG };
#define CONV_PRIVATE 16
/* #define CONV_NONCONVERTING 32 */
#define CONV_FORCE_TEMP 64
-#define CONV_STATIC_CAST (CONV_IMPLICIT | CONV_STATIC | CONV_FORCE_TEMP)
#define CONV_OLD_CONVERT (CONV_IMPLICIT | CONV_STATIC | CONV_CONST \
| CONV_REINTERPRET)
#define CONV_C_CAST (CONV_IMPLICIT | CONV_STATIC | CONV_CONST \