osprey/kg++fe/gnu/c-lang.c File Reference

#include "config.h"
#include "system.h"
#include "tree.h"
#include "c-tree.h"
#include "c-common.h"
#include "ggc.h"
#include "langhooks.h"
#include "langhooks-def.h"
#include "tree.def"
#include "c-common.def"
#include "gtype-c.h"

Include dependency graph for c-lang.c:

Go to the source code of this file.

Defines

#define LANG_HOOKS_NAME   "GNU C"
#define LANG_HOOKS_INIT   c_objc_common_init
#define LANG_HOOKS_FINISH   c_common_finish
#define LANG_HOOKS_INIT_OPTIONS   c_init_options
#define LANG_HOOKS_DECODE_OPTION   c_common_decode_option
#define LANG_HOOKS_POST_OPTIONS   c_common_post_options
#define LANG_HOOKS_GET_ALIAS_SET   c_common_get_alias_set
#define LANG_HOOKS_SAFE_FROM_P   c_safe_from_p
#define LANG_HOOKS_EXPAND_EXPR   c_expand_expr
#define LANG_HOOKS_MARK_ADDRESSABLE   c_mark_addressable
#define LANG_HOOKS_PARSE_FILE   c_common_parse_file
#define LANG_HOOKS_TRUTHVALUE_CONVERSION   c_common_truthvalue_conversion
#define LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES   c_insert_default_attributes
#define LANG_HOOKS_FINISH_INCOMPLETE_DECL   c_finish_incomplete_decl
#define LANG_HOOKS_UNSAFE_FOR_REEVAL   c_common_unsafe_for_reeval
#define LANG_HOOKS_STATICP   c_staticp
#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL   c_warn_unused_global_decl
#define LANG_HOOKS_PRINT_IDENTIFIER   c_print_identifier
#define LANG_HOOKS_FUNCTION_ENTER_NESTED   c_push_function_context
#define LANG_HOOKS_FUNCTION_LEAVE_NESTED   c_pop_function_context
#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL   c_dup_lang_specific_decl
#define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE   c_common_attribute_table
#define LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE   c_common_format_attribute_table
#define LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN   c_cannot_inline_tree_fn
#define LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS   c_disregard_inline_limits
#define LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P   anon_aggr_type_p
#define LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING   c_convert_parm_for_inlining
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN   c_dump_tree
#define LANG_HOOKS_TYPE_FOR_MODE   c_common_type_for_mode
#define LANG_HOOKS_TYPE_FOR_SIZE   c_common_type_for_size
#define LANG_HOOKS_SIGNED_TYPE   c_common_signed_type
#define LANG_HOOKS_UNSIGNED_TYPE   c_common_unsigned_type
#define LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE   c_common_signed_or_unsigned_type
#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR   c_incomplete_type_error
#define LANG_HOOKS_TYPE_PROMOTES_TO   c_type_promotes_to
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH)   TYPE,
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH)   LENGTH,
#define DEFTREECODE(SYM, NAME, TYPE, LEN)   NAME,

Functions/Subroutines

static void c_init_options PARAMS ((void))
static void c_init_options ()
tree lookup_interface (arg)
tree is_class_name (arg)
tree objc_is_id (arg)
void objc_check_decl (decl)
int objc_comptypes (lhs, rhs, reflexive)
tree objc_message_selector ()
tree lookup_objc_ivar (id)
void finish_file ()

Variables

struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER
const char tree_code_type []
const unsigned char tree_code_length []
const char *const tree_code_name []


Define Documentation

#define DEFTREECODE ( SYM,
NAME,
TYPE,
LEN   )     NAME,

Definition at line 154 of file c-lang.c.

#define DEFTREECODE ( SYM,
NAME,
TYPE,
LENGTH   )     LENGTH,

Definition at line 154 of file c-lang.c.

#define DEFTREECODE ( SYM,
NAME,
TYPE,
LENGTH   )     TYPE,

Definition at line 154 of file c-lang.c.

#define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE   c_common_attribute_table

Definition at line 89 of file c-lang.c.

#define LANG_HOOKS_DECODE_OPTION   c_common_decode_option

Definition at line 53 of file c-lang.c.

#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL   c_dup_lang_specific_decl

Definition at line 85 of file c-lang.c.

#define LANG_HOOKS_EXPAND_EXPR   c_expand_expr

Definition at line 61 of file c-lang.c.

#define LANG_HOOKS_FINISH   c_common_finish

Definition at line 49 of file c-lang.c.

#define LANG_HOOKS_FINISH_INCOMPLETE_DECL   c_finish_incomplete_decl

Definition at line 71 of file c-lang.c.

#define LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE   c_common_format_attribute_table

Definition at line 91 of file c-lang.c.

#define LANG_HOOKS_FUNCTION_ENTER_NESTED   c_push_function_context

