diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-28 06:46:16 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-28 06:46:16 +0000 |
commit | a375f117dee7c4cb489f66bc54fb3cfc92e47a58 (patch) | |
tree | 2f521e75f8485ad74552e48214d7d27d4b3969b7 /gcc/cp/cp-tree.h | |
parent | f28b8226b6f6893b1857fefc1f0c4125985ae4ca (diff) | |
download | gcc-a375f117dee7c4cb489f66bc54fb3cfc92e47a58.tar.gz |
* cp/cp-tree.h (TYPE_NAMESPACE_SCOPE_P,
TYPE_FUNCTION_SCOPE_P): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 3968f96c9aa..6707a20de66 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -2002,9 +2002,6 @@ struct lang_decl GTY(()) (!DECL_TEMPLATE_PARM_P (NODE) \ && TREE_CODE (CP_DECL_CONTEXT (NODE)) == NAMESPACE_DECL) -#define TYPE_NAMESPACE_SCOPE_P(NODE) \ - (TREE_CODE (CP_TYPE_CONTEXT (NODE)) == NAMESPACE_DECL) - /* 1 iff NODE is a class member. */ #define DECL_CLASS_SCOPE_P(NODE) \ (DECL_CONTEXT (NODE) && TYPE_P (DECL_CONTEXT (NODE))) @@ -2017,10 +2014,6 @@ struct lang_decl GTY(()) (DECL_CONTEXT (NODE) \ && TREE_CODE (DECL_CONTEXT (NODE)) == FUNCTION_DECL) -#define TYPE_FUNCTION_SCOPE_P(NODE) \ - (TYPE_CONTEXT (NODE) \ - && TREE_CODE (TYPE_CONTEXT (NODE)) == FUNCTION_DECL) - /* 1 iff VAR_DECL node NODE is a type-info decl. This flag is set for both the primary typeinfo object and the associated NTBS name. */ #define DECL_TINFO_P(NODE) TREE_LANG_FLAG_4 (VAR_DECL_CHECK (NODE)) |