aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2005-05-28 01:38:11 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2005-05-28 01:38:11 +0000
commited3d0b14125f1ff9f29d6cb14f6734ceeed6f622 (patch)
treefd13f92af3cb33e0387f4cd14cef0ef59efafcfc /gcc/c-common.h
parent5d336d6dc025c6a9b1310aeb07a1a909c818116d (diff)
downloadgcc-ed3d0b14125f1ff9f29d6cb14f6734ceeed6f622.zip
gcc-ed3d0b14125f1ff9f29d6cb14f6734ceeed6f622.tar.gz
gcc-ed3d0b14125f1ff9f29d6cb14f6734ceeed6f622.tar.bz2
c-decl.c (add_stmt): Add C frontend specific version.
./: * c-decl.c (add_stmt): Add C frontend specific version. (stmts_are_full_exprs_p): Remove. * c-common.h (STMT_IS_FULL_EXPR_P): Remove. (stmts_are_full_exprs_p): Don't declare. * c-semantics.c (add_stmt): Remove. cp/: * semantics.c (add_stmt): Add C++ frontend specific version. * cp-tree.h (STMT_IS_FULL_EXPR_P): Define. (stmts_are_full_exprs_p): Declare. From-SVN: r100289
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 4b860e2..04b4346 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -31,7 +31,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
IDENTIFIER_MARKED (used by search routines).
DECL_PRETTY_FUNCTION_P (in VAR_DECL)
1: C_DECLARED_LABEL_FLAG (in LABEL_DECL)
- STMT_IS_FULL_EXPR_P (in _STMT)
STATEMENT_LIST_STMT_EXPR (in STATEMENT_LIST)
2: unused
3: STATEMENT_LIST_HAS_LABEL (in STATEMENT_LIST)
@@ -704,12 +703,6 @@ extern void finish_file (void);
/* These macros provide convenient access to the various _STMT nodes. */
-/* Nonzero if this statement should be considered a full-expression,
- i.e., if temporaries created during this statement should have
- their destructors run at the end of this statement. (In C, this
- will always be false, since there are no destructors.) */
-#define STMT_IS_FULL_EXPR_P(NODE) TREE_LANG_FLAG_1 ((NODE))
-
/* Nonzero if a given STATEMENT_LIST represents the outermost binding
if a statement expression. */
#define STATEMENT_LIST_STMT_EXPR(NODE) \
@@ -735,7 +728,6 @@ enum c_tree_code {
#undef DEFTREECODE
-extern int stmts_are_full_exprs_p (void);
extern int anon_aggr_type_p (tree);
/* For a VAR_DECL that is an anonymous union, these are the various