#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "flags.h"#include "tree.h"#include "c-tree.h"#include "toplev.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 (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 (const char *ret_val, tree t, formals_style style) |
| 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 39 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 34 of file c-aux-info.c.
| static char* affix_data_type | ( | const char * | ) | [static] |
Definition at line 44 of file c-aux-info.c.
References ASTRDUP, concat(), data_type, NULL, p, reconcat(), and strncmp().
| static int deserves_ellipsis | ( | tree | fntype | ) | [static] |
Definition at line 194 of file c-aux-info.c.
References TREE_CHAIN, TREE_VALUE, TYPE_ARG_TYPES, and void_type_node.
Definition at line 551 of file c-aux-info.c.
References ansi, aux_info_file, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, expand_location, flag_gen_aux_info, fprintf(), gen_decl(), gen_formal_list_for_func_def(), k_and_r_decls, and k_and_r_names.
| static const char* gen_decl | ( | tree | decl, | |
| int | is_func_definition, | |||
| formals_style | style | |||
| ) | [static] |
Definition at line 473 of file c-aux-info.c.
References affix_data_type(), ansi, C_DECL_REGISTER, concat(), data_type, DECL_NAME, 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.
| static const char* gen_formal_list_for_func_def | ( | tree | fndecl, | |
| formals_style | style | |||
| ) | [static] |
Definition at line 229 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.
| static const char* gen_formal_list_for_type | ( | tree | fntype, | |
| formals_style | style | |||
| ) | [static] |
Definition at line 112 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.
| static const char* gen_type | ( | const char * | ret_val, | |
| tree | t, | |||
| formals_style | style | |||
| ) | [static] |
Definition at line 302 of file c-aux-info.c.
References ansi, COMPLETE_TYPE_P, concat(), data_type, DECL_NAME, gcc_unreachable, gen_decl(), gen_formal_list_for_type(), gen_type(), IDENTIFIER_POINTER, int_size_in_bytes(), NULL, size, sprintf(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TYPE_FIELDS, TYPE_NAME, TYPE_QUALS, TYPE_READONLY, TYPE_RESTRICT, TYPE_SIZE, TYPE_UNSIGNED, TYPE_VALUES, and TYPE_VOLATILE.
const char* data_type [static] |
Definition at line 42 of file c-aux-info.c.
1.5.6