osprey/kg++fe/gnu/c-aux-info.c File Reference

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

Include dependency graph for c-aux-info.c:

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
FILEaux_info_file


Typedef Documentation

Definition at line 45 of file c-aux-info.c.


Enumeration Type Documentation

Enumerator:
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.


Function Documentation

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().

void gen_aux_info_record ( tree  fndecl,
int  is_definition,
int  is_implicit,
int  is_prototyped 
)

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]

static const char* gen_formal_list_for_func_def ( tree  fndecl,
formals_style  style 
) [static]

static const char* gen_formal_list_for_type ( tree  fntype,
formals_style  style 
) [static]

static const char* gen_type ( char *  ret_val,
tree  t,
formals_style  style 
) const [static]

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().


Variable Documentation

Definition at line 1725 of file toplev.c.

Referenced by gen_aux_info_record(), and process_aux_info_file().

const char* data_type [static]


Generated on Wed Apr 8 15:12:00 2009 for Open64 by  doxygen 1.5.6