c-aux-info.c (90075) | c-aux-info.c (117395) |
---|---|
1/* Generate information regarding function declarations and definitions based 2 on information stored in GCC's tree structure. This code implements the 3 -aux-info option. 4 Copyright (C) 1989, 1991, 1994, 1995, 1997, 1998, 5 1999, 2000 Free Software Foundation, Inc. 6 Contributed by Ron Guilmette (rfg@segfault.us.com). 7 8This file is part of GCC. --- 174 unchanged lines hidden (view full) --- 183 } 184 185 return concat (" (", formal_list, ")", NULL); 186} 187 188/* For the generation of an ANSI prototype for a function definition, we have 189 to look at the formal parameter list of the function's own "type" to 190 determine if the function's formal parameter list should end with an | 1/* Generate information regarding function declarations and definitions based 2 on information stored in GCC's tree structure. This code implements the 3 -aux-info option. 4 Copyright (C) 1989, 1991, 1994, 1995, 1997, 1998, 5 1999, 2000 Free Software Foundation, Inc. 6 Contributed by Ron Guilmette (rfg@segfault.us.com). 7 8This file is part of GCC. --- 174 unchanged lines hidden (view full) --- 183 } 184 185 return concat (" (", formal_list, ")", NULL); 186} 187 188/* For the generation of an ANSI prototype for a function definition, we have 189 to look at the formal parameter list of the function's own "type" to 190 determine if the function's formal parameter list should end with an |
191 ellipsis. Given a tree node, the following function will return non-zero | 191 ellipsis. Given a tree node, the following function will return nonzero |
192 if the "function type" parameter list should end with an ellipsis. */ 193 194static int 195deserves_ellipsis (fntype) 196 tree fntype; 197{ 198 tree formal_type; 199 --- 266 unchanged lines hidden (view full) --- 466 return ret_val; 467} 468 469/* Generate a string (source) representation of an entire entity declaration 470 (using some particular style for function types). 471 472 The given entity may be either a variable or a function. 473 | 192 if the "function type" parameter list should end with an ellipsis. */ 193 194static int 195deserves_ellipsis (fntype) 196 tree fntype; 197{ 198 tree formal_type; 199 --- 266 unchanged lines hidden (view full) --- 466 return ret_val; 467} 468 469/* Generate a string (source) representation of an entire entity declaration 470 (using some particular style for function types). 471 472 The given entity may be either a variable or a function. 473 |
474 If the "is_func_definition" parameter is non-zero, assume that the thing | 474 If the "is_func_definition" parameter is nonzero, assume that the thing |
475 we are generating a declaration for is a FUNCTION_DECL node which is 476 associated with a function definition. In this case, we can assume that 477 an attached list of DECL nodes for function formal arguments is present. */ 478 479static const char * 480gen_decl (decl, is_func_definition, style) 481 tree decl; 482 int is_func_definition; --- 122 unchanged lines hidden --- | 475 we are generating a declaration for is a FUNCTION_DECL node which is 476 associated with a function definition. In this case, we can assume that 477 an attached list of DECL nodes for function formal arguments is present. */ 478 479static const char * 480gen_decl (decl, is_func_definition, style) 481 tree decl; 482 int is_func_definition; --- 122 unchanged lines hidden --- |