pt.c (259666) | pt.c (260014) |
---|---|
1/* Handle parameterized types (templates) for GNU C++. 2 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 Written by Ken Raeburn (raeburn@cygnus.com) while at Watchmaker Computing. 5 Rewritten by Jason Merrill (jason@cygnus.com). 6 7This file is part of GCC. 8 --- 8579 unchanged lines hidden (view full) --- 8588 } 8589 8590 /* A DECL_EXPR can also be used as an expression, in the condition 8591 clause of an if/for/while construct. */ 8592 return decl; 8593 } 8594 8595 case FOR_STMT: | 1/* Handle parameterized types (templates) for GNU C++. 2 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 Written by Ken Raeburn (raeburn@cygnus.com) while at Watchmaker Computing. 5 Rewritten by Jason Merrill (jason@cygnus.com). 6 7This file is part of GCC. 8 --- 8579 unchanged lines hidden (view full) --- 8588 } 8589 8590 /* A DECL_EXPR can also be used as an expression, in the condition 8591 clause of an if/for/while construct. */ 8592 return decl; 8593 } 8594 8595 case FOR_STMT: |
8596 stmt = begin_for_stmt (); 8597 RECUR (FOR_INIT_STMT (t)); | 8596/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \ 8597 tmp = RECUR (FOR_ATTRIBUTES (t)); 8598 stmt = begin_for_stmt (tmp); 8599 RECUR (FOR_INIT_STMT (t)); 8600/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \ |
8598 finish_for_init_stmt (stmt); 8599 tmp = RECUR (FOR_COND (t)); 8600 finish_for_cond (tmp, stmt); 8601 tmp = RECUR (FOR_EXPR (t)); 8602 finish_for_expr (tmp, stmt); 8603 RECUR (FOR_BODY (t)); 8604 finish_for_stmt (stmt); 8605 break; 8606 8607 case WHILE_STMT: | 8601 finish_for_init_stmt (stmt); 8602 tmp = RECUR (FOR_COND (t)); 8603 finish_for_cond (tmp, stmt); 8604 tmp = RECUR (FOR_EXPR (t)); 8605 finish_for_expr (tmp, stmt); 8606 RECUR (FOR_BODY (t)); 8607 finish_for_stmt (stmt); 8608 break; 8609 8610 case WHILE_STMT: |
8608 stmt = begin_while_stmt (); | 8611/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \ 8612 tmp = RECUR (WHILE_ATTRIBUTES (t)); 8613 stmt = begin_while_stmt (tmp); 8614/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \ |
8609 tmp = RECUR (WHILE_COND (t)); 8610 finish_while_stmt_cond (tmp, stmt); 8611 RECUR (WHILE_BODY (t)); 8612 finish_while_stmt (stmt); 8613 break; 8614 8615 case DO_STMT: | 8615 tmp = RECUR (WHILE_COND (t)); 8616 finish_while_stmt_cond (tmp, stmt); 8617 RECUR (WHILE_BODY (t)); 8618 finish_while_stmt (stmt); 8619 break; 8620 8621 case DO_STMT: |
8616 stmt = begin_do_stmt (); | 8622/* APPLE LOCAL begin for-fsf-4_4 3274130 5295549 */ \ 8623 tmp = RECUR (DO_ATTRIBUTES (t)); 8624 stmt = begin_do_stmt (tmp); 8625/* APPLE LOCAL end for-fsf-4_4 3274130 5295549 */ \ |
8617 RECUR (DO_BODY (t)); 8618 finish_do_body (stmt); 8619 tmp = RECUR (DO_COND (t)); 8620 finish_do_stmt (tmp, stmt); 8621 break; 8622 8623 case IF_STMT: 8624 stmt = begin_if_stmt (); --- 4775 unchanged lines hidden --- | 8626 RECUR (DO_BODY (t)); 8627 finish_do_body (stmt); 8628 tmp = RECUR (DO_COND (t)); 8629 finish_do_stmt (tmp, stmt); 8630 break; 8631 8632 case IF_STMT: 8633 stmt = begin_if_stmt (); --- 4775 unchanged lines hidden --- |