#include "config.h"#include "system.h"#include "toplev.h"#include "flags.h"#include "tree.h"#include "c-tree.h"

Go to the source code of this file.
Typedefs | |
| typedef enum formals_style_enum | formals_style |
Enumerations | |
| enum | formals_style_enum { ansi, k_and_r_names, k_and_r_decls, ansi, k_and_r_names, k_and_r_decls, ansi, k_and_r_names, k_and_r_decls, ansi, k_and_r_names, k_and_r_decls } |
Functions/Subroutines | |
| static char *affix_data_type | PARAMS ((const char *)) |
| static const char * | gen_formal_list_for_type (tree fntype, formals_style style) |
| static int | deserves_ellipsis (tree fntype) |
| static const char * | gen_formal_list_for_func_def (tree fndecl, formals_style style) |
| static const char * | gen_type (char *ret_val, tree t, formals_style style) const |
| static const char * | gen_decl (tree decl, int is_func_definition, formals_style style) |
| void | gen_aux_info_record (tree fndecl, int is_definition, int is_implicit, int is_prototyped) |
Variables | |
| static const char * | data_type |
| FILE * | aux_info_file |
| typedef enum formals_style_enum formals_style |
Definition at line 45 of file c-aux-info.c.
| enum formals_style_enum |
| ansi | |
| k_and_r_names | |
| k_and_r_decls | |
| ansi | |
| k_and_r_names | |
| k_and_r_decls | |
| ansi | |
| k_and_r_names | |
| k_and_r_decls | |
| ansi | |
| k_and_r_names | |
| k_and_r_decls |
Definition at line 40 of file c-aux-info.c.
| static int deserves_ellipsis | ( | tree | fntype | ) | [static] |
Definition at line 203 of file c-aux-info.c.
References TREE_CHAIN, TREE_VALUE, TYPE_ARG_TYPES, and void_type_node.
Referenced by gen_formal_list_for_func_def().
Definition at line 569 of file c-aux-info.c.
Referenced by implicitly_declare(), start_decl(), and store_parm_decls().
| static const char* gen_decl | ( | tree | decl, | |
| int | is_func_definition, | |||
| formals_style | style | |||
| ) | [static] |
Definition at line 488 of file c-aux-info.c.
References affix_data_type(), ansi, concat(), data_type, DECL_NAME, DECL_REGISTER, gen_formal_list_for_func_def(), gen_type(), IDENTIFIER_POINTER, k_and_r_names, NULL, TREE_CODE, TREE_PUBLIC, TREE_READONLY, TREE_THIS_VOLATILE, and TREE_TYPE.
Referenced by gen_aux_info_record(), gen_formal_list_for_func_def(), and gen_type().
| static const char* gen_formal_list_for_func_def | ( | tree | fndecl, | |
| formals_style | style | |||
| ) | [static] |
Definition at line 239 of file c-aux-info.c.
References ansi, concat(), DECL_ARGUMENTS, deserves_ellipsis(), gen_decl(), k_and_r_decls, k_and_r_names, NULL, TREE_CHAIN, and TREE_TYPE.
Referenced by gen_aux_info_record(), and gen_decl().
| static const char* gen_formal_list_for_type | ( | tree | fntype, | |
| formals_style | style | |||
| ) | [static] |
Definition at line 119 of file c-aux-info.c.
References affix_data_type(), ansi, concat(), data_type, gen_type(), NULL, strlen(), TREE_CHAIN, TREE_VALUE, TYPE_ARG_TYPES, and void_type_node.
Referenced by gen_type().
| static const char* gen_type | ( | char * | ret_val, | |
| tree | t, | |||
| formals_style | style | |||
| ) | const [static] |
Definition at line 314 of file c-aux-info.c.
References abort, ansi, COMPLETE_TYPE_P, concat(), data_type, DECL_NAME, gen_decl(), gen_formal_list_for_type(), IDENTIFIER_POINTER, int_size_in_bytes(), NULL, size, sprintf(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_UNSIGNED, TYPE_FIELDS, TYPE_NAME, TYPE_QUALS, TYPE_READONLY, TYPE_RESTRICT, TYPE_SIZE, TYPE_VALUES, and TYPE_VOLATILE.
Referenced by gen_decl(), gen_formal_list_for_type(), and gen_type().
| static char* affix_data_type PARAMS | ( | (const char *) | ) | [static] |
Definition at line 50 of file c-aux-info.c.
References ASTRDUP, concat(), data_type, NULL, p, reconcat(), and strncmp().
Definition at line 1725 of file toplev.c.
Referenced by gen_aux_info_record(), and process_aux_info_file().
const char* data_type [static] |
Definition at line 48 of file c-aux-info.c.
Referenced by affix_data_type(), cif_send_attr(), compile_resource_file(), complete_intrinsic_definition(), gen_decl(), gen_formal_list_for_type(), gen_type(), PARAMS(), and parse_deref().
1.5.6