Definition at line 81 of file c-lang.c.

#define LANG_HOOKS_FUNCTION_LEAVE_NESTED   c_pop_function_context

Definition at line 83 of file c-lang.c.

#define LANG_HOOKS_GET_ALIAS_SET   c_common_get_alias_set

Definition at line 57 of file c-lang.c.

#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR   c_incomplete_type_error

Definition at line 119 of file c-lang.c.

#define LANG_HOOKS_INIT   c_objc_common_init

Definition at line 47 of file c-lang.c.

#define LANG_HOOKS_INIT_OPTIONS   c_init_options

Definition at line 51 of file c-lang.c.

#define LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES   c_insert_default_attributes

Definition at line 69 of file c-lang.c.

#define LANG_HOOKS_MARK_ADDRESSABLE   c_mark_addressable

Definition at line 63 of file c-lang.c.

#define LANG_HOOKS_NAME   "GNU C"

Definition at line 45 of file c-lang.c.

#define LANG_HOOKS_PARSE_FILE   c_common_parse_file

Definition at line 65 of file c-lang.c.

#define LANG_HOOKS_POST_OPTIONS   c_common_post_options

Definition at line 55 of file c-lang.c.

#define LANG_HOOKS_PRINT_IDENTIFIER   c_print_identifier

Definition at line 79 of file c-lang.c.

#define LANG_HOOKS_SAFE_FROM_P   c_safe_from_p

Definition at line 59 of file c-lang.c.

#define LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE   c_common_signed_or_unsigned_type

Definition at line 117 of file c-lang.c.

#define LANG_HOOKS_SIGNED_TYPE   c_common_signed_type

Definition at line 113 of file c-lang.c.

#define LANG_HOOKS_STATICP   c_staticp

Definition at line 75 of file c-lang.c.

#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN   c_dump_tree

Definition at line 106 of file c-lang.c.

#define LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P   anon_aggr_type_p

Definition at line 100 of file c-lang.c.

#define LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN   c_cannot_inline_tree_fn

Definition at line 94 of file c-lang.c.

#define LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING   c_convert_parm_for_inlining

Definition at line 103 of file c-lang.c.

#define LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS   c_disregard_inline_limits

Definition at line 97 of file c-lang.c.

#define LANG_HOOKS_TRUTHVALUE_CONVERSION   c_common_truthvalue_conversion

Definition at line 67 of file c-lang.c.

#define LANG_HOOKS_TYPE_FOR_MODE   c_common_type_for_mode

Definition at line 109 of file c-lang.c.

#define LANG_HOOKS_TYPE_FOR_SIZE   c_common_type_for_size

Definition at line 111 of file c-lang.c.

#define LANG_HOOKS_TYPE_PROMOTES_TO   c_type_promotes_to

Definition at line 121 of file c-lang.c.

#define LANG_HOOKS_UNSAFE_FOR_REEVAL   c_common_unsafe_for_reeval

Definition at line 73 of file c-lang.c.

#define LANG_HOOKS_UNSIGNED_TYPE   c_common_unsigned_type

Definition at line 115 of file c-lang.c.

#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL   c_warn_unused_global_decl

Definition at line 77 of file c-lang.c.


Function Documentation

static void c_init_options (  )  [static]

Definition at line 164 of file c-lang.c.

References c_common_init_options(), and clk_c.

void finish_file ( void   ) 

Definition at line 223 of file c-lang.c.

Referenced by c_common_parse_file(), and finish_translation_unit().

tree is_class_name ( arg   ) 

Definition at line 179 of file c-lang.c.

Referenced by objc_declare_alias(), objc_declare_class(), and start_class().

tree lookup_interface ( arg   ) 

tree lookup_objc_ivar ( id   ) 

Definition at line 216 of file c-lang.c.

Referenced by build_external_ref().

void objc_check_decl ( decl   ) 

int objc_comptypes ( lhs  ,
rhs  ,
reflexive   
)

tree objc_is_id ( arg   ) 

Definition at line 186 of file c-lang.c.

Referenced by build_c_cast(), cp_parser_simple_type_specifier(), and cp_parser_type_name().

tree objc_message_selector ( void   ) 

Definition at line 208 of file c-lang.c.

Referenced by convert_arguments(), convert_for_assignment(), and warn_for_assignment().

static void c_init_options PARAMS ( (void  )  [static, read]

Definition at line 77 of file cplus-dem.c.


Variable Documentation

struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER

Definition at line 126 of file c-lang.c.

const unsigned char tree_code_length[]

Definition at line 145 of file c-lang.c.

Referenced by add_objc_tree_codes(), and java_init().

const char* const tree_code_name[]

const char tree_code_type[]

Definition at line 132 of file c-lang.c.

Referenced by add_objc_tree_codes(), and java_init().


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