Deleted Added
full compact
cp-tree.h (259660) cp-tree.h (260014)
1/* Definitions for C++ parsing and type checking.
2 Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Michael Tiemann (tiemann@cygnus.com)
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify

--- 3066 unchanged lines hidden (view full) ---

3075#define IF_COND(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 0)
3076#define THEN_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 1)
3077#define ELSE_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 2)
3078
3079/* WHILE_STMT accessors. These give access to the condition of the
3080 while statement and the body of the while statement, respectively. */
3081#define WHILE_COND(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 0)
3082#define WHILE_BODY(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 1)
1/* Definitions for C++ parsing and type checking.
2 Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Michael Tiemann (tiemann@cygnus.com)
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify

--- 3066 unchanged lines hidden (view full) ---

3075#define IF_COND(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 0)
3076#define THEN_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 1)
3077#define ELSE_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 2)
3078
3079/* WHILE_STMT accessors. These give access to the condition of the
3080 while statement and the body of the while statement, respectively. */
3081#define WHILE_COND(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 0)
3082#define WHILE_BODY(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 1)
3083/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
3084#define WHILE_ATTRIBUTES(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 2)
3083
3085
3086/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
3084/* DO_STMT accessors. These give access to the condition of the do
3085 statement and the body of the do statement, respectively. */
3086#define DO_COND(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 0)
3087#define DO_BODY(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 1)
3087/* DO_STMT accessors. These give access to the condition of the do
3088 statement and the body of the do statement, respectively. */
3089#define DO_COND(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 0)
3090#define DO_BODY(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 1)
3091/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
3092#define DO_ATTRIBUTES(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 2)
3093/* APPLE LOCAL begin C* language */
3094/* Used as a flag to indicate synthesized inner do-while loop of a
3095 foreach statement. Used for generation of break/continue statement
3096 of the loop. */
3097#define DO_FOREACH(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 3)
3098/* APPLE LOCAL end C* language */
3088
3099
3100/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
3089/* FOR_STMT accessors. These give access to the init statement,
3090 condition, update expression, and body of the for statement,
3091 respectively. */
3092#define FOR_INIT_STMT(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 0)
3093#define FOR_COND(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 1)
3094#define FOR_EXPR(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 2)
3095#define FOR_BODY(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 3)
3101/* FOR_STMT accessors. These give access to the init statement,
3102 condition, update expression, and body of the for statement,
3103 respectively. */
3104#define FOR_INIT_STMT(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 0)
3105#define FOR_COND(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 1)
3106#define FOR_EXPR(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 2)
3107#define FOR_BODY(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 3)
3108/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
3109#define FOR_ATTRIBUTES(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 4)
3096
3110
3111/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
3097#define SWITCH_STMT_COND(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 0)
3098#define SWITCH_STMT_BODY(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 1)
3099#define SWITCH_STMT_TYPE(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 2)
3100
3101/* STMT_EXPR accessor. */
3102#define STMT_EXPR_STMT(NODE) TREE_OPERAND (STMT_EXPR_CHECK (NODE), 0)
3103
3104/* EXPR_STMT accessor. This gives the expression associated with an

--- 1148 unchanged lines hidden (view full) ---

4253extern void add_decl_expr (tree);
4254extern tree finish_expr_stmt (tree);
4255extern tree begin_if_stmt (void);
4256extern void finish_if_stmt_cond (tree, tree);
4257extern tree finish_then_clause (tree);
4258extern void begin_else_clause (tree);
4259extern void finish_else_clause (tree);
4260extern void finish_if_stmt (tree);
3112#define SWITCH_STMT_COND(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 0)
3113#define SWITCH_STMT_BODY(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 1)
3114#define SWITCH_STMT_TYPE(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 2)
3115
3116/* STMT_EXPR accessor. */
3117#define STMT_EXPR_STMT(NODE) TREE_OPERAND (STMT_EXPR_CHECK (NODE), 0)
3118
3119/* EXPR_STMT accessor. This gives the expression associated with an

--- 1148 unchanged lines hidden (view full) ---

4268extern void add_decl_expr (tree);
4269extern tree finish_expr_stmt (tree);
4270extern tree begin_if_stmt (void);
4271extern void finish_if_stmt_cond (tree, tree);
4272extern tree finish_then_clause (tree);
4273extern void begin_else_clause (tree);
4274extern void finish_else_clause (tree);
4275extern void finish_if_stmt (tree);
4261extern tree begin_while_stmt (void);
4276/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
4277extern tree begin_while_stmt (tree);
4278/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
4262extern void finish_while_stmt_cond (tree, tree);
4263extern void finish_while_stmt (tree);
4279extern void finish_while_stmt_cond (tree, tree);
4280extern void finish_while_stmt (tree);
4264extern tree begin_do_stmt (void);
4281/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
4282extern tree begin_do_stmt (tree);
4283/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
4265extern void finish_do_body (tree);
4266extern void finish_do_stmt (tree, tree);
4267extern tree finish_return_stmt (tree);
4284extern void finish_do_body (tree);
4285extern void finish_do_stmt (tree, tree);
4286extern tree finish_return_stmt (tree);
4268extern tree begin_for_stmt (void);
4287/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \
4288extern tree begin_for_stmt (tree);
4289/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \
4269extern void finish_for_init_stmt (tree);
4270extern void finish_for_cond (tree, tree);
4271extern void finish_for_expr (tree, tree);
4272extern void finish_for_stmt (tree);
4273extern tree finish_break_stmt (void);
4274extern tree finish_continue_stmt (void);
4275extern tree begin_switch_stmt (void);
4276extern void finish_switch_cond (tree, tree);

--- 307 unchanged lines hidden ---
4290extern void finish_for_init_stmt (tree);
4291extern void finish_for_cond (tree, tree);
4292extern void finish_for_expr (tree, tree);
4293extern void finish_for_stmt (tree);
4294extern tree finish_break_stmt (void);
4295extern tree finish_continue_stmt (void);
4296extern tree begin_switch_stmt (void);
4297extern void finish_switch_cond (tree, tree);

--- 307 unchanged lines hidden ---