#include "ggc.h"#include "function.h"#include "hashtab.h"#include "splay-tree.h"#include "vec.h"#include "varray.h"#include "c-common.h"#include "name-lookup.h"#include "cp-tree.def"


Go to the source code of this file.
| #define abi_node cp_global_trees[CPTI_ABI] |
| #define abort_fndecl cp_global_trees[CPTI_ABORT_FNDECL] |
| #define ANON_AGGRNAME_P | ( | ID_NODE | ) |
Value:
(IDENTIFIER_POINTER (ID_NODE)[0] == JOINER \ && IDENTIFIER_POINTER (ID_NODE)[1] == '_')
| #define ansi_assopname | ( | CODE | ) | (assignment_operator_name_info[(int) (CODE)].identifier) |
| #define ansi_opname | ( | CODE | ) | (operator_name_info[(int) (CODE)].identifier) |
| #define atexit_node cp_global_trees[CPTI_ATEXIT] |
| #define ATTRIBUTE_GCC_CXXDIAG | ( | m, | |||
| n | ) | ATTRIBUTE_NONNULL(m) |
| #define base_ctor_identifier cp_global_trees[CPTI_BASE_CTOR_IDENTIFIER] |
| #define base_dtor_identifier cp_global_trees[CPTI_BASE_DTOR_IDENTIFIER] |
Definition at line 352 of file cp-tree.h.
Referenced by finish_class_member_access_expr(), and tsubst_copy_and_build().
| #define building_stmt_tree | ( | ) | (cur_stmt_list != NULL_TREE) |
| #define C_TYPEDEF_EXPLICITLY_SIGNED | ( | EXP | ) | DECL_LANG_FLAG_1 (EXP) |
| #define call_unexpected_node cp_global_trees[CPTI_CALL_UNEXPECTED] |
| #define CAN_HAVE_FULL_LANG_DECL_P | ( | NODE | ) |
| #define class_type_node cp_global_trees[CPTI_CLASS_TYPE] |
| #define CLASSTYPE_DEBUG_REQUESTED | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->debug_requested) |
| #define CLASSTYPE_DESTRUCTORS | ( | NODE | ) |
Value:
(CLASSTYPE_METHOD_VEC (NODE) \ ? VEC_index (tree, CLASSTYPE_METHOD_VEC (NODE), CLASSTYPE_DESTRUCTOR_SLOT) \ : NULL_TREE)
| #define CLASSTYPE_INTERFACE_KNOWN | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown == 0) |
| #define CLASSTYPE_INTERFACE_ONLY | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_only) |
| #define CLASSTYPE_INTERFACE_UNKNOWN | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown) |
| #define CLASSTYPE_IS_TEMPLATE | ( | NODE | ) |
Value:
(CLASSTYPE_TEMPLATE_INFO (NODE) \ && !CLASSTYPE_USE_TEMPLATE (NODE) \ && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (NODE)))
| #define CLASSTYPE_PRIMARY_TEMPLATE_TYPE | ( | TYPE | ) |
Value:
((CLASSTYPE_USE_TEMPLATE ((TYPE)) \ && !CLASSTYPE_TEMPLATE_SPECIALIZATION ((TYPE))) \ ? TREE_TYPE (DECL_TEMPLATE_RESULT (DECL_PRIMARY_TEMPLATE \ (CLASSTYPE_TI_TEMPLATE ((TYPE))))) \ : (TYPE))
| #define CLASSTYPE_READONLY_FIELDS_NEED_INIT | ( | NODE | ) |
Value:
(TYPE_LANG_SPECIFIC (NODE) \ ? LANG_TYPE_CLASS_CHECK (NODE)->h.const_needs_init : 0)
| #define CLASSTYPE_REF_FIELDS_NEED_INIT | ( | NODE | ) |
Value:
(TYPE_LANG_SPECIFIC (NODE) \ ? LANG_TYPE_CLASS_CHECK (NODE)->h.ref_needs_init : 0)
| #define CLASSTYPE_SPECIALIZATION_OF_PRIMARY_TEMPLATE_P | ( | NODE | ) |
Value:
(CLASS_TYPE_P (NODE) \ && CLASSTYPE_USE_TEMPLATE (NODE) \ && PRIMARY_TEMPLATE_P (CLASSTYPE_TI_TEMPLATE (arg)))
Definition at line 2917 of file cp-tree.h.
Referenced by unify().
| #define cleanup_type cp_global_trees[CPTI_CLEANUP_TYPE] |
| #define complete_ctor_identifier cp_global_trees[CPTI_COMPLETE_CTOR_IDENTIFIER] |
| #define complete_dtor_identifier cp_global_trees[CPTI_COMPLETE_DTOR_IDENTIFIER] |
| #define COMPOUND_LITERAL_P | ( | NODE | ) | (TREE_CODE (NODE) == CONSTRUCTOR && TREE_HAS_CONSTRUCTOR (NODE)) |
Definition at line 2497 of file cp-tree.h.
Referenced by check_initializer(), expand_aggr_init_1(), reshape_init_r(), and reshape_init_vector().
| #define const_type_info_type_node cp_global_trees[CPTI_CONST_TYPE_INFO_TYPE] |
| #define CONV_C_CAST |
Value:
| #define CONV_OLD_CONVERT |
Value:
(CONV_IMPLICIT | CONV_STATIC | CONV_CONST \ | CONV_REINTERPRET)
| #define CP_AGGREGATE_TYPE_P | ( | TYPE | ) |
Value:
(TREE_CODE (TYPE) == VECTOR_TYPE \ ||TREE_CODE (TYPE) == ARRAY_TYPE \ || (CLASS_TYPE_P (TYPE) && !CLASSTYPE_NON_AGGREGATE (TYPE)))
| #define CP_DECL_CONTEXT | ( | NODE | ) | (DECL_CONTEXT (NODE) ? DECL_CONTEXT (NODE) : global_namespace) |
| #define CP_DECL_THREADPRIVATE_P | ( | DECL | ) | (DECL_LANG_SPECIFIC (VAR_DECL_CHECK (DECL))->decl_flags.threadprivate_p) |
Definition at line 2402 of file cp-tree.h.
Referenced by duplicate_decls(), finish_omp_threadprivate(), and redeclaration_error_message().
| #define CP_INTEGRAL_TYPE_P | ( | TYPE | ) |
| #define CP_OMP_CLAUSE_INFO | ( | NODE | ) |
Value:
Definition at line 3071 of file cp-tree.h.
Referenced by cxx_omp_clause_assign_op(), cxx_omp_clause_copy_ctor(), cxx_omp_clause_default_ctor(), cxx_omp_clause_dtor(), and finish_omp_clauses().
| #define CP_TYPE_CONST_NON_VOLATILE_P | ( | NODE | ) |
Value:
((cp_type_quals (NODE) & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE)) \ == TYPE_QUAL_CONST)
| #define CP_TYPE_CONTEXT | ( | NODE | ) | (TYPE_CONTEXT (NODE) ? TYPE_CONTEXT (NODE) : global_namespace) |
| #define ctor_identifier cp_global_trees[CPTI_CTOR_IDENTIFIER] |
| #define current_access_specifier scope_chain->access_specifier |
| #define current_aggr cp_global_trees[CPTI_AGGR_TAG] |
| #define current_class_name scope_chain->class_name |
| #define current_class_ptr (cfun ? cp_function_chain->x_current_class_ptr : NULL_TREE) |
| #define current_class_ref (cfun ? cp_function_chain->x_current_class_ref : NULL_TREE) |
| #define current_class_type scope_chain->class_type |
| #define current_eh_spec_block cp_function_chain->x_eh_spec_block |
| #define current_function_return_value (cp_function_chain->x_return_value) |
| #define current_function_returns_abnormally cp_function_chain->returns_abnormally |
| #define current_function_returns_null cp_function_chain->returns_null |
| #define current_function_returns_value cp_function_chain->returns_value |
| #define current_in_charge_parm cp_function_chain->x_in_charge_parm |
| #define current_lang_base scope_chain->lang_base |
| #define current_lang_name scope_chain->lang_name |
| #define current_namespace scope_chain->old_namespace |
| #define current_template_parms scope_chain->template_parms |
| #define DECL_BASE_CONSTRUCTOR_P | ( | NODE | ) |
Value:
(DECL_CONSTRUCTOR_P (NODE) \ && DECL_NAME (NODE) == base_ctor_identifier)
| #define DECL_BASE_DESTRUCTOR_P | ( | NODE | ) |
Value:
(DECL_DESTRUCTOR_P (NODE) \ && DECL_NAME (NODE) == base_dtor_identifier)
| #define DECL_CLASS_TEMPLATE_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == TEMPLATE_DECL \ && !DECL_UNBOUND_CLASS_TEMPLATE_P (NODE) \ && TREE_CODE (DECL_TEMPLATE_RESULT (NODE)) == TYPE_DECL \ && !DECL_TEMPLATE_TEMPLATE_PARM_P (NODE))
| #define DECL_CLONED_FUNCTION_P | ( | NODE | ) |
Value:
((TREE_CODE (NODE) == FUNCTION_DECL \ || TREE_CODE (NODE) == TEMPLATE_DECL) \ && DECL_LANG_SPECIFIC (NODE) \ && !DECL_LANG_SPECIFIC (NODE)->decl_flags.thunk_p \ && DECL_CLONED_FUNCTION (NODE) != NULL_TREE)
| #define DECL_COMPLETE_CONSTRUCTOR_P | ( | NODE | ) |
Value:
(DECL_CONSTRUCTOR_P (NODE) \ && DECL_NAME (NODE) == complete_ctor_identifier)
| #define DECL_COMPLETE_DESTRUCTOR_P | ( | NODE | ) |
Value:
(DECL_DESTRUCTOR_P (NODE) \ && DECL_NAME (NODE) == complete_dtor_identifier)
| #define DECL_CONST_MEMFUNC_P | ( | NODE | ) |
Value:
(DECL_NONSTATIC_MEMBER_FUNCTION_P (NODE) \ && CP_TYPE_CONST_P (TREE_TYPE (TREE_VALUE \ (TYPE_ARG_TYPES (TREE_TYPE (NODE))))))
| #define DECL_CONV_FN_TYPE | ( | FN | ) | (DECL_CONV_FN_P (FN) ? TREE_TYPE (DECL_NAME (FN)) : NULL_TREE) |
| #define DECL_DEFERRED_FN | ( | DECL | ) | (DECL_LANG_SPECIFIC (DECL)->decl_flags.deferred) |
| #define DECL_DELETING_DESTRUCTOR_P | ( | NODE | ) |
Value:
(DECL_DESTRUCTOR_P (NODE) \ && DECL_NAME (NODE) == deleting_dtor_identifier)
Definition at line 2071 of file cp-tree.h.
Referenced by do_class_using_decl(), finish_member_declaration(), lookup_field_1(), and tsubst_decl().
| #define DECL_DISCRIMINATOR_P | ( | NODE | ) |
| #define DECL_EXTERNAL_LINKAGE_P | ( | DECL | ) | (decl_linkage (DECL) == lk_external) |
| #define DECL_FRIEND_CONTEXT | ( | NODE | ) |
Value:
((DECL_FRIEND_P (NODE) && !DECL_FUNCTION_MEMBER_P (NODE)) \ ? DECL_LANG_SPECIFIC (NODE)->u.f.context \ : NULL_TREE)
| #define DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION | ( | DECL | ) | (DECL_TEMPLATE_INFO (DECL) && !DECL_USE_TEMPLATE (DECL)) |
| #define DECL_FUNCTION_SCOPE_P | ( | NODE | ) |
Value:
(DECL_CONTEXT (NODE) \ && TREE_CODE (DECL_CONTEXT (NODE)) == FUNCTION_DECL)
| #define DECL_FUNCTION_TEMPLATE_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == TEMPLATE_DECL \ && !DECL_UNBOUND_CLASS_TEMPLATE_P (NODE) \ && TREE_CODE (DECL_TEMPLATE_RESULT (NODE)) == FUNCTION_DECL)
| #define DECL_HAS_SHADOWED_FOR_VAR_P | ( | NODE | ) | (VAR_DECL_CHECK (NODE)->decl_with_vis.shadowed_for_var_p) |
Definition at line 2081 of file cp-tree.h.
Referenced by check_for_out_of_scope_variable(), and poplevel().
| #define DECL_HIDDEN_FRIEND_P | ( | NODE | ) | (DECL_LANG_SPECIFIC (DECL_COMMON_CHECK (NODE))->decl_flags.hidden_friend_p) |
Definition at line 2397 of file cp-tree.h.
Referenced by add_function_candidate(), do_nonmember_using_decl(), duplicate_decls(), push_overloaded_decl(), pushdecl_maybe_friend(), and supplement_binding().
| #define DECL_INITIALIZED_IN_CLASS_P | ( | DECL | ) | (DECL_LANG_SPECIFIC (DECL)->decl_flags.initialized_in_class) |
| #define DECL_INTEGRAL_CONSTANT_VAR_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == VAR_DECL \ && CP_TYPE_CONST_NON_VOLATILE_P (TREE_TYPE (NODE)) \ && INTEGRAL_OR_ENUMERATION_TYPE_P (TREE_TYPE (NODE)) \ && DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P (NODE))
| #define DECL_IS_BUILTIN_CONSTANT_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == FUNCTION_DECL \ && DECL_BUILT_IN_CLASS (NODE) == BUILT_IN_NORMAL \ && DECL_FUNCTION_CODE (NODE) == BUILT_IN_CONSTANT_P)
| #define DECL_LANGUAGE | ( | NODE | ) |
Value:
(DECL_LANG_SPECIFIC (NODE) \ ? DECL_LANG_SPECIFIC (NODE)->decl_flags.language \ : (TREE_CODE (NODE) == FUNCTION_DECL \ ? lang_c : lang_cplusplus))
| #define DECL_MAIN_P | ( | NODE | ) |
Value:
(DECL_EXTERN_C_FUNCTION_P (NODE) \ && DECL_NAME (NODE) != NULL_TREE \ && MAIN_NAME_P (DECL_NAME (NODE)))
| #define decl_namespace_list scope_chain->decl_ns_list |
| #define DECL_NAMESPACE_SCOPE_P | ( | NODE | ) |
Value:
(!DECL_TEMPLATE_PARM_P (NODE) \ && TREE_CODE (CP_DECL_CONTEXT (NODE)) == NAMESPACE_DECL)
| #define DECL_NAMESPACE_STD_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == NAMESPACE_DECL \ && CP_DECL_CONTEXT (NODE) == global_namespace \ && DECL_NAME (NODE) == std_identifier)
| #define DECL_NEEDS_VTT_PARM_P | ( | NODE | ) |
Value:
(CLASSTYPE_VBASECLASSES (DECL_CONTEXT (NODE)) \ && (DECL_BASE_CONSTRUCTOR_P (NODE) \ || DECL_BASE_DESTRUCTOR_P (NODE)))
| #define DECL_NONSTATIC_MEMBER_P | ( | NODE | ) |
Definition at line 1827 of file cp-tree.h.
Referenced by cp_finish_decl(), decl_jump_unsafe(), and duplicate_decls().
| #define DECL_OVERLOADED_OPERATOR_P | ( | NODE | ) |
Value:
(IDENTIFIER_OPNAME_P (DECL_NAME (NODE)) \ ? DECL_LANG_SPECIFIC (NODE)->u.f.operator_code : ERROR_MARK)
| #define DECL_SAVED_FUNCTION_DATA | ( | NODE | ) |
Value:
(DECL_LANG_SPECIFIC (FUNCTION_DECL_CHECK (NODE)) \ ->u.f.u.saved_language_function)
| #define DECL_TEMPLATE_INFO | ( | NODE | ) |
Value:
(DECL_LANG_SPECIFIC (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK (NODE)) \ ->decl_flags.u.template_info)
| #define DECL_TEMPLATE_PARM_P | ( | NODE | ) |
| #define DECL_THUNK_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == FUNCTION_DECL \ && DECL_LANG_SPECIFIC (NODE) \ && DECL_LANG_SPECIFIC (NODE)->decl_flags.thunk_p)
| #define DECL_VOLATILE_MEMFUNC_P | ( | NODE | ) |
Value:
(DECL_NONSTATIC_MEMBER_FUNCTION_P (NODE) \ && CP_TYPE_VOLATILE_P (TREE_TYPE (TREE_VALUE \ (TYPE_ARG_TYPES (TREE_TYPE (NODE))))))
| #define DEFARG_INSTANTIATIONS | ( | NODE | ) | (((struct tree_default_arg *)DEFAULT_ARG_CHECK (NODE))->instantiations) |
Definition at line 442 of file cp-tree.h.
Referenced by cp_parser_late_parsing_default_args(), cp_parser_parameter_declaration(), and tsubst_arg_types().
| #define deleting_dtor_identifier cp_global_trees[CPTI_DELETING_DTOR_IDENTIFIER] |
| #define delta_identifier cp_global_trees[CPTI_DELTA_IDENTIFIER] |
| #define delta_type_node cp_global_trees[CPTI_DELTA_TYPE] |
| #define dso_handle_node cp_global_trees[CPTI_DSO_HANDLE] |
| #define dtor_identifier cp_global_trees[CPTI_DTOR_IDENTIFIER] |
| #define dynamic_cast_node cp_global_trees[CPTI_DCAST] |
| #define EMPTY_CONSTRUCTOR_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == CONSTRUCTOR \ && VEC_empty (constructor_elt, \ CONSTRUCTOR_ELTS (NODE)) \ && !TREE_HAS_CONSTRUCTOR (NODE))
| #define empty_except_spec cp_global_trees[CPTI_EMPTY_EXCEPT_SPEC] |
| #define error_operand_p | ( | NODE | ) |
Value:
((NODE) == error_mark_node \ || ((NODE) && TREE_TYPE ((NODE)) == error_mark_node))
| #define FOR_EACH_CLONE | ( | CLONE, | |||
| FN | ) |
Value:
if (TREE_CODE (FN) == FUNCTION_DECL \ && (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (FN) \ || DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (FN))) \ for (CLONE = TREE_CHAIN (FN); \ CLONE && DECL_CLONED_FUNCTION_P (CLONE); \ CLONE = TREE_CHAIN (CLONE))
| #define FROB_CONTEXT | ( | NODE | ) | ((NODE) == global_namespace ? NULL_TREE : (NODE)) |
Definition at line 267 of file cp-tree.h.
Referenced by begin_function_body(), outer_curly_brace_block(), and pushdecl_maybe_friend().
| #define global_delete_fndecl cp_global_trees[CPTI_GLOBAL_DELETE_FNDECL] |
| #define IDENTIFIER_GLOBAL_VALUE | ( | NODE | ) | namespace_binding ((NODE), global_namespace) |
| #define IDENTIFIER_REPO_CHOSEN | ( | NAME | ) | (TREE_LANG_FLAG_6 (NAME)) |
| #define in_base_initializer cp_function_chain->in_base_initializer |
| #define in_charge_identifier cp_global_trees[CPTI_IN_CHARGE_IDENTIFIER] |
| #define in_function_try_handler cp_function_chain->in_function_try_handler |
| #define INTEGRAL_CODE_P | ( | CODE | ) |
| #define IS_AGGR_TYPE | ( | T | ) |
| #define IS_FAKE_BASE_TYPE | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == RECORD_TYPE \ && TYPE_CONTEXT (NODE) && CLASS_TYPE_P (TYPE_CONTEXT (NODE)) \ && CLASSTYPE_AS_BASE (TYPE_CONTEXT (NODE)) == (NODE))
| #define java_boolean_type_node cp_global_trees[CPTI_JAVA_BOOLEAN_TYPE] |
| #define java_byte_type_node cp_global_trees[CPTI_JAVA_BYTE_TYPE] |
| #define java_char_type_node cp_global_trees[CPTI_JAVA_CHAR_TYPE] |
| #define java_double_type_node cp_global_trees[CPTI_JAVA_DOUBLE_TYPE] |
| #define java_float_type_node cp_global_trees[CPTI_JAVA_FLOAT_TYPE] |
| #define java_int_type_node cp_global_trees[CPTI_JAVA_INT_TYPE] |
| #define java_long_type_node cp_global_trees[CPTI_JAVA_LONG_TYPE] |
| #define java_short_type_node cp_global_trees[CPTI_JAVA_SHORT_TYPE] |
| #define jclass_node cp_global_trees[CPTI_JCLASS] |
| #define keyed_classes cp_global_trees[CPTI_KEYED_CLASSES] |
| #define LANG_IDENTIFIER_CAST | ( | NODE | ) | ((struct lang_identifier*)IDENTIFIER_NODE_CHECK (NODE)) |
| #define lang_name_c cp_global_trees[CPTI_LANG_NAME_C] |
| #define lang_name_cplusplus cp_global_trees[CPTI_LANG_NAME_CPLUSPLUS] |
| #define lang_name_java cp_global_trees[CPTI_LANG_NAME_JAVA] |
| #define LOOKUP_HIDDEN (LOOKUP_CONSTRUCTOR_CALLABLE << 1) |
Definition at line 3471 of file cp-tree.h.
Referenced by tsubst_friend_class(), and unqualified_namespace_lookup().
| #define LOOKUP_PREFER_BOTH (LOOKUP_PREFER_TYPES | LOOKUP_PREFER_NAMESPACES) |
| #define nelts_identifier cp_global_trees[CPTI_NELTS_IDENTIFIER] |
| #define NEW_DELETE_OPNAME_P | ( | NAME | ) |
Value:
((NAME) == ansi_opname (NEW_EXPR) \ || (NAME) == ansi_opname (VEC_NEW_EXPR) \ || (NAME) == ansi_opname (DELETE_EXPR) \ || (NAME) == ansi_opname (VEC_DELETE_EXPR))
| #define pfn_identifier cp_global_trees[CPTI_PFN_IDENTIFIER] |
| #define previous_class_level scope_chain->x_previous_class_level |
| #define processing_explicit_instantiation scope_chain->x_processing_explicit_instantiation |
| #define PROCESSING_REAL_TEMPLATE_DECL_P | ( | ) | (processing_template_decl > template_class_depth (current_scope ())) |
| #define processing_specialization scope_chain->x_processing_specialization |
| #define processing_template_decl scope_chain->x_processing_template_decl |
| #define PROMOTES_TO_AGGR_TYPE | ( | NODE, | |||
| CODE | ) |
Value:
(((CODE) == TREE_CODE (NODE) \ && IS_AGGR_TYPE (TREE_TYPE (NODE))) \ || IS_AGGR_TYPE (NODE))
| #define PTRMEM_CST_MEMBER | ( | NODE | ) | (((ptrmem_cst_t)PTRMEM_CST_CHECK (NODE))->member) |
| #define PUBLICLY_UNIQUELY_DERIVED_P | ( | PARENT, | |||
| TYPE | ) |
Value:
(lookup_base ((TYPE), (PARENT), ba_ignore_scope | ba_check | ba_quiet, \ NULL) != NULL_TREE)
Definition at line 3052 of file cp-tree.h.
Referenced by build_qualified_name(), tsubst(), tsubst_copy(), and tsubst_qualified_id().
| #define same_or_base_type_p | ( | TYPE1, | |||
| TYPE2 | ) | comptypes ((TYPE1), (TYPE2), COMPARE_BASE) |
| #define same_type_ignoring_top_level_qualifiers_p | ( | TYPE1, | |||
| TYPE2 | ) | same_type_p (TYPE_MAIN_VARIANT (TYPE1), TYPE_MAIN_VARIANT (TYPE2)) |
| #define same_type_p | ( | TYPE1, | |||
| TYPE2 | ) | comptypes ((TYPE1), (TYPE2), COMPARE_STRICT) |
| #define SCALAR_TYPE_P | ( | TYPE | ) |
Value:
(TYPE_PTRMEM_P (TYPE) \ || TREE_CODE (TYPE) == ENUMERAL_TYPE \ || ARITHMETIC_TYPE_P (TYPE) \ || TYPE_PTR_P (TYPE) \ || TYPE_PTRMEMFUNC_P (TYPE))
| #define SET_BINFO_NEW_VTABLE_MARKED | ( | B | ) |
Value:
(BINFO_NEW_VTABLE_MARKED (B) = 1, \ gcc_assert (!BINFO_PRIMARY_P (B) || BINFO_VIRTUAL_P (B)), \ gcc_assert (TYPE_VFIELD (BINFO_TYPE (B))))
| #define SET_CLASSTYPE_INTERFACE_KNOWN | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown = 0) |
| #define SET_CLASSTYPE_INTERFACE_UNKNOWN | ( | NODE | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown = 1) |
| #define SET_CLASSTYPE_INTERFACE_UNKNOWN_X | ( | NODE, | |||
| X | ) | (LANG_TYPE_CLASS_CHECK (NODE)->interface_unknown = !!(X)) |
| #define SET_DECL_LANGUAGE | ( | NODE, | |||
| LANGUAGE | ) | (DECL_LANG_SPECIFIC (NODE)->decl_flags.language = (LANGUAGE)) |
| #define SET_DECL_THUNK_P | ( | NODE, | |||
| THIS_ADJUSTING | ) |
Value:
(DECL_LANG_SPECIFIC (NODE)->decl_flags.thunk_p = 1, \ DECL_LANG_SPECIFIC (NODE)->u.f.u3sel = 1, \ DECL_LANG_SPECIFIC (NODE)->decl_flags.this_thunk_p = (THIS_ADJUSTING))
| #define SET_IDENTIFIER_GLOBAL_VALUE | ( | NODE, | |||
| VAL | ) | set_namespace_binding ((NODE), global_namespace, (VAL)) |
| #define SET_TMPL_ARGS_LEVEL | ( | ARGS, | |||
| LEVEL, | |||||
| VAL | ) | (TREE_VEC_ELT (ARGS, (LEVEL) - 1) = (VAL)) |
| #define SET_TYPE_TEMPLATE_INFO | ( | NODE, | |||
| VAL | ) |
Value:
(TREE_CODE (NODE) == ENUMERAL_TYPE \ ? (ENUM_TEMPLATE_INFO (NODE) = (VAL)) \ : (CLASSTYPE_TEMPLATE_INFO (NODE) = (VAL)))
| #define STATEMENT_CODE_P | ( | CODE | ) | statement_code_p[(int) (CODE)] |
| #define std_identifier cp_global_trees[CPTI_STD_IDENTIFIER] |
| #define std_node cp_global_trees[CPTI_STD] |
| #define TEMP_NAME_P | ( | ID_NODE | ) | (!strncmp (IDENTIFIER_POINTER (ID_NODE), AUTO_TEMP_NAME, sizeof (AUTO_TEMP_NAME)-1)) |
| #define TEMPLATE_PARM_INDEX_CAST | ( | NODE | ) | ((template_parm_index*)TEMPLATE_PARM_INDEX_CHECK (NODE)) |
| #define TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL | ( | NODE | ) |
| #define TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO | ( | NODE | ) |
Value:
(LANG_TYPE_CLASS_CHECK (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK (NODE)) \ ->template_info)
| #define TEMPLATE_TYPE_PARM_INDEX | ( | NODE | ) |
Value:
(TREE_CHECK3 ((NODE), TEMPLATE_TYPE_PARM, TEMPLATE_TEMPLATE_PARM, \ BOUND_TEMPLATE_TEMPLATE_PARM))->type.values
| #define terminate_node cp_global_trees[CPTI_TERMINATE] |
| #define this_identifier cp_global_trees[CPTI_THIS_IDENTIFIER] |
| #define THUNK_ALIAS | ( | DECL | ) | (DECL_LANG_SPECIFIC (FUNCTION_DECL_CHECK (DECL))->decl_flags.u.template_info) |
| #define THUNK_FIXED_OFFSET | ( | DECL | ) | (DECL_LANG_SPECIFIC (THUNK_FUNCTION_CHECK (DECL))->u.f.u5.fixed_offset) |
| #define THUNK_VIRTUAL_OFFSET | ( | DECL | ) | (LANG_DECL_U2_CHECK (FUNCTION_DECL_CHECK (DECL), 0)->access) |
| #define TINST_DECL | ( | NODE | ) | (((tinst_level_t) TINST_LEVEL_CHECK (NODE))->decl) |
| #define TINST_IN_SYSTEM_HEADER_P | ( | NODE | ) | (((tinst_level_t) TINST_LEVEL_CHECK (NODE))->in_system_header_p) |
| #define TINST_LOCATION | ( | NODE | ) | (((tinst_level_t) TINST_LEVEL_CHECK (NODE))->locus) |
| #define TMPL_ARG | ( | ARGS, | |||
| LEVEL, | |||||
| IDX | ) | (TREE_VEC_ELT (TMPL_ARGS_LEVEL (ARGS, LEVEL), IDX)) |
| #define TMPL_ARGS_HAVE_MULTIPLE_LEVELS | ( | NODE | ) |
Value:
(NODE && TREE_VEC_ELT (NODE, 0) \ && TREE_CODE (TREE_VEC_ELT (NODE, 0)) == TREE_VEC)
| #define TMPL_ARGS_LEVEL | ( | ARGS, | |||
| LEVEL | ) |
Value:
(TMPL_ARGS_HAVE_MULTIPLE_LEVELS (ARGS) \ ? TREE_VEC_ELT (ARGS, (LEVEL) - 1) : (ARGS))
| #define TYPE_FUNCTION_SCOPE_P | ( | NODE | ) |
Value:
(TYPE_CONTEXT (NODE) \ && TREE_CODE (TYPE_CONTEXT (NODE)) == FUNCTION_DECL)
| #define type_info_ptr_type cp_global_trees[CPTI_TYPE_INFO_PTR_TYPE] |
| #define TYPE_NOTHROW_P | ( | NODE | ) |
Value:
(TYPE_RAISES_EXCEPTIONS (NODE) \ && TREE_VALUE (TYPE_RAISES_EXCEPTIONS (NODE)) == NULL_TREE)
| #define TYPE_OBJ_P | ( | NODE | ) |
| #define TYPE_PTRFN_P | ( | NODE | ) |
| #define TYPE_PTRMEM_CLASS_TYPE | ( | NODE | ) |
Value:
(TYPE_PTRMEM_P (NODE) \ ? TYPE_OFFSET_BASETYPE (NODE) \ : TYPE_PTRMEMFUNC_OBJECT_TYPE (NODE))
| #define TYPE_PTRMEM_POINTED_TO_TYPE | ( | NODE | ) |
Value:
(TYPE_PTRMEM_P (NODE) \ ? TREE_TYPE (NODE) \ : TREE_TYPE (TYPE_PTRMEMFUNC_FN_TYPE (NODE)))
| #define TYPE_PTRMEMFUNC_P | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == RECORD_TYPE \ && TYPE_LANG_SPECIFIC (NODE) \ && TYPE_PTRMEMFUNC_FLAG (NODE))
| #define TYPE_PTROBV_P | ( | NODE | ) |
| #define TYPE_REFFN_P | ( | NODE | ) |
Value:
do { \ if (TYPE_LANG_SPECIFIC (NODE) == NULL) \ { \ TYPE_LANG_SPECIFIC (NODE) = GGC_CNEWVAR \ (struct lang_type, sizeof (struct lang_type_ptrmem)); \ TYPE_LANG_SPECIFIC (NODE)->u.ptrmem.h.is_lang_type_class = 0; \ } \ TYPE_LANG_SPECIFIC (NODE)->u.ptrmem.record = (VALUE); \ } while (0)
| #define TYPE_TEMPLATE_INFO | ( | NODE | ) |
Value:
(TREE_CODE (NODE) == ENUMERAL_TYPE \ ? ENUM_TEMPLATE_INFO (NODE) : \ (TREE_CODE (NODE) == BOUND_TEMPLATE_TEMPLATE_PARM \ ? TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO (NODE) : \ (TYPE_LANG_SPECIFIC (NODE) \ ? CLASSTYPE_TEMPLATE_INFO (NODE) \ : NULL_TREE)))
| #define TYPE_VEC_NEW_USES_COOKIE | ( | NODE | ) |
Value:
(CLASS_TYPE_P (NODE) \ && LANG_TYPE_CLASS_CHECK (NODE)->vec_new_uses_cookie)
| #define TYPENAME_TYPE_FULLNAME | ( | NODE | ) | (TYPENAME_TYPE_CHECK (NODE))->type.values |
| #define TYPEOF_TYPE_EXPR | ( | NODE | ) | (TYPEOF_TYPE_CHECK (NODE))->type.values |
| #define unknown_type_node cp_global_trees[CPTI_UNKNOWN_TYPE] |
Definition at line 2077 of file cp-tree.h.
Referenced by do_class_using_decl(), and handle_using_decl().
Definition at line 2074 of file cp-tree.h.
Referenced by do_class_using_decl(), dump_decl(), handle_using_decl(), pp_cxx_statement(), push_using_decl(), tsubst_decl(), and tsubst_expr().
| #define VFIELD_NAME_P | ( | ID_NODE | ) | (!strncmp (IDENTIFIER_POINTER (ID_NODE), VFIELD_NAME, sizeof(VFIELD_NAME)-1)) |
| #define vptr_identifier cp_global_trees[CPTI_VPTR_IDENTIFIER] |
| #define vtable_entry_type cp_global_trees[CPTI_VTABLE_ENTRY_TYPE] |
| #define vtable_index_type cp_global_trees[CPTI_VTABLE_INDEX_TYPE] |
| #define VTABLE_NAME_P | ( | ID_NODE | ) |
Value:
(IDENTIFIER_POINTER (ID_NODE)[1] == 'v' \ && IDENTIFIER_POINTER (ID_NODE)[2] == 't' \ && IDENTIFIER_POINTER (ID_NODE)[3] == JOINER)
| #define vtbl_ptr_type_node cp_global_trees[CPTI_VTBL_PTR_TYPE] |
| #define vtbl_type_node cp_global_trees[CPTI_VTBL_TYPE] |
| #define vtt_parm_identifier cp_global_trees[CPTI_VTT_PARM_IDENTIFIER] |
| #define vtt_parm_type cp_global_trees[CPTI_VTT_PARM_TYPE] |
| #define WANT_VECTOR 32 |
Definition at line 3509 of file cp-tree.h.
Referenced by build_expr_type_conversion(), and build_unary_op().
| #define wchar_decl_node cp_global_trees[CPTI_WCHAR_DECL] |
| typedef int cp_cv_quals |
| typedef struct cp_declarator cp_declarator |
| typedef struct ptrmem_cst* ptrmem_cst_t |
| typedef struct template_parm_index_s template_parm_index |
| typedef struct tinst_level_s* tinst_level_t |
| typedef tree_pair_s* tree_pair_p |
| typedef int(* walk_namespaces_fn)(tree, void *) |
| anonymous enum |
| enum access_kind |
| enum base_access |
| enum base_kind |
| enum cp_decl_spec |
| enum cp_declarator_kind |
| enum cp_id_kind |
| enum cp_lvalue_kind |
| enum cp_storage_class |
| enum cp_tree_index |
| enum cplus_tree_code |
| enum deferring_kind |
| enum languages |
| enum linkage_kind |
| enum overload_flags |
| enum tag_types |
| enum tmpl_spec_kind |
| enum tsubst_flags_t |
| enum unification_kind_t |
Definition at line 129 of file typeck2.c.
References CLASS_TYPE_P, CLASSTYPE_PURE_VIRTUALS, cp_error_at(), D, error(), error_mark_node, NULL_TREE, processing_template_decl, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, and TYPE_SIZE.
Referenced by build_cplus_new(), build_functional_cast(), build_new_1(), check_field_decl(), check_function_type(), cp_finish_decl(), create_array_type_for_decl(), grokparms(), and ocp_convert().
Definition at line 157 of file search.c.
References accessible_p(), ANON_AGGR_TYPE_P, DECL_SELF_REFERENCE_P, same_type_p, TREE_CHAIN, TYPE_CONTEXT, and TYPE_FIELDS.
Definition at line 853 of file search.c.
References access, access_in_type(), ak_protected, ak_public, BINFO_TYPE, context_for_name_lookup(), current_class_type, current_scope(), DECL_THUNK_P, dfs_accessible_post(), dfs_walk_once_accessible(), friend_accessible_p(), NULL, NULL_TREE, processing_template_decl, processing_template_parmlist, protected_accessible_p(), TYPE_BINFO, and TYPE_P.
Definition at line 393 of file semantics.c.
References add_stmt(), build_stmt(), DECL_INITIAL, DECL_SIZE, maybe_cleanup_point_expr_void(), r, and TREE_SIDE_EFFECTS.
Definition at line 1267 of file typeck2.c.
References complete_type(), COMPLETE_TYPE_P, cxx_incomplete_type_diagnostic(), error_mark_node, my_friendly_assert, NULL_TREE, ok(), processing_template_decl, same_type_p, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, and VOID_TYPE_P.
Referenced by cp_parser_type_id_list(), cxx_init_decl_processing(), tsubst(), and tsubst_exception_specification().
Definition at line 127 of file friend.c.
References build_tree_list, CLASS_TYPE_P, DECL_BEFRIENDING_CLASSES, DECL_CONTEXT, DECL_FRIENDLIST, DECL_NAME, error_mark_node, FRIEND_DECLS, FRIEND_NAME, maybe_add_class_template_decl_list(), NULL_TREE, perform_or_defer_access_check(), TREE_CHAIN, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_BINFO, TYPE_MAIN_DECL, uses_template_parms(), and warning.
Definition at line 889 of file class.c.
References build_overload(), CLASSTYPE_CONSTRUCTOR_SLOT, CLASSTYPE_DESTRUCTOR_SLOT, CLASSTYPE_FIRST_CONVERSION_SLOT, CLASSTYPE_METHOD_VEC, comp_template_parms(), COMPLETE_TYPE_P, compparms(), cp_error_at(), DECL_ARTIFICIAL, DECL_CONTEXT, DECL_CONV_FN_P, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_CONV_FN_P, DECL_TEMPLATE_PARMS, error(), error_mark_node, grok_special_member_properties(), NULL_TREE, OVL_CURRENT, OVL_NEXT, processing_template_decl, push_class_level_binding(), same, same_type_p, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_FOR_JAVA, TYPE_HAS_CONVERSION, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_QUALS, VEC, VEC_alloc, VEC_index, VEC_iterate, VEC_length, VEC_quick_insert, VEC_quick_push, VEC_replace, VEC_reserve, and VEC_reserve_exact.
Definition at line 4249 of file class.c.
References build_cplus_method_type(), build_exception_variant(), build_method_type_directly(), DECL_CLONED_FUNCTION, DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, gcc_assert, my_friendly_assert, NULL_TREE, same_type_p, TREE_CHAIN, tree_cons, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, and TYPE_RAISES_EXCEPTIONS.
Referenced by start_function(), and start_preparsed_function().
Definition at line 1812 of file search.c.
References ba_ignore, ba_quiet, ba_unique, base, BASELINK_ACCESS_BINFO, BASELINK_BINFO, BASELINK_P, BINFO_TYPE, CLASS_TYPE_P, DERIVED_FROM_P, error_mark_node, gcc_assert, lookup_base(), my_friendly_assert, and NULL.
Definition at line 12428 of file pt.c.
References dependent_template_arg_p(), error_mark_node, i, TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, TREE_VEC_ELT, and TREE_VEC_LENGTH.
Definition at line 12393 of file pt.c.
References TREE_CHAIN, TREE_VALUE, and type_dependent_expression_p().
Definition at line 1382 of file tree.c.
References array_type_nelts(), build(), build2, fold(), fold_build2, integer_one_node, and sizetype.
Referenced by array_type_nelts_total(), build_new(), build_new_1(), and cp_parser_new_type_id().
Definition at line 1395 of file tree.c.
References array_type_nelts_top(), build(), build2, fold(), fold_build2, n, sizetype, sz(), TREE_CODE, and TREE_TYPE.
Referenced by build_vec_delete(), and build_vec_init().
| int at_function_scope_p | ( | void | ) |
Definition at line 596 of file search.c.
References cs, current_scope(), and TREE_CODE.
Referenced by build_cxx_call(), check_multiple_declarators(), cp_finish_decl(), cp_parser_asm_definition(), cp_parser_constructor_declarator_p(), cp_parser_direct_declarator(), cp_parser_primary_expression(), do_local_using_decl(), finish_anon_union(), finish_enum(), finish_struct(), grokdeclarator(), grokvardecl(), initialize_reference(), and tsubst().
Definition at line 1280 of file typeck.c.
References cp_type_quals(), q1, and q2.
Referenced by build_c_cast(), build_dynamic_cast_1(), build_static_cast(), build_static_cast_1(), can_convert_eh(), comp_cv_qualification(), comp_cv_target_types(), comp_ptr_ttypes_real(), comp_ptr_ttypes_reinterpret(), conditional_conversion(), convert_nontype_argument(), convert_to_reference(), more_qualified_p(), reference_binding(), and reference_compatible_p().
Definition at line 2426 of file semantics.c.
References BASELINK_P, build_baselink(), cl(), currently_open_derived_class(), DECL_CONTEXT, DECL_FUNCTION_MEMBER_P, error_operand_p, get_first_fn(), NULL_TREE, TREE_CODE, TREE_OPERAND, and TYPE_BINFO.
Referenced by finish_call_expr(), finish_id_expression(), and tsubst_copy_and_build().
Definition at line 2149 of file semantics.c.
References ATTR_FLAG_TYPE_IN_PLACE, build_self_reference(), CLASSTYPE_INTERFACE_ONLY, cplus_decl_attributes(), DECL_SOURCE_LOCATION, error(), error_mark_node, flag_pack_struct, get_fileinfo(), input_filename, input_location, c_fileinfo::interface_only, c_fileinfo::interface_unknown, IS_AGGR_TYPE, make_aggr_type(), make_anon_name(), maybe_process_partial_specialization(), processing_template_parmlist, pushclass(), pushtag(), reset_specialization(), SET_CLASSTYPE_INTERFACE_UNKNOWN_X, TREE_CODE, ts_current, TYPE_ANONYMOUS_P, TYPE_BEING_DEFINED, TYPE_IDENTIFIER, TYPE_NAME, TYPE_NEXT_VARIANT, and TYPE_PACKED.
| tree begin_compound_stmt | ( | unsigned | int | ) |
Definition at line 1084 of file semantics.c.
References BCS_FN_BODY, BCS_NO_SCOPE, BCS_TRY_BLOCK, BIND_EXPR_BODY_BLOCK, BIND_EXPR_TRY_BLOCK, build3, do_pushlevel(), keep_next_level(), NULL, processing_template_decl, push_stmt_list(), r, sk_block, sk_try, STATEMENT_LIST_NO_SCOPE, and TREE_SIDE_EFFECTS.
Definition at line 364 of file semantics.c.
References add_stmt(), build_stmt(), DO_BODY, NULL_TREE, push_stmt_list(), and r.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 466 of file except.c.
References add_stmt(), build_stmt(), EH_SPEC_STMTS, NULL_TREE, push_stmt_list(), and r.
Referenced by store_parm_decls().
Definition at line 759 of file pt.c.
References gcc_assert, and processing_explicit_instantiation.
Referenced by cp_parser_explicit_instantiation().
Definition at line 424 of file semantics.c.
References add_stmt(), build_stmt(), do_pushlevel(), flag_new_for_scope, FOR_INIT_STMT, NEW_FOR_SCOPE_P, note_level_for_for(), NULL_TREE, processing_template_decl, push_stmt_list(), r, sk_for, and TREE_CHAIN.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 14913 of file decl.c.
References BCS_FN_BODY, begin_compound_stmt(), begin_constructor_body(), begin_destructor_body(), COMPOUND_STMT_BODY_BLOCK, current_function_decl, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, FUNCTION_NEEDS_BODY_BLOCK, keep_next_level(), NULL_TREE, and processing_template_decl.
Referenced by cp_parser_ctor_initializer_opt_and_function_body(), synthesize_method(), and tsubst_expr().
Definition at line 1003 of file semantics.c.
References begin_compound_stmt(), begin_try_block(), FN_TRY_BLOCK_P, and r.
Definition at line 762 of file semantics.c.
References add_stmt(), build_stmt(), do_pushlevel(), HANDLER_BODY, note_level_for_catch(), NULL_TREE, r, and sk_catch.
Referenced by cp_parser_handler(), and tsubst_expr().
Definition at line 244 of file semantics.c.
References add_stmt(), begin_cond(), build_stmt(), do_pushlevel(), IF_COND, NULL_TREE, r, sk_block, and TREE_CHAIN.
Referenced by begin_destructor_body(), build_vec_init(), construct_virtual_base(), cp_parser_selection_statement(), do_static_initialization_or_destruction(), expand_static_init(), finish_destructor_body(), finish_for_cond(), finish_while_stmt_cond(), one_static_initialization_or_destruction(), simplify_loop_decl_cond(), start_static_initialization_or_destruction(), and tsubst_expr().
Definition at line 3765 of file semantics.c.
References begin_omp_structured_block(), and keep_next_level().
Referenced by cp_parser_omp_parallel(), and tsubst_expr().
Definition at line 3751 of file semantics.c.
References do_pushlevel(), and sk_omp.
Referenced by begin_omp_parallel(), cp_parser_omp_for(), cp_parser_omp_sections_scope(), cp_parser_omp_structured_block(), and tsubst_expr().
Definition at line 718 of file pt.c.
References begin_scope(), check_specialization_scope(), note_template_header(), NULL, and sk_template_spec.
Referenced by cp_parser_class_head(), cp_parser_explicit_specialization(), and cp_parser_template_declaration_after_export().
Definition at line 1153 of file semantics.c.
References begin_stmt_tree(), cfun, keep_next_level(), last_tree, push_stmt_list(), and scope_chain.
Referenced by begin_init_stmts(), cp_parser_primary_expression(), tsubst_copy(), and tsubst_copy_and_build().
Definition at line 534 of file semantics.c.
References add_stmt(), begin_cond(), build_stmt(), do_pushlevel(), NULL_TREE, r, sk_block, SWITCH_STMT_COND, and TREE_CHAIN.
Referenced by cp_parser_selection_statement(), and tsubst_expr().
Definition at line 660 of file pt.c.
References begin_scope(), note_template_header(), NULL, processing_template_decl, and sk_template_parms.
Referenced by cp_parser_template_declaration_after_export(), cp_parser_template_parameter_list(), and cp_parser_type_parameter().
Definition at line 655 of file semantics.c.
References add_stmt(), build_stmt(), NULL_TREE, push_stmt_list(), r, and TRY_STMTS.
Referenced by begin_function_try_block(), build_vec_init(), cp_parser_try_block(), and tsubst_expr().
Definition at line 306 of file semantics.c.
References add_stmt(), begin_cond(), build_stmt(), do_pushlevel(), NULL_TREE, r, sk_block, WHILE_BODY, and WHILE_COND.
Referenced by cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 1212 of file tree.c.
References build_decl, copy_node, DECL_NAME, make_aggr_type(), NULL_TREE, t2, TEMPLATE_PARM_DECL, TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL, TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO, TEMPLATE_TYPE_PARM_INDEX, tree_cons, TREE_TYPE, TYPE_NAME, TYPE_SIZE, and TYPE_STUB_DECL.
Referenced by lookup_template_class().
Definition at line 3033 of file search.c.
References BINFO_TYPE, CLASSTYPE_VBASECLASSES, NULL, NULL_TREE, purpose_member(), SAME_BINFO_TYPE_P, TREE_VALUE, VEC, and VEC_iterate.
Referenced by base_derived_from(), build_base_path(), build_ctor_vtbl_group(), build_special_member_call(), build_vbase_offset_vtbl_entries(), build_vtt_inits(), copied_binfo(), copy_binfo(), dfs_accumulate_vtbl_inits(), dfs_ctor_vtable_bases_queue_p(), dfs_marked_real_bases_queue_p(), dfs_set_offset_for_unshared_vbases(), dfs_unmarked_real_bases_queue_p(), dfs_unshared_virtual_bases(), dump_class_hierarchy_r(), expand_member_init(), find_vbase_instance(), finish_vtbls(), get_original_base(), get_primary_binfo(), get_pseudo_ti_init(), is_subobject_of_p(), is_subobject_of_p_1(), layout_virtual_bases(), mark_primary_virtual_base(), original_binfo(), propagate_binfo_offsets(), update_vtable_entry_for_fn(), and walk_subobject_offsets().
Definition at line 3000 of file search.c.
References BINFO_INHERITANCE_CHAIN, BINFO_VIRTUAL_P, NULL_TREE, and TREE_VIA_VIRTUAL.
Referenced by get_delta_difference().
Definition at line 59 of file typeck2.c.
References ba_ignore, ba_unique, error_mark_node, error_not_base_type(), lookup_base(), NULL, and NULL_TREE.
Referenced by expand_ptrmemfunc_cst().
Definition at line 3016 of file search.c.
References BINFO_INHERITANCE_CHAIN, BINFO_TYPE, BINFO_VIRTUAL_P, CLASSTYPE_VBASECLASSES, NULL_TREE, SAME_BINFO_TYPE_P, same_type_p, and TREE_VIA_VIRTUAL.
Referenced by accumulate_vtbl_inits(), dfs_build_secondary_vptr_vtt_inits(), and dfs_lookup_base().
Definition at line 1493 of file tree.c.
References bot_manip(), bot_replace(), NULL, splay_tree_compare_pointers(), splay_tree_delete(), splay_tree_new(), and walk_tree().
Referenced by bot_manip(), and convert_default_arg().
Definition at line 319 of file call.c.
References addr(), build1, build_address(), build_pointer_type(), cxx_mark_addressable(), decay_conversion(), default_conversion(), error_mark_node, get_member_function_from_ptrfunc(), staticp, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, and TREE_TYPE.
Referenced by build_call(), build_function_call(), build_function_call_real(), build_over_call(), convert_member_func_to_ptr(), cp_convert_to_pointer(), expand_ptrmemfunc_cst(), and get_member_function_from_ptrfunc().
Definition at line 3899 of file typeck.c.
References addr(), build1, build_pointer_type(), cxx_mark_addressable(), error_mark_node, error_operand_p, staticp, TREE_CONSTANT, and TREE_TYPE.
Definition at line 1064 of file init.c.
References begin_init_stmts(), build_vec_init(), cp_type_quals(), current_stmt_tree(), error(), error_mark_node, expand_aggr_init_1(), finish_init_stmts(), is_global(), LOOKUP_NORMAL, LOOKUP_ONLYCONVERTING, NULL_TREE, same_type_p, stmts_are_full_exprs_p(), TREE_CODE, TREE_READONLY, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TYPE_BINFO, TYPE_MAIN_VARIANT, and TYPE_UNQUALIFIED.
Referenced by build_init(), build_vec_init(), check_initializer(), perform_member_init(), simplify_aggr_init_expr(), and simplify_aggr_init_exprs_r().
Definition at line 1243 of file c-typeck.c.
References build(), build2, build4, build_array_ref(), build_binary_op(), build_conditional_expr(), build_indirect_ref(), C_DECL_REGISTER, c_mark_addressable(), char_type_node, COMPLETE_TYPE_P, cp_build_binary_op, CP_TYPE_CONST_P, CP_TYPE_VOLATILE_P, cxx_mark_addressable(), DECL_REGISTER, default_conversion(), error(), error_mark_node, extra_warnings, flag_isoc99, fold(), fold_if_not_in_template(), gcc_assert, int_fits_type_p(), INTEGRAL_OR_ENUMERATION_TYPE_P, INTEGRAL_TYPE_P, lvalue_p(), NULL_TREE, pedantic, pedwarn(), perform_integral_promotions(), require_complete_type(), obstack::temp, TREE_CODE, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_DOMAIN, TYPE_MAIN_VARIANT, TYPE_READONLY, TYPE_SIZE, TYPE_VALUES, TYPE_VOLATILE, warn_array_subscript_with_type_char(), warn_char_subscripts, and warning.
Referenced by build_array_ref(), build_new_op(), build_selector_reference(), build_typed_selector_reference(), build_vtable_entry_ref(), build_vtbl_ref_1(), c_parser_postfix_expression(), c_parser_postfix_expression_after_primary(), and grok_array_decl().
Definition at line 260 of file decl2.c.
References cp_build_parm_decl(), DECL_ARTIFICIAL, and TREE_READONLY.
Referenced by build_this_parm(), grokclassfn(), and maybe_retrofit_in_chrg().
Definition at line 255 of file class.c.
References binfo_for_vbase(), BINFO_INHERITANCE_CHAIN, BINFO_OFFSET, BINFO_TYPE, BINFO_VIRTUAL_P, BINFO_VPTR_FIELD, BINFO_VPTR_INDEX, boolean_type_node, build(), build1, build2, build3, build_address(), build_indirect_ref(), build_pointer_type(), build_simple_base_path(), build_unary_op(), build_vfield_ref(), convert(), convert_to_integer(), cp_build_qualified_type, cp_convert(), cp_type_quals(), current_in_charge_parm, current_vtt_parm, error(), error_mark_node, fold(), gcc_assert, in_base_initializer, integer_zero_node, integer_zerop(), is_empty_class(), my_friendly_assert, NULL, NULL_TREE, offset, out, ptrdiff_type_node, resolves_to_fixed_type_p(), SAME_BINFO_TYPE_P, same_type_p, save_expr(), size_diffop(), target_type(), TREE_CODE, TREE_CONSTANT, TREE_INVARIANT, TREE_SIDE_EFFECTS, TREE_TYPE, TREE_VIA_VIRTUAL, TYPE_MAIN_VARIANT, TYPE_VFIELD, and zero.
Referenced by build_class_member_access_expr(), build_dynamic_cast_1(), build_over_call(), build_scoped_ref(), build_special_member_call(), build_static_cast(), build_static_cast_1(), build_unary_op(), build_up_reference(), convert_to_base(), convert_to_pointer_force(), cp_convert_to_pointer(), dfs_initialize_vtbl_ptrs(), do_build_assign_ref(), do_build_copy_constructor(), emit_mem_initializers(), get_member_function_from_ptrfunc(), and resolve_offset_ref().
Definition at line 1422 of file search.c.
References BASELINK_ACCESS_BINFO, BASELINK_BINFO, BASELINK_FUNCTIONS, BASELINK_OPTYPE, build(), gcc_assert, make_node, my_friendly_assert, NULL_TREE, TREE_CODE, TREE_TYPE, and TYPE_P.
Definition at line 3648 of file c-typeck.c.
References alias_sets_conflict_p(), alias_sets_might_conflict_p(), at_least_as_qualified_p(), bound_pmf_p(), build(), build1, build_const_cast_1(), build_constructor(), build_constructor_single(), build_int_cst_wide(), build_min(), build_nop(), build_pointer_type(), build_reinterpret_cast_1(), build_static_cast_1(), build_tree_list, CLASS_TYPE_P, complete_type_or_else, COMPLETE_TYPE_P, comptypes(), CONSTANT_CLASS_P, CONV_C_CAST, convert(), convert_force(), convert_from_reference(), convert_to_reference(), convert_to_void(), copy_node, decl_constant_value(), DECL_NAME, DECL_P, default_conversion(), default_function_array_conversion(), digest_init(), error(), error_mark_node, error_operand_p, EXPR_P, flag_objc, flag_strict_aliasing, gcc_assert, get_alias_set(), HOST_WIDE_INT, IDENTIFIER_POINTER, integer_zerop(), IS_AGGR_TYPE, LOOKUP_COMPLAIN, non_lvalue(), non_reference(), NULL, null_pointer_constant_p(), NULL_TREE, objc_is_id(), objc_is_object_ptr(), pedantic, pedwarn(), processing_template_decl, real_lvalue_p(), resolve_offset_ref(), same_type_p, strict_aliasing_warning(), STRICT_ALIGNMENT, TREE_CHAIN, TREE_CODE, tree_cons, TREE_CONSTANT, TREE_CONSTANT_OVERFLOW, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_INVARIANT, TREE_OPERAND, TREE_OVERFLOW, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_ALIGN, TYPE_FIELDS, TYPE_MAIN_VARIANT, TYPE_MODE, TYPE_NAME, TYPE_PRECISION, TYPE_QUALS, void_type_node, VOID_TYPE_P, warn_bad_function_cast, warn_cast_align, warn_cast_qual, warn_strict_aliasing, and warning.
Referenced by build_functional_cast(), build_objc_method_call(), build_ptrmemfunc(), build_selector(), build_static_cast(), build_typed_selector_reference(), build_vtable_entry_ref(), c_cast_expr(), cp_parser_cast_expression(), generate_classref_translation_entry(), generate_shared_structures(), and reparse_absdcl_as_casts().
Definition at line 355 of file call.c.
References abort, build(), build0, build2, build3, build_addr_func(), build_nt(), cfun, current_function_returns_abnormally, DECL_ARTIFICIAL, DECL_BUILT_IN, DECL_CONSTRUCTOR_P, DECL_NAME, error_mark_node, gcc_assert, IDENTIFIER_POINTER, is_empty_class(), mark_used(), NULL_TREE, require_complete_eh_spec_types(), sorry(), strncmp(), tmp, TREE_ADDRESSABLE, TREE_CHAIN, TREE_CODE, TREE_DEPRECATED, TREE_HAS_CONSTRUCTOR, TREE_NOTHROW, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_NOTHROW_P, TYPE_PTR_P, TYPE_PTRMEMFUNC_P, and warn_deprecated_use().
Referenced by build_builtin_delete_call(), build_cxx_call(), build_over_call(), call_builtin_trap(), cp_protect_cleanup_actions(), cxx_expand_expr(), cxx_omp_clause_apply_fn(), expand_static_init(), genericize_eh_spec_block(), genrtl_eh_spec_block(), gimplify_must_not_throw_expr(), and use_thunk().
Definition at line 1856 of file typeck.c.
References ANON_AGGR_TYPE_P, ba_ignore, ba_unique, BASELINK_BINFO, BASELINK_FUNCTIONS, BASELINK_P, BINFO_TYPE, bk_via_virtual, build(), build2, build3, build_base_path(), build_class_member_access_expr(), build_conditional_expr(), build_indirect_ref(), CLASS_TYPE_P, CLASSTYPE_NON_POD_P, complete_type_or_else, convert_from_reference(), cp_build_qualified_type, cp_type_quals(), currently_open_class(), DECL_CLASS_CONTEXT, DECL_CONTEXT, DECL_FIELD_IS_BASE, DECL_MUTABLE_P, DECL_P, DECL_STATIC_FUNCTION_P, DERIVED_FROM_P, error(), error_mark_node, error_operand_p, fold(), fold_if_not_in_template(), gcc_assert, integer_zerop(), lookup_anon_field(), lookup_base(), mark_used(), my_friendly_assert, NULL, NULL_TREE, result, same_type_ignoring_top_level_qualifiers_p, same_type_p, skip_evaluation, obstack::temp, TREE_CODE, TREE_DEPRECATED, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_CONTEXT, TYPE_MAIN_VARIANT, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, TYPE_UNQUALIFIED, unary_complex_lvalue(), unknown_type_node, warn_deprecated_use(), and warning.
Definition at line 2035 of file decl2.c.
References build1, build_delete(), build_pointer_type(), cxx_mark_addressable(), gcc_assert, LOOKUP_DESTRUCTOR, LOOKUP_NONVIRTUAL, LOOKUP_NORMAL, mark_used(), my_friendly_assert, sfk_complete_destructor, TREE_CODE, TREE_TYPE, and TYPE_HAS_TRIVIAL_DESTRUCTOR.
Referenced by do_static_destruction(), one_static_initialization_or_destruction(), and register_dtor_fn().
Definition at line 3073 of file c-typeck.c.
References build2, convert_to_void(), default_function_array_conversion(), error_mark_node, input_location, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, VOID_TYPE_P, warn_if_unused_value(), warn_unused_value, and warning.
Definition at line 3402 of file c-typeck.c.
References add_builtin_candidates(), ansi_opname, any_viable(), args, ARITHMETIC_TYPE_P, conversion::bad_p, boolean_type_node, build(), build1, build3, build_pointer_type(), build_target_expr_with_type(), build_type_variant, c_common_truthvalue_conversion(), c_common_type(), c_tree_expr_nonnegative_p(), ck_ambig, CLASS_TYPE_P, common_pointer_type(), common_type(), comp_target_types(), COMPLEX_TYPE, composite_pointer_type(), conditional_conversion(), conversion_obstack, conversion_obstack_alloc(), convert_and_check(), convert_from_reference(), convert_like, z_candidate::convs, cp_build_qualified_type, cp_convert(), decay_conversion(), default_conversion(), error(), error_mark_node, error_operand_p, extra_warnings, flag_cond_mismatch, fold(), fold_build3, fold_if_not_in_template(), force_rvalue(), get_target_expr(), ICS_BAD_FLAG, integer_zerop(), IS_AGGR_TYPE, conversion::kind, LOOKUP_NORMAL, lvalue_p(), non_lvalue(), NULL, null_pointer_constant_p(), null_pointer_node, null_ptr_cst_p(), NULL_TREE, obstack_free, op_error(), p, pedantic, pedantic_non_lvalue(), pedwarn(), perform_implicit_conversion(), print_z_candidates(), qualify_type(), real_lvalue_p(), result, rvalue(), same_type_p, save_expr(), skip_evaluation, splice_viable(), stabilize_reference(), tourney(), TREE_CODE, tree_expr_nonnegative_p(), tree_expr_nonnegative_warnv_p(), TREE_READONLY, TREE_THIS_VOLATILE, TREE_TYPE, TREE_UNSIGNED, TREE_VEC_ELT, type_after_usual_arithmetic_conversions(), TYPE_MAIN_VARIANT, type_promotes_to(), TYPE_PTR_P, TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEM_P, TYPE_PTRMEMFUNC_P, TYPE_QUALS, TYPE_UNSIGNED, unlowered_expr_type(), valid_operands(), void_type_node, VOID_TYPE_P, warn_sign_compare, and warning.
Referenced by build_array_ref(), build_class_member_access_expr(), build_modify_expr(), build_new_1(), build_new_op(), build_x_conditional_expr(), c_parser_conditional_expression(), get_member_function_from_ptrfunc(), rationalize_conditional_expr(), and unary_complex_lvalue().
Definition at line 4971 of file typeck.c.
References build1, build_const_cast_1(), build_min(), build_static_cast(), build_unary_op(), comp_ptr_ttypes_const(), convert_from_reference(), cp_convert(), decay_conversion(), error(), error_mark_node, error_operand_p, NULL, POINTER_TYPE_P, processing_template_decl, real_lvalue_p(), resolve_offset_ref(), same_type_ignoring_top_level_qualifiers_p, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, and type_dependent_expression_p().
Referenced by build_expr_from_tree(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 551 of file tree.c.
References build_cplus_array_type_1(), cp_build_qualified_type, cp_type_quals(), TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, and TYPE_UNQUALIFIED.
Referenced by build_ctor_vtbl_group(), build_new_1(), build_vtt(), cp_fname_init(), create_array_type_for_decl(), cxx_init_decl_processing(), dump_expr(), grokdeclarator(), layout_vtable_decl(), merge_types(), tinfo_base_init(), and tsubst().
Definition at line 314 of file tree.c.
References abstract_virtuals_error(), AGGR_INIT_VIA_CTOR_P, build(), build3, build_local_temp(), build_target_expr(), convert(), current_function_decl, DECL_ARTIFICIAL, DECL_CONSTRUCTOR_P, DECL_CONTEXT, layout_decl(), NULL_TREE, TARGET_EXPR_IMPLICIT_P, TREE_ADDRESSABLE, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, and void_type_node.
Referenced by bot_manip(), build_cxx_call(), build_functional_cast(), build_modify_expr(), convert_like_real(), ocp_convert(), perform_direct_initialization_if_possible(), unary_complex_lvalue(), and use_thunk().
Definition at line 4941 of file call.c.
References at_function_scope_p(), build_call(), build_cplus_new(), cfun, convert_from_reference(), cp_function_chain, error_mark_node, fold_if_not_in_template(), get_callee_fndecl(), IS_AGGR_TYPE, require_complete_type(), TREE_NOTHROW, TREE_TYPE, and VOID_TYPE_P.
| tree build_delete | ( | tree | , | |
| tree | , | |||
| special_function_kind | , | |||
| int | , | |||
| int | ||||
| ) |
Definition at line 3071 of file init.c.
References array_type_nelts(), build(), build2, build3, build_builtin_delete_call(), build_dtor_call(), build_indirect_ref(), build_op_delete_call(), build_pointer_type(), build_unary_op(), build_vec_delete(), CLASSTYPE_DESTRUCTORS, CLASSTYPE_LAZY_DESTRUCTOR, complete_type(), complete_type_or_diagnostic(), COMPLETE_TYPE_P, convert_force(), cp_build_binary_op, cxx_incomplete_type_diagnostic(), cxx_sizeof_nowarn, DECL_VIRTUAL_P, error(), error_mark_node, fold(), gcc_assert, inform(), integer_one_node, integer_zero_node, IS_AGGR_TYPE, lazily_declare_fn(), LOOKUP_DESTRUCTOR, LOOKUP_GLOBAL, LOOKUP_NORMAL, my_friendly_assert, NULL, NULL_TREE, save_expr(), sfk_complete_destructor, sfk_deleting_destructor, sfk_destructor, TREE_CODE, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_DOMAIN, TYPE_GETS_REG_DELETE, TYPE_HAS_DESTRUCTOR, TYPE_HAS_TRIVIAL_DESTRUCTOR, TYPE_MAIN_VARIANT, void_type_node, VOID_TYPE_P, void_zero_node, and warning.
Referenced by build_cleanup(), build_method_call(), build_scoped_method_call(), build_vbase_delete(), build_vec_delete_1(), cxx_maybe_build_cleanup(), delete_sanity(), perform_member_init(), and push_base_cleanups().
Definition at line 1899 of file tree.c.
References build1, build_indirect_ref(), build_pointer_type(), NULL, and void_zero_node.
Referenced by build_new_1(), finish_call_expr(), and maybe_dummy_object().
Definition at line 684 of file rtti.c.
References build_dynamic_cast_1(), build_min(), convert_from_reference(), error_mark_node, processing_template_decl, and TREE_SIDE_EFFECTS.
Referenced by build_expr_from_tree(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 14160 of file decl.c.
References add_double, build_decl, build_int_cst_wide(), build_lang_decl(), constant_expression_warning(), cp_build_binary_op, current_class_type, current_scope(), decl_constant_value(), DECL_CONTEXT, DECL_INITIAL, default_conversion(), error(), error_mark_node, finish_member_declaration(), FROB_CONTEXT, HOST_WIDE_INT, int_fits_type_p(), integer_one_node, integer_zero_node, integral_constant_value(), lo, NULL_TREE, perform_integral_promotions(), processing_template_decl, pushdecl(), STRIP_TYPE_NOPS, TREE_CODE, tree_cons, TREE_CONSTANT, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, tree_int_cst_lt(), TREE_INVARIANT, TREE_READONLY, TREE_TYPE, TREE_VALUE, and TYPE_VALUES.
Definition at line 143 of file except.c.
References build(), build0, and ptr_type_node.
Referenced by do_begin_catch(), do_get_exception_ptr(), expand_start_catch_block(), genericize_eh_spec_block(), and genrtl_eh_spec_block().
Definition at line 1189 of file tree.c.
References build_type_copy(), build_variant_type_copy(), check_qualified_type(), comp_except_specs(), TYPE_MAIN_VARIANT, TYPE_NEXT_VARIANT, TYPE_QUALS, and TYPE_RAISES_EXCEPTIONS.
Referenced by adjust_clone_args(), build_clone(), build_op_delete_call(), check_function_type(), coerce_delete_type(), coerce_new_type(), copy_default_args_to_explicit_spec(), cp_build_type_attribute_variant(), cxx_init_decl_processing(), duplicate_decls(), grokfndecl(), GTY(), implicitly_declare_fn(), maybe_retrofit_in_chrg(), merge_types(), regenerate_decl_from_template(), revert_static_member_fn(), and tsubst().
Definition at line 1027 of file cvt.c.
References build_user_type_conversion(), complete_type_or_else, convert_from_reference(), decay_conversion(), default_conversion(), error(), error_mark_node, IS_AGGR_TYPE, lookup_conversions(), LOOKUP_NORMAL, non_reference(), null_node, null_ptr_cst_p(), NULL_TREE, resolve_offset_ref(), TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_HAS_CONVERSION, WANT_ENUM, WANT_FLOAT, WANT_INT, WANT_NULL, WANT_POINTER, WANT_VECTOR, warning, and winner.
Referenced by build_new(), build_unary_op(), cp_parser_direct_new_declarator(), delete_sanity(), finish_switch_cond(), and grok_array_decl().
Definition at line 1164 of file typeck2.c.
References abstract_virtuals_error(), build(), build_c_cast(), build_compound_expr(), build_cplus_new(), build_min(), build_special_member_call(), complete_ctor_identifier, complete_type_or_else, error(), error_mark_node, get_target_expr(), IDENTIFIER_HAS_TYPE_VALUE, IDENTIFIER_TYPE_VALUE, integer_zero_node, IS_AGGR_TYPE, lookup_name(), LOOKUP_NORMAL, NULL_TREE, pedwarn(), processing_template_decl, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_BINFO, TYPE_HAS_DEFAULT_CONSTRUCTOR, and TYPE_NEEDS_CONSTRUCTING.
Referenced by build_expr_from_tree(), build_member_call(), cp_parser_functional_cast(), process_init_constructor(), reparse_absdcl_as_expr(), reparse_decl_as_expr(), and tsubst_copy_and_build().
Definition at line 1187 of file c-typeck.c.
References build1, canonical_type_variant(), COMPLETE_OR_VOID_TYPE_P, CP_TYPE_CONST_P, CP_TYPE_VOLATILE_P, current_class_ptr, current_class_ref, decay_conversion(), default_conversion(), error(), error_mark_node, flag_volatile, POINTER_TYPE_P, same_type_p, skip_evaluation, TREE_CODE, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_PTR_P, TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEM_P, TYPE_PTRMEMFUNC_P, TYPE_READONLY, TYPE_VOLATILE, VOID_TYPE_P, and warning.
Referenced by build_array_ref(), build_base_path(), build_class_member_access_expr(), build_delete(), build_dummy_object(), build_field_call(), build_headof(), build_ivar_reference(), build_new_1(), build_new_op(), build_over_call(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_simple_base_path(), build_throw(), build_typeid(), build_unary_op(), build_vec_delete(), build_vec_init(), build_vfn_ref(), build_x_arrow(), build_x_indirect_ref(), build_x_va_arg(), c_finish_omp_atomic(), c_parser_postfix_expression_after_primary(), c_parser_unary_expression(), convert_from_reference(), convert_like_real(), emit_mem_initializers(), expand_start_catch_block(), expand_virtual_init(), get_member_function_from_ptrfunc(), get_super_receiver(), get_tinfo_decl_dynamic(), get_typeid(), GTY(), resolve_offset_ref(), stabilize_expr(), start_function(), and start_preparsed_function().
Definition at line 2068 of file init.c.
References build_decl, DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_IGNORED_P, DECL_NAME, error(), error_mark_node, fatal_error(), get_identifier(), IDENTIFIER_GLOBAL_VALUE, internal_error(), jclass_node, make_decl_rtl(), mangle_decl(), NULL, NULL_TREE, pushdecl_top_level(), TREE_CHAIN, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, and TYPE_FIELDS.
Referenced by build_eh_type_type(), build_new_1(), and eh_type_info().
Definition at line 1380 of file lex.c.
References build_decl, DECL_NO_STATIC_CHAIN, and retrofit_lang_decl().
Referenced by build_enumerator(), build_library_fn_1(), build_self_reference(), build_template_decl(), build_vtable(), cxx_init_decl_processing(), do_class_using_decl(), do_namespace_alias(), finish_template_template_parm(), get_tinfo_decl(), grokdeclarator(), grokfndecl(), grokvardecl(), implicitly_declare(), implicitly_declare_fn(), push_namespace(), push_namespace_with_attribs(), push_using_decl(), start_cleanup_fn(), start_objects(), and tinfo_base_init().
Definition at line 7357 of file decl.c.
References build_library_fn_1(), and TREE_NOTHROW.
Referenced by build_library_fn_ptr(), and push_library_fn().
Definition at line 1083 of file typeck2.c.
References ba_check, build(), build_min_nt(), cp_build_qualified_type, cp_type_quals(), decay_conversion(), error(), error_mark_node, field_type(), IS_AGGR_TYPE, lookup_base(), NULL, processing_template_decl, resolve_offset_ref(), TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_METHOD_BASETYPE, TYPE_PTRMEM_P, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, and TYPE_UNQUALIFIED.
Referenced by build_expr_from_tree(), build_new_op(), and build_x_binary_op().
| tree build_memfn_type | ( | tree | , | |
| tree | , | |||
| cp_cv_quals | ||||
| ) |
Referenced by grokdeclarator().
Definition at line 1286 of file tree.c.
References i, length, make_node, p, TREE_CODE_LENGTH, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_P, va_arg, va_end, va_start, and x.
Definition at line 1316 of file tree.c.
References COMPOUND_EXPR_OVERLOADED, i, length, make_node, p, TREE_CODE, TREE_CODE_LENGTH, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, va_arg, va_end, va_start, and x.
| tree build_min_nt | ( | enum | tree_code, | |
| ... | ||||
| ) |
Definition at line 3896 of file c-typeck.c.
References _, boolean_type_node, break_out_calls(), build(), build2, build3, build_binary_op(), build_compound_expr(), build_conditional_expr(), build_cplus_new(), build_modify_expr(), build_new_op(), build_opfncall(), build_special_member_call(), build_tree_list, build_vec_init(), c_dialect_objc, C_TYPE_FIELDS_READONLY, CLASS_TYPE_P, complete_ctor_identifier, cond, convert(), convert_for_assignment(), convert_for_initialization(), convert_force(), convert_from_reference(), copy_node, cp_build_binary_op, cp_convert(), CP_TYPE_CONST_P, current_function_decl, DECL_ARTIFICIAL, default_conversion(), default_function_array_conversion(), error(), error_mark_node, error_operand_p, gcc_assert, get_unwidened(), ic_assign, IS_AGGR_TYPE, IS_AGGR_TYPE_CODE, LOOKUP_NORMAL, lv_assign, lvalue_or_else(), lvalue_p(), make_node, my_friendly_assert, NULL, NULL_TREE, objc_generate_write_barrier(), pedantic_lvalue_warning(), pedwarn(), PROMOTES_TO_AGGR_TYPE, readonly_error(), readonly_warning(), require_complete_type(), resolve_offset_ref(), result, same_or_base_type_p, same_type_p, save_expr(), stabilize_expr(), stabilize_reference(), STRIP_TYPE_NOPS, TREE_CODE, tree_cons, TREE_NO_UNUSED_WARNING, TREE_NO_WARNING, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_BINFO, TYPE_MAIN_VARIANT, TYPE_NEEDS_CONSTRUCTING, TYPE_READONLY, void_type_node, and VOID_TYPE_P.
Referenced by build_modify_expr(), build_new_1(), build_new_op(), build_unary_op(), build_vec_delete_1(), build_vec_init(), build_x_modify_expr(), c_expand_asm_operands(), c_finish_omp_atomic(), c_finish_omp_for(), c_parser_expr_no_commas(), c_parser_omp_for_loop(), do_build_assign_ref(), expand_start_catch_block(), expand_virtual_init(), finish_omp_for(), get_super_receiver(), get_temp_regvar(), perform_member_init(), and set_guard().
Definition at line 1651 of file init.c.
References any_type_dependent_arguments_p(), build1, build4, build_expr_type_conversion(), build_min(), build_new_1(), build_non_dependent_args(), build_non_dependent_expr(), build_pointer_type(), build_raw_new_expr(), cp_convert(), cp_save_expr(), dependent_type_p(), error(), error_mark_node, integer_zero_node, integer_zerop(), NEW_EXPR_USE_GLOBAL, pedwarn(), processing_template_decl, save_expr(), sizetype, TREE_CODE, TREE_NO_WARNING, TREE_SIDE_EFFECTS, TREE_TYPE, type_dependent_expression_p(), void_zero_node, WANT_ENUM, WANT_INT, and warning.
Definition at line 2791 of file call.c.
References build_function_call(), build_over_call(), conversion_obstack, conversion_obstack_alloc(), DECL_NAME, error(), error_mark_node, z_candidate::fn, LOOKUP_NORMAL, z_candidate::next, obstack_free, OVL_CURRENT, p, perform_overload_resolution(), print_z_candidates(), remove_hidden_names(), resolve_args(), result, TREE_CODE, and TREE_OPERAND.
Definition at line 5302 of file call.c.
References add_function_candidate(), add_template_candidate(), base_ctor_identifier, base_dtor_identifier, BASELINK_ACCESS_BINFO, BASELINK_BINFO, BASELINK_FUNCTIONS, BASELINK_OPTYPE, BASELINK_P, BINFO_TYPE, build2, build_min_non_dep(), build_min_nt(), build_non_dependent_args(), build_non_dependent_expr(), build_nop(), build_over_call(), build_pointer_type(), build_this(), call(), class_type, CLASS_TYPE_P, CLASSTYPE_VBASECLASSES, complete_dtor_identifier, COMPLETE_TYPE_P, conversion_obstack, conversion_obstack_alloc(), ctor_identifier, current_class_ref, current_function_decl, cxx_incomplete_type_error, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, DECL_NAME, DECL_NONCONVERTING_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_PURE_VIRTUAL_P, DECL_VINDEX, DEDUCE_CALL, dtor_identifier, error(), error_mark_node, error_operand_p, z_candidate::fn, free(), gcc_assert, get_first_fn(), IDENTIFIER_CTOR_OR_DTOR_P, is_dummy_object(), LOOKUP_NONVIRTUAL, LOOKUP_ONLYCONVERTING, name_as_c_string(), NULL_TREE, obstack_free, OVL_CURRENT, OVL_NEXT, p, pedantic, print_z_candidates(), processing_template_decl, resolve_args(), resolves_to_fixed_type_p(), same_type_p, splice_viable(), tourney(), TREE_CHAIN, TREE_CODE, tree_cons, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_MAIN_VARIANT, void_type_node, VOID_TYPE_P, and warning.
Definition at line 3578 of file call.c.
References add_builtin_candidates(), add_candidates(), ansi_assopname, ansi_opname, args, BASELINK_BINFO, BASELINK_FUNCTIONS, build_array_ref(), build_conditional_expr(), build_indirect_ref(), build_m_component_ref(), build_modify_expr(), build_new_op(), build_object_call(), build_over_call(), build_unary_op(), ck_ref_bind, CLASS_TYPE_P, conversion_obstack, conversion_obstack_alloc(), convert_like, cp_build_binary_op, error_mark_node, error_operand_p, gcc_unreachable, integer_zero_node, IS_OVERLOAD_TYPE, joust(), conversion::kind, LOOKUP_COMPLAIN, lookup_fnfields(), lookup_function_nonclass(), LOOKUP_NORMAL, candidate_warning::loser, conversion::next, candidate_warning::next, NULL, NULL_TREE, obstack_free, op_error(), operator_name_info, p, pedantic, pedwarn(), prep_operand(), print_z_candidates(), result, splice_viable(), tourney(), TREE_CODE, tree_cons, TREE_TYPE, TYPE_BINFO, TYPE_MAIN_VARIANT, conversion::u, and warning.
Definition at line 12641 of file pt.c.
References a, build_non_dependent_expr(), nreverse(), NULL_TREE, TREE_CHAIN, tree_cons, and TREE_VALUE.
Definition at line 12569 of file pt.c.
References build1, build2, build3, build_non_dependent_expr(), COMPOUND_EXPR_OVERLOADED, gcc_assert, is_overloaded_fn(), non_reference(), null_ptr_cst_p(), TREE_CODE, TREE_OPERAND, TREE_TYPE, and unknown_type_node.
Definition at line 3918 of file typeck.c.
References build1, error_mark_node, error_operand_p, nop, and TREE_CONSTANT.
Definition at line 1337 of file init.c.
References BASELINK_FUNCTIONS, BASELINK_P, build2, build_min_nt(), build_qualified_name(), build_unary_op(), check_dtor_name(), complete_type(), COMPLETE_TYPE_P, convert_from_reference(), DECL_C_BIT_FIELD, DECL_NAME, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_NONSTATIC_MEMBER_P, DECL_P, DECL_STATIC_FUNCTION_P, dependent_type_p(), dtor_identifier, error(), error_mark_node, flag_ms_extensions, gcc_assert, is_aggr_type(), lookup_member(), lookup_namespace_name(), mark_used(), maybe_dummy_object(), member(), NULL_TREE, ovl_cons(), OVL_CURRENT, perform_or_defer_access_check(), PTRMEM_OK_P, really_overloaded_fn(), TREE_CODE, TREE_OPERAND, TREE_TYPE, TREE_USED, TYPE_BEING_DEFINED, TYPE_BINFO, type_dependent_expression_p(), TYPE_P, type_unknown_p(), and unknown_type_node.
Definition at line 3545 of file decl2.c.
References any_type_dependent_arguments_p(), build_function_call(), build_min_non_dep(), build_min_nt(), build_non_dependent_args(), build_non_dependent_expr(), build_unary_op(), error_mark_node, gcc_assert, get_member_function_from_ptrfunc(), my_friendly_assert, NULL_TREE, processing_template_decl, resolve_offset_ref(), TREE_CODE, tree_cons, TREE_OPERAND, and type_dependent_expression_p().
Definition at line 3992 of file call.c.
References a, ansi_opname, args, BASELINK_FUNCTIONS, BASELINK_P, build_cxx_call(), build_function_call(), build_tree_list, CLASS_TYPE_P, complete_type(), COMPLETE_TYPE_P, cp_convert(), DECL_CLASS_SCOPE_P, error(), error_mark_node, gcc_assert, lookup_fnfields(), lookup_name_nonclass(), mark_used(), NULL_TREE, operator_name_info, OVL_CURRENT, OVL_NEXT, perform_or_defer_access_check(), ptr_type_node, same_type_p, sizetype, strip_array_types(), TREE_CHAIN, tree_cons, TREE_OPERAND, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_BINFO, and void_list_node.
Definition at line 2858 of file call.c.
References abi_version_at_least, arg_types, build_over_call(), DECL_NAME, error(), error_mark_node, z_candidate::fn, lookup_function_nonclass(), LOOKUP_NORMAL, NULL_TREE, OVL_CURRENT, perform_overload_resolution(), print_z_candidates(), ptr_type_node, resolve_args(), same_type_p, size_binop(), TREE_CHAIN, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, and void_list_node.
Definition at line 1098 of file tree.c.
References NULL_TREE, ovl_cons(), and TREE_CODE.
Referenced by add_function(), add_method(), do_nonmember_using_decl(), merge_functions(), and remove_hidden_names().
Definition at line 10113 of file decl.c.
References arg_types, build_method_type_directly(), build_offset_type(), build_pointer_type(), build_ptrmemfunc_type(), cp_build_qualified_type, cp_type_quals(), gcc_assert, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, and TYPE_ARG_TYPES.
Definition at line 5686 of file typeck.c.
References build_c_cast(), build_ptrmemfunc1(), build_ptrmemfunc_access_expr(), build_ptrmemfunc_type(), build_reinterpret_cast(), can_convert_arg(), cp_build_binary_op, delta_identifier, error(), error_mark_node, error_operand_p, expand_ptrmemfunc_cst(), gcc_assert, get_delta_difference(), instantiate_type(), integer_one_node, integer_zero_node, integer_zerop(), LOOKUP_NORMAL, make_ptrmem_cst(), n, NULL_TREE, pfn_identifier, processing_template_decl, ptrdiff_type_node, ptrmemfunc_vbit_in_delta, same_type_ignoring_top_level_qualifiers_p, same_type_p, save_expr(), TARGET_PTRMEMFUNC_VBIT_LOCATION, tf_error, tf_warning, tf_warning_or_error, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_PTRMEMFUNC_OBJECT_TYPE, TYPE_PTRMEMFUNC_P, and type_unknown_p().
Definition at line 5699 of file typeck.c.
References build(), build_constructor(), build_tree_list, CONSTRUCTOR_APPEND_ELT, constructor_elt, convert_and_check(), delta_type_node, initializer_constant_valid_p(), NULL_TREE, TREE_CHAIN, tree_cons, TREE_CONSTANT, TREE_INVARIANT, TREE_STATIC, TREE_TYPE, TYPE_FIELDS, VEC, and VEC_alloc.
Referenced by build_ptrmemfunc(), and cplus_expand_constant().
Definition at line 2266 of file typeck.c.
References build(), build3, cp_build_qualified_type, cp_type_quals(), fold(), fold_build3, gcc_assert, lookup_member(), member(), my_friendly_assert, NULL_TREE, TREE_TYPE, and TYPE_PTRMEMFUNC_P.
Definition at line 10051 of file decl.c.
References build_decl, build_ptrmemfunc_type(), build_qualified_type(), CLASSTYPE_GOT_SEMICOLON, cp_type_quals(), delta_identifier, delta_type_node, error_mark_node, finish_builtin_struct(), finish_builtin_type(), make_aggr_type(), NULL_TREE, pfn_identifier, ptr_type_node, SET_IS_AGGR_TYPE, TREE_CHAIN, TYPE_GET_PTRMEMFUNC_TYPE, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_NEXT_VARIANT, TYPE_PTRMEMFUNC_FLAG, TYPE_SET_PTRMEMFUNC_TYPE, TYPE_UNQUALIFIED, and xref_basetypes().
Referenced by build_ptrmem_type(), build_ptrmemfunc(), build_ptrmemfunc_type(), build_unary_op(), cp_build_qualified_type_real(), grokdeclarator(), merge_types(), resolve_address_of_overloaded_function(), standard_conversion(), try_one_overload(), and tsubst().
Definition at line 838 of file tree.c.
References build2, error_mark_node, and QUALIFIED_NAME_IS_TEMPLATE.
Referenced by build_offset_ref(), cp_parser_lookup_name(), cp_parser_postfix_dot_deref_expression(), finish_id_expression(), finish_non_static_data_member(), tsubst(), tsubst_copy(), tsubst_qualified_id(), and write_expression().
Definition at line 4880 of file typeck.c.
References build1, build_indirect_ref(), build_min(), build_pointer_type(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_static_cast(), build_unary_op(), comp_ptr_ttypes_reinterpret(), convert_from_reference(), cp_convert(), decay_conversion(), decl_constant_value(), error(), error_mark_node, fold(), NULL, pedwarn(), processing_template_decl, real_lvalue_p(), resolve_offset_ref(), same_type_ignoring_top_level_qualifiers_p, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, type_dependent_expression_p(), TYPE_PRECISION, TYPE_PTR_P, TYPE_PTRFN_P, TYPE_PTRMEM_P, TYPE_PTRMEMFUNC_P, and TYPE_PTROBV_P.
Referenced by build_expr_from_tree(), build_ptrmemfunc(), build_reinterpret_cast(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 967 of file typeck2.c.
References ba_check, build_base_path(), error_mark_node, error_not_base_type(), lookup_base(), NULL, NULL_TREE, and TREE_TYPE.
Referenced by build_member_call(), build_scoped_method_call(), finish_non_static_data_member(), and resolve_offset_ref().
Definition at line 6596 of file class.c.
References access_public_node, build_lang_decl(), constructor_name(), current_access_specifier, current_class_type, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_NONLOCAL, finish_member_declaration(), processing_template_decl, push_template_decl(), and SET_DECL_SELF_REFERENCE_P.
Referenced by begin_class_definition().
Definition at line 4849 of file call.c.
References ansi_assopname, base_ctor_identifier, base_dtor_identifier, binfo_for_vbase(), BINFO_SUBVTT_INDEX, BINFO_TYPE, boolean_type_node, build(), build1, build2, build3, build_base_path(), build_int_2, build_int_cst(), build_new_method_call(), build_pointer_type(), class_type, CLASSTYPE_VBASECLASSES, CLASSTYPE_VTABLES, complete_ctor_identifier, complete_dtor_identifier, complete_type_or_else, convert_to_base_statically(), current_class_type, current_in_charge_parm, current_vtt_parm, decay_conversion(), deleting_dtor_identifier, error_mark_node, gcc_assert, integer_zero_node, lookup_fnfields(), my_friendly_assert, NULL, NULL_TREE, same_type_ignoring_top_level_qualifiers_p, TREE_CHAIN, tree_cons, TREE_TYPE, TREE_VIA_VIRTUAL, TYPE_BINFO, TYPE_P, and TYPE_USES_VIRTUAL_BASECLASSES.
Referenced by build_functional_cast(), build_init(), build_modify_expr(), build_new_1(), build_temp(), build_throw(), check_constructor_callable(), convert_like_real(), do_build_assign_ref(), expand_cleanup_for_base(), expand_default_init(), finish_omp_clauses(), ocp_convert(), perform_direct_initialization_if_possible(), and push_base_cleanups().
Definition at line 4693 of file typeck.c.
References ARITHMETIC_TYPE_P, at_least_as_qualified_p(), ba_check, base, build_address(), build_base_path(), build_c_cast(), build_min(), build_nop(), build_pointer_type(), build_ptrmem_type(), build_ptrmemfunc(), build_static_cast_1(), can_convert(), check_for_casting_away_constness(), CLASS_TYPE_P, convert_from_reference(), convert_to_void(), cp_build_binary_op, cp_convert(), cplus_expand_constant(), DERIVED_FROM_P, error(), error_mark_node, get_delta_difference(), INTEGRAL_OR_ENUMERATION_TYPE_P, lookup_base(), NULL, perform_direct_initialization_if_possible(), processing_template_decl, ptrdiff_type_node, real_non_cast_lvalue_p(), resolve_offset_ref(), result, t1, t2, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_PTR_P, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_P, TYPE_PTRMEM_POINTED_TO_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_PTROB_P, and VOID_TYPE_P.
Referenced by build_const_cast(), build_expr_from_tree(), build_reinterpret_cast(), cp_parser_builtin_offsetof(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 358 of file tree.c.
References build(), build_local_temp(), build_target_expr(), CLASS_TYPE_P, current_function_decl, DECL_ARTIFICIAL, DECL_CONTEXT, force_rvalue(), force_target_expr(), gcc_assert, layout_decl(), TREE_CODE, TYPE_HAS_TRIVIAL_INIT_REF, and VOID_TYPE_P.
Referenced by bot_manip(), build_conditional_expr(), build_over_call(), convert_like_real(), finish_stmt_expr_expr(), and get_target_expr().
| tree build_this_parm | ( | tree | , | |
| cp_cv_quals | ||||
| ) |
Definition at line 5940 of file decl.c.
References build_artificial_parm(), cp_apply_type_quals_to_decl(), cp_build_qualified_type, this_identifier, TREE_VALUE, TYPE_ARG_TYPES, TYPE_QUAL_CONST, and TYPE_QUAL_RESTRICT.
Referenced by grokfndecl(), and implicitly_declare_fn().
Definition at line 627 of file except.c.
References BASELINK_FUNCTIONS, build(), build1, build2, build_eh_type_type(), build_function_call(), build_function_type(), build_indirect_ref(), build_init(), build_int_2, build_int_cst(), build_min(), build_nop(), build_pointer_type(), build_special_member_call(), build_tree_list, cfun, CLASS_TYPE_P, cleanup(), cleanup_type, complete_ctor_identifier, complete_dtor_identifier, current_function_returns_abnormally, cxx_mark_addressable(), decay_conversion(), decl_is_java_type(), do_allocate_exception(), do_free_exception(), doing_eh(), error(), error_mark_node, get_global_value_if_present(), get_identifier(), get_target_expr(), IDENTIFIER_GLOBAL_VALUE, is_admissible_throw_operand(), is_bitfield_expr_with_lowered_type(), lookup_fnfields(), LOOKUP_NORMAL, LOOKUP_ONLYCONVERTING, mark_used(), NULL, null_node, NULL_TREE, OVL_CURRENT, prepare_eh_type(), processing_template_decl, ptr, ptr_type_node, push_throw_library_fn(), really_overloaded_fn(), stabilize_init(), stabilize_throw_expr(), TARGET_EXPR_SLOT, tmp, TREE_CODE, tree_cons, TREE_TYPE, TYPE_BINFO, type_decays_to(), TYPE_HAS_DESTRUCTOR, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_MAIN_VARIANT, void_list_node, void_type_node, void_zero_node, walk_tree_without_duplicates(), warning, and wrap_cleanups_r().
Referenced by build_expr_from_tree(), cp_parser_throw_expression(), expand_end_catch_block(), and tsubst_copy_and_build().
Definition at line 258 of file rtti.c.
References boolean_type_node, build(), build3, build_indirect_ref(), build_min(), build_min_nt(), cond, const_type_info_type_node, convert_from_reference(), cp_convert(), error_mark_node, get_tinfo_decl_dynamic(), NULL, NULL_TREE, processing_template_decl, resolves_to_fixed_type_p(), stabilize_reference(), throw_bad_typeid(), TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_POLYMORPHIC_P, and typeid_ok_p().
Referenced by build_expr_from_tree(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 2762 of file call.c.
References build_user_type_conversion_1(), ck_ambig, convert_from_reference(), convert_like, error_mark_node, conversion::kind, NULL_TREE, z_candidate::second_conv, and TREE_CODE.
Referenced by build_expr_type_conversion(), build_type_conversion(), convert_like_real(), and ocp_convert().
| tree build_vec_delete | ( | tree | , | |
| tree | , | |||
| special_function_kind | , | |||
| int | ||||
| ) |
Definition at line 3345 of file init.c.
References array_type_nelts_total(), build(), build2, build_indirect_ref(), build_pointer_type(), build_unary_op(), build_vec_delete_1(), error(), error_mark_node, get_target_expr(), NULL, NULL_TREE, resolve_offset_ref(), save_expr(), sizetype, stabilize_reference(), strip_array_types(), TARGET_EXPR_SLOT, TREE_CODE, TREE_SIDE_EFFECTS, TREE_TYPE, and TYPE_SIZE_UNIT.
Referenced by build_delete(), and delete_sanity().
Definition at line 2430 of file init.c.
References array_type_nelts(), array_type_nelts_total(), begin_for_stmt(), begin_init_stmts(), begin_try_block(), boolean_type_node, build1, build2, build_aggr_init(), build_indirect_ref(), build_int_cst(), build_modify_expr(), build_pointer_type(), build_unary_op(), build_vec_delete_1(), build_vec_init(), build_zero_init(), CLASS_TYPE_P, constructor_elt, CONSTRUCTOR_ELTS, cp_build_binary_op, cp_convert(), current_stmt_tree(), decay_conversion(), error(), error_mark_node, finish_cleanup(), finish_cleanup_try_block(), finish_expr_stmt(), finish_for_cond(), finish_for_expr(), finish_for_init_stmt(), finish_for_stmt(), finish_init_stmts(), finish_stmt_expr_expr(), flag_exceptions, FOR_EACH_CONSTRUCTOR_VALUE, gcc_assert, gcc_unreachable, get_temp_regvar(), host_integerp(), HOST_WIDE_INT, idx, integer_minus_one_node, IS_AGGR_TYPE, is_global(), NULL, NULL_TREE, ptrdiff_type_node, sfk_base_destructor, size, size_in_bytes(), size_one_node, sorry(), stmts_are_full_exprs_p(), strip_array_types(), TREE_CHAIN, TREE_CODE, tree_low_cst(), TREE_TYPE, TREE_VALUE, TYPE_DOMAIN, TYPE_HAS_COMPLEX_ASSIGN_REF, TYPE_HAS_DEFAULT_CONSTRUCTOR, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_LANG_SPECIFIC, TYPE_NEEDS_CONSTRUCTING, and VEC_empty.
Definition at line 110 of file call.c.
References build(), build3, build_simple_base_path(), CLASSTYPE_PRIMARY_BINFO, convert_from_reference(), convert_to_base(), DECL_CONTEXT, error_mark_node, NULL_TREE, same_type_ignoring_top_level_qualifiers_p, TREE_CODE, TREE_TYPE, TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, and TYPE_VFIELD.
Referenced by build_base_path(), build_vtbl_ref_1(), expand_virtual_init(), and GTY().
Definition at line 527 of file class.c.
References build1, build3, build_indirect_ref(), build_unary_op(), build_vtable_entry_ref(), build_vtbl_ref_1(), flag_vtable_gc, TARGET_VTABLE_USES_DESCRIPTORS, and TREE_TYPE.
Referenced by build_over_call().
Definition at line 512 of file class.c.
References build_vtable_entry_ref(), build_vtbl_ref_1(), and flag_vtable_gc.
Referenced by build_headof(), get_tinfo_decl_dynamic(), and GTY().
Definition at line 1001 of file typeck2.c.
References build_indirect_ref(), build_min_nt(), build_opfncall(), convert_from_reference(), default_conversion(), error(), error_mark_node, IS_AGGR_TYPE, LOOKUP_NORMAL, NULL, NULL_TREE, processing_template_decl, resolve_offset_ref(), TREE_CODE, tree_cons, TREE_TYPE, and value_member().
Referenced by build_expr_from_tree(), cp_parser_postfix_dot_deref_expression(), and tsubst_copy_and_build().
Definition at line 2686 of file typeck.c.
References build_m_component_ref(), build_min_non_dep(), build_min_nt(), build_new_op(), build_non_dependent_expr(), error_mark_node, LOOKUP_NORMAL, NULL_TREE, processing_template_decl, and type_dependent_expression_p().
Definition at line 4422 of file typeck.c.
References build_compound_expr(), build_min_non_dep(), build_min_nt(), build_new_op(), build_non_dependent_expr(), error_mark_node, LOOKUP_NORMAL, NULL, NULL_TREE, processing_template_decl, and type_dependent_expression_p().
Definition at line 4403 of file typeck.c.
References build_x_compound_expr(), pedwarn(), TREE_CHAIN, and TREE_VALUE.
Definition at line 4587 of file typeck.c.
References build_conditional_expr(), build_min_non_dep(), build_min_nt(), build_non_dependent_expr(), error_mark_node, processing_template_decl, and type_dependent_expression_p().
Referenced by build_expr_from_tree(), cp_parser_question_colon_clause(), and tsubst_copy_and_build().
Definition at line 2293 of file typeck.c.
References build_indirect_ref(), build_min_non_dep(), build_min_nt(), build_new_op(), build_non_dependent_expr(), build_opfncall(), error_mark_node, LOOKUP_NORMAL, NULL, NULL_TREE, processing_template_decl, and type_dependent_expression_p().
Referenced by build_expr_from_tree(), cp_parser_unary_expression(), and tsubst_copy_and_build().
Definition at line 5586 of file typeck.c.
References build_min_nt(), build_modify_expr(), build_new_op(), build_opfncall(), error(), LOOKUP_NORMAL, make_node, NULL, NULL_TREE, processing_template_decl, TREE_CODE, TREE_NO_WARNING, and TREE_OPERAND.
Referenced by build_expr_from_tree(), cp_parser_assignment_expression(), and tsubst_copy_and_build().
Definition at line 3789 of file typeck.c.
References build(), build2, build_min_non_dep(), build_min_nt(), build_new_op(), build_non_dependent_expr(), build_unary_op(), CLASS_TYPE_P, complete_type(), COMPLETE_TYPE_P, error(), error_mark_node, exp, flag_ms_extensions, inform(), IS_AGGR_TYPE_CODE, LOOKUP_NORMAL, NULL, NULL_TREE, ovl_cons(), processing_template_decl, PTRMEM_OK_P, TREE_CODE, TREE_OPERAND, TREE_TYPE, type_dependent_expression_p(), TYPE_P, and warning.
Referenced by build_expr_from_tree(), cp_parser_template_argument(), cp_parser_unary_expression(), finish_increment_expr(), finish_unary_op_expr(), and tsubst_copy_and_build().
Definition at line 4328 of file call.c.
References build2, build_indirect_ref(), build_min(), build_pointer_type(), build_va_arg(), call_builtin_trap(), complete_type_or_else, convert(), error_mark_node, non_reference(), NULL, null_node, NULL_TREE, pod_type_p(), processing_template_decl, TREE_TYPE, and warning.
Referenced by cp_parser_primary_expression(), tsubst_copy(), and tsubst_copy_and_build().
Definition at line 169 of file init.c.
References abort, array_type_nelts(), build(), build2, build_constructor(), build_zero_init(), CLASS_TYPE_P, COMPLEX_TYPE, CONSTRUCTOR_APPEND_ELT, constructor_elt, CONSTRUCTOR_ELTS, convert(), error_mark_node, fold(), fold_build2, fold_convert(), gcc_assert, index(), integer_minus_one_node, integer_one_node, integer_zero_node, my_friendly_assert, nreverse(), NULL, NULL_TREE, SCALAR_TYPE_P, size_binop(), size_one_node, size_zero_node, sizetype, TREE_CHAIN, TREE_CODE, tree_cons, TREE_CONSTANT, tree_int_cst_equal(), tree_int_cst_lt(), TREE_INVARIANT, TREE_TYPE, TYPE_FIELDS, VEC, VEC_alloc, VEC_quick_push, and zero_init_p().
| tree builtin_function | ( | const char * | name, | |
| tree | type, | |||
| int | code, | |||
| enum built_in_class | cl, | |||
| const char * | libname, | |||
| tree | attrs | |||
| ) |
Definition at line 2785 of file c-decl.c.
References ATTR_FLAG_BUILT_IN, bind(), build_decl, builtin_function_1(), C_DECL_BUILTIN_PROTOTYPE, decl_attributes(), DECL_BUILT_IN_CLASS, DECL_EXTERNAL, DECL_FUNCTION_CODE, DECL_LANG_SPECIFIC, gcc_assert, get_identifier(), GGC_CNEW, I_SYMBOL_BINDING, ISUPPER, NULL_TREE, pop_namespace(), push_namespace(), SET_DECL_ASSEMBLER_NAME, std_identifier, std_node, TREE_CHAIN, TREE_PUBLIC, and TYPE_ARG_TYPES.
Definition at line 5951 of file call.c.
References can_convert_arg(), LOOKUP_NORMAL, and NULL_TREE.
Referenced by build_static_cast(), build_static_cast_1(), casts_away_constness(), check_final_overrider(), convert_nontype_argument(), convert_to_reference(), and covariant_return_p().
Definition at line 6382 of file call.c.
References conversion::bad_p, conversion_obstack, conversion_obstack_alloc(), implicit_conversion(), obstack_free, and p.
Definition at line 5970 of file call.c.
References conversion_obstack, conversion_obstack_alloc(), implicit_conversion(), LOOKUP_NORMAL, NULL, obstack_free, and p.
Referenced by convert_for_assignment().
Definition at line 734 of file tree.c.
References cp_build_qualified_type, cp_type_quals(), and TYPE_MAIN_VARIANT.
Referenced by build_indirect_ref(), canonicalize_for_substitution(), convert_from_reference(), and convert_template_argument().
Definition at line 2405 of file tree.c.
References dependent_type_p(), error_mark_node, and INTEGRAL_OR_ENUMERATION_TYPE_P.
Referenced by cp_parser_cast_expression(), cp_parser_functional_cast(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
| int char_type_p | ( | tree | ) |
Definition at line 2593 of file tree.c.
References char_type_node, same_type_p, signed_char_type_node, unsigned_char_type_node, and wchar_type_node.
Referenced by complete_array_type(), cp_complete_array_type(), digest_init(), reshape_init(), and reshape_init_r().
Definition at line 1410 of file semantics.c.
References CLASS_TYPE_P, context_for_name_lookup(), current_class_ptr, current_class_type, currently_open_derived_class(), DECL_NONSTATIC_MEMBER_P, dependent_type_p(), DERIVED_FROM_P, IS_AGGR_TYPE_CODE, NULL_TREE, perform_or_defer_access_check(), TREE_CODE, TYPE_BINFO, and TYPE_P.
Definition at line 595 of file decl2.c.
References add_method(), class_method_index_for_fn(), CLASSTYPE_FIRST_CONVERSION_SLOT, CLASSTYPE_METHOD_VEC, comp_template_parms(), complete_type(), COMPLETE_TYPE_P, compparms(), cp_error_at(), cxx_incomplete_type_error, DECL_CONV_FN_P, DECL_MEMBER_TEMPLATE_P, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_SPECIALIZATION, DECL_TI_TEMPLATE, DECL_USE_TEMPLATE, error(), format, gcc_assert, N_, NULL, NULL_TREE, OVL_CURRENT, OVL_NEXT, p1, p2, pop_scope(), push_scope(), same_type_p, TREE_CHAIN, TREE_CODE, TREE_TYPE, TYPE_ARG_TYPES, VEC, VEC_index, and VEC_length.
Definition at line 4841 of file decl2.c.
References cp_error_at(), error(), error_mark_node, i, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TYPE_ARG_TYPES, and void_list_node.
Referenced by cp_parser_late_parsing_default_args(), do_pending_defargs(), duplicate_decls(), pushdecl(), pushdecl_maybe_friend(), start_function(), and start_preparsed_function().
Definition at line 12811 of file decl.c.
References can_convert_arg(), error(), error_mark_node, local_variable_p_walkfn(), LOOKUP_NORMAL, NULL, NULL_TREE, processing_template_decl, TREE_CODE, TREE_TYPE, TYPE_P, uses_template_parms(), and walk_tree_without_duplicates().
Referenced by cp_parser_late_parsing_default_args(), grokparms(), and tsubst_default_argument().
Definition at line 168 of file call.c.
References abort, constructor_name(), DECL_CLASS_TEMPLATE_P, error_mark_node, gcc_assert, get_type_value(), IS_AGGR_TYPE, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_IDENTIFIER, TYPE_MAIN_VARIANT, and TYPE_P.
Referenced by build_method_call(), build_offset_ref(), build_scoped_method_call(), cp_parser_unqualified_id(), finish_pseudo_destructor_expr(), and lookup_destructor().
Definition at line 9042 of file decl.c.
References CLASSTYPE_IS_TEMPLATE, CLASSTYPE_TI_TEMPLATE, cp_error_at(), DECL_IMPLICIT_TYPEDEF_P, DECL_NAME, DECL_SELF_REFERENCE_P, enum_type, error(), error_mark_node, tag_name, TREE_CODE, TREE_TYPE, TYPE_NAME, and typename_type.
Definition at line 1492 of file pt.c.
References abort, CLASSTYPE_DESTRUCTORS, CLASSTYPE_FIRST_CONVERSION_SLOT, CLASSTYPE_METHOD_VEC, CLASSTYPE_TEMPLATE_INSTANTIATION, clone_function_decl(), constructor_name_p(), copy_default_args_to_explicit_spec(), CP_DECL_CONTEXT, ctor_identifier, current_lang_name, current_namespace, current_tmpl_spec_kind(), DECL_ARGUMENTS, DECL_CLASS_CONTEXT, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_CONV_FN_P, DECL_DESTRUCTOR_P, DECL_INITIAL, DECL_NAME, DECL_NAMESPACE_SCOPE_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_SOURCE_LOCATION, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, determine_specialization(), dtor_identifier, error(), error_mark_node, gcc_assert, gcc_unreachable, i, IDENTIFIER_NAMESPACE_VALUE, idx, instantiate_template(), is_associated_namespace(), is_friend(), is_overloaded_fn(), lang_name_c, last_function_parms, lookup_fnfields_1(), lookup_qualified_name(), lookup_template_function(), make_tree_vec, most_general_template(), my_friendly_assert, namespace_binding(), NULL_TREE, ovl_cons(), OVL_CURRENT, OVL_NEXT, pedantic, pedwarn(), processing_specialization, register_specialization(), revert_static_member_fn(), SET_DECL_IMPLICIT_INSTANTIATION, SET_DECL_TEMPLATE_SPECIALIZATION, tf_error, TMPL_ARGS_DEPTH, TMPL_PARMS_DEPTH, TREE_CHAIN, TREE_CODE, tree_cons, TREE_OPERAND, TREE_PRIVATE, TREE_PROTECTED, TREE_PURPOSE, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, tsk_excessive_parms, tsk_expl_inst, tsk_expl_spec, tsk_insufficient_parms, tsk_invalid_expl_inst, tsk_invalid_member_spec, tsk_none, tsk_template, TYPE_ARG_TYPES, TYPE_BEING_DEFINED, TYPE_HAS_CONSTRUCTOR, TYPE_HAS_DESTRUCTOR, uses_template_parms(), VEC, VEC_index, and VEC_iterate.
Referenced by grokdeclarator(), and grokfndecl().
Definition at line 6411 of file decl.c.
References cp_error_at(), cp_pedwarn_at(), cp_warning_at(), DECL_DEAD_FOR_LOCAL, DECL_ERROR_REPORTED, DECL_HAS_SHADOWED_FOR_VAR_P, DECL_NAME, DECL_SHADOWED_FOR_VAR, error(), error_mark_node, IDENTIFIER_NAMESPACE_VALUE, NULL_TREE, pedwarn(), TREE_CODE, TREE_TYPE, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, and warning.
Definition at line 2332 of file class.c.
References DECL_ATTRIBUTES, DECL_CONV_FN_P, DECL_DESTRUCTOR_P, DECL_DLLIMPORT_P, DECL_NAME, DECL_STATIC_FUNCTION_P, DECL_VINDEX, DECL_VIRTUAL_P, error_mark_node, IDENTIFIER_VIRTUAL_P, look_for_overrides(), remove_attribute(), and TREE_CODE.
Definition at line 5421 of file decl.c.
References b, cdtor_label, cp_error_at(), cp_pedwarn_at(), current_binding_level, DECL_ARTIFICIAL, DECL_INITIAL, decl_jump_unsafe(), DECL_P, error(), flag_openmp, gcc_assert, GGC_NEW, htab_find(), input_location, lab, named_labels, NULL, pedwarn(), sk_omp, TREE_CHAIN, TREE_CODE, TREE_VALUE, and use_label().
Referenced by finish_goto_stmt().
Definition at line 955 of file except.c.
References check_handlers_1(), EXPR_LOCUS, handler(), i, lineno, NULL_TREE, pedwarn(), STMT_LINENO, TREE_CHAIN, TREE_CODE, TREE_TYPE, tsi_end_p(), tsi_next(), tsi_start(), and tsi_stmt().
Referenced by finish_function_handler_sequence(), and finish_handler_sequence().
Definition at line 662 of file decl2.c.
References acceptable_java_type(), arg_types, DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, error(), error_mark_node, NULL_TREE, TREE_CHAIN, TREE_TYPE, TREE_VALUE, and TYPE_ARG_TYPES.
Referenced by grokfndecl().
Definition at line 585 of file decl2.c.
References current_function_decl, DECL_IGNORED_P, DECL_TEMPLATE_RESULT, DECL_VIRTUAL_P, error(), gcc_assert, IS_AGGR_TYPE, my_friendly_assert, TREE_CODE, and TREE_TYPE.
Referenced by finish_member_template_decl().
Definition at line 2512 of file decl.c.
References b, current_binding_level, error(), and sk_omp.
Referenced by finish_return_stmt().
Definition at line 6089 of file typeck.c.
References ansi_assopname, build2, convert(), convert_for_initialization(), current_class_ref, current_function_decl, current_function_return_value, current_function_returns_null, current_function_returns_struct, current_function_returns_value, DECL_ALIGN, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_DESTRUCTOR_P, DECL_NAME, DECL_OVERLOADED_OPERATOR_P, DECL_RESULT, error(), error_mark_node, error_operand_p, finish_expr_stmt(), flag_check_new, flag_elide_constructors, gcc_assert, in_function_try_handler, LOOKUP_NORMAL, LOOKUP_ONLYCONVERTING, maybe_warn_about_returning_address_of_local(), null_ptr_cst_p(), NULL_TREE, pedwarn(), processing_template_decl, same_type_ignoring_top_level_qualifiers_p, same_type_p, TREE_CODE, TREE_OPERAND, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_NOTHROW_P, VOID_TYPE_P, warn(), warn_ecpp, and warning.
Definition at line 10124 of file decl.c.
References ARITHMETIC_TYPE_P, CP_TYPE_CONST_P, error(), INTEGRAL_TYPE_P, pedantic, pedwarn(), and TREE_CODE.
Referenced by grokdeclarator(), and instantiate_class_template().
| tree check_tag_decl | ( | cp_decl_specifier_seq * | ) |
Definition at line 3397 of file decl.c.
References current_class_type, current_scope(), ds_const, ds_explicit, ds_friend, ds_inline, ds_restrict, ds_thread, ds_typedef, ds_virtual, ds_volatile, error(), error_mark_node, in_system_header, int, IS_AGGR_TYPE, IS_AGGR_TYPE_CODE, cp_decl_specifier_seq::multiple_types_p, NULL_TREE, pedantic, pedwarn(), cp_decl_specifier_seq::redefined_builtin_type, SET_ANON_AGGR_TYPE_P, cp_decl_specifier_seq::specs, cp_decl_specifier_seq::storage_class, TREE_CODE, cp_decl_specifier_seq::type, TYPE_ANONYMOUS_P, and TYPE_P.
Definition at line 2027 of file typeck.c.
References BASELINK_FUNCTIONS, BASELINK_P, DECL_TI_TEMPLATE, DECL_USE_TEMPLATE, is_overloaded_fn(), OVL_CURRENT, OVL_NEXT, pedwarn(), PRIMARY_TEMPLATE_P, and TREE_CODE.
Referenced by finish_class_member_access_expr(), and finish_qualified_id_expr().
Definition at line 1979 of file pt.c.
References cp_error_at(), current_template_parms, DECL_NAME, DECL_P, DECL_TEMPLATE_PARM_P, error(), IDENTIFIER_VALUE, innermost_non_namespace_value(), OVL_CURRENT, TEMPLATE_PARMS_FOR_INLINE, and TREE_CODE.
Referenced by push_class_level_binding(), pushdecl(), pushdecl_maybe_friend(), and start_method().
Definition at line 1649 of file semantics.c.
References CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_INSTANTIATION, error(), error_mark_node, TREE_CODE, and TREE_TYPE.
Definition at line 6340 of file decl.c.
References error(), error_mark_node, gcc_assert, IDENTIFIER_OPNAME_P, integer_type_node, TREE_CODE, and VOID_TYPE_P.
| void choose_personality_routine | ( | enum | languages | ) |
Definition at line 274 of file except.c.
References abort, eh_personality_libfunc, error(), gcc_unreachable, init_one_libfunc(), lang_cplusplus, lang_java, and USING_SJLJ_EXCEPTIONS.
Referenced by handle_pragma_java_exceptions(), and initialize_handler_parm().
| const char* class_key_or_enum_as_string | ( | tree | ) |
Definition at line 402 of file error.c.
References CLASSTYPE_DECLARED_CLASS, TREE_CODE, and TYPE_LANG_SPECIFIC.
Definition at line 1451 of file search.c.
References ctor_identifier, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, DECL_FUNCTION_TEMPLATE_P, DECL_NAME, dtor_identifier, gcc_assert, lookup_fnfields_1(), and TREE_CODE.
Definition at line 4174 of file class.c.
References abort, add_method(), base_ctor_identifier, base_dtor_identifier, build_clone(), complete_ctor_identifier, complete_dtor_identifier, DECL_ABSTRACT, DECL_CLONED_FUNCTION, DECL_COMPLETE_CONSTRUCTOR_P, DECL_CONTEXT, DECL_COPY_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_VIRTUAL_P, deleting_dtor_identifier, gcc_assert, my_friendly_assert, NULL_TREE, TREE_CHAIN, TREE_TYPE, and TYPE_METHOD_BASETYPE.
Referenced by check_explicit_specialization(), clone_constructors_and_destructors(), instantiate_template(), lazily_declare_fn(), and tsubst_decl().
Definition at line 1542 of file decl2.c.
References args, build_exception_variant(), build_function_type(), error(), gcc_assert, my_friendly_assert, NULL_TREE, ptr_type_node, same_type_p, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_RAISES_EXCEPTIONS, void_list_node, and void_type_node.
Referenced by grok_op_properties().
Definition at line 1507 of file decl2.c.
References args, build_exception_variant(), build_function_type(), error(), gcc_assert, my_friendly_assert, NULL_TREE, pedwarn(), ptr_type_node, same_type_p, size_type_node, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_RAISES_EXCEPTIONS, and void_list_node.
Referenced by grok_op_properties().
Definition at line 1610 of file decl2.c.
References DECL_ARTIFICIAL, DECL_COMDAT, DECL_COMMON, DECL_EXPLICIT_INSTANTIATION, DECL_EXTERNAL, DECL_INITIAL, DECL_LANG_SPECIFIC, DECL_NOT_REALLY_EXTERN, EMPTY_CONSTRUCTOR_P, error_mark_node, flag_weak, make_decl_one_only(), TREE_CODE, and TREE_PUBLIC.
Referenced by expand_or_defer_fn(), import_export_decl(), import_export_vtable(), make_thunk(), mark_decl_instantiated(), maybe_commonize_var(), maybe_emit_vtables(), note_decl_for_pch(), start_function(), start_preparsed_function(), tinfo_base_init(), and use_thunk().
Definition at line 1325 of file typeck.c.
References comp_ptr_ttypes_real().
Referenced by compare_ics().
Definition at line 1304 of file typeck.c.
References at_least_as_qualified_p(), cp_type_quals(), q1, and q2.
Referenced by compare_ics().
Definition at line 799 of file typeck.c.
References a, b, base, comp_except_types(), length, list_length(), NULL_TREE, TREE_CHAIN, and TREE_VALUE.
Referenced by build_exception_variant(), check_final_overrider(), check_redeclaration_exception_specification(), and duplicate_decls().
Definition at line 6533 of file typeck.c.
References comp_ptr_ttypes_real().
Referenced by comp_target_types(), joust(), perform_qualification_conversions(), and standard_conversion().
Definition at line 6407 of file typeck.c.
References same_type_ignoring_top_level_qualifiers_p, same_type_p, TREE_CODE, TREE_TYPE, and TYPE_OFFSET_BASETYPE.
Definition at line 3821 of file pt.c.
References i, template_args_equal(), TREE_VEC_ELT, and TREE_VEC_LENGTH.
Referenced by comptypes(), get_class_bindings(), lookup_template_class(), process_partial_specialization(), register_specialization(), retrieve_specialization(), template_args_equal(), and verify_class_unification().
Definition at line 1926 of file pt.c.
References error_mark_node, gcc_assert, i, my_friendly_assert, NULL_TREE, p1, p2, same_type_p, t1, t2, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, and TREE_VEC_LENGTH.
Referenced by add_method(), check_classfn(), comptypes(), decls_match(), duplicate_decls(), is_specialization_of_friend(), and make_unbound_class_template().
Definition at line 139 of file typeck.c.
References CLASS_TYPE_P, CLASSTYPE_TEMPLATE_INSTANTIATION, complete_type(), COMPLETE_TYPE_P, dependent_type_p(), error_mark_node, instantiate_class_template(), layout_type(), NULL_TREE, processing_template_decl, TREE_CODE, TREE_TYPE, TYPE_DOMAIN, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_MAIN_VARIANT, TYPE_NEEDS_CONSTRUCTING, and TYPE_NEXT_VARIANT.
Referenced by add_exception_specifier(), build_delete(), build_dynamic_cast_1(), build_offset_ref(), build_op_delete_call(), build_over_call(), build_unary_op(), build_vec_delete_1(), build_x_unary_op(), check_classfn(), check_function_type(), check_initializer(), complete_type(), complete_type_or_diagnostic(), complete_type_or_else(), complete_vars(), convert_arguments(), convert_for_initialization(), convert_to_void(), cp_convert_to_pointer(), cp_parser_nested_name_specifier_opt(), cp_parser_objc_encode_expression(), cp_pointer_int_sum(), cxx_sizeof_or_alignof_type(), do_type_instantiation(), get_template_base(), grokdeclarator(), instantiate_class_template(), is_complete(), layout_var_decl(), lookup_base(), lookup_conversions(), lookup_member(), lookup_name_real(), ocp_convert(), resolve_scoped_fn_name(), start_decl(), start_decl_1(), tsubst(), tsubst_decl(), and xref_basetypes().
Definition at line 144 of file typeck.c.
References complete_type(), COMPLETE_TYPE_P, cxx_incomplete_type_diagnostic(), error_mark_node, and NULL_TREE.
Definition at line 15362 of file decl.c.
References CLASS_TYPE_P, complete_type(), complete_type_check_abstract(), cp_apply_type_quals_to_decl(), cp_type_quals(), gcc_assert, my_friendly_assert, same_type_p, TREE_CHAIN, TREE_PURPOSE, TREE_TYPE, and TREE_VALUE.
Referenced by finish_struct(), and finish_struct_1().
Definition at line 481 of file typeck.c.
References attributes, build_pointer_type(), build_ptrmem_type(), build_type_attribute_variant(), c_dialect_objc, CLASS_TYPE_P, comp_target_types(), composite_pointer_type_r(), cp_build_qualified_type, cp_type_quals(), DERIVED_FROM_P, error(), error_mark_node, gcc_target::merge_type_attributes, null_ptr_cst_p(), NULL_TREE, objc_compare_types(), pedantic, pedwarn(), ptr_type_node, qualify_type_recursive(), same_type_ignoring_top_level_qualifiers_p, same_type_p, targetm, TREE_CODE, TREE_TYPE, TYPE_PTR_TO_MEMBER_P, TYPE_PTRFN_P, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_POINTED_TO_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_QUALS, val, void_type_node, and VOID_TYPE_P.
Referenced by build_binary_op(), build_conditional_expr(), and common_type().
Definition at line 1399 of file typeck.c.
References same_type_p, t1, t2, TREE_CHAIN, and TREE_VALUE.
Referenced by add_method(), check_classfn(), comptypes(), decls_match(), determine_specialization(), do_nonmember_using_decl(), duplicate_decls(), is_specialization_of_friend(), look_for_overrides_here(), push_overloaded_decl(), same_signature_p(), and standard_conversion().
Definition at line 898 of file typeck.c.
References build_pointer_type(), c_common_type_for_size(), comp_array_types(), comp_template_args(), comp_template_parms(), gcc_target::comp_type_attributes, COMPARE_BASE, COMPARE_DERIVED, COMPARE_NO_ATTRIBUTES, COMPARE_REDECLARATION, COMPARE_RELAXED, COMPARE_STRICT, COMPLEX_TYPE, compparms(), comptypes(), cp_tree_equal(), cp_type_quals(), DECL_TEMPLATE_PARMS, DERIVED_FROM_P, error_mark_node, gcc_assert, my_friendly_assert, objc_comptypes(), resolve_typename_type(), same_type_p, targetm, TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL, TEMPLATE_TYPE_IDX, TEMPLATE_TYPE_LEVEL, TREE_CODE, TREE_TYPE, TYPE_ARG_TYPES, TYPE_CONTEXT, TYPE_DOMAIN, TYPE_FOR_JAVA, TYPE_IDENTIFIER, TYPE_IS_SIZETYPE, TYPE_MAIN_VARIANT, TYPE_MODE, TYPE_OFFSET_BASETYPE, TYPE_ORIG_SIZE_TYPE, TYPE_P, TYPE_PRECISION, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_QUALS, TYPE_REF_CAN_ALIAS_ALL, TYPE_TEMPLATE_INFO, TYPE_TI_ARGS, TYPE_TI_TEMPLATE, TYPE_VECTOR_SUBPARTS, TYPENAME_TYPE_FULLNAME, and val.
Definition at line 10158 of file decl.c.
References abi_version_at_least, build_index_type(), build_min(), constant_expression_warning(), cp_build_binary_op, cp_convert(), current_class_type, decl_constant_value(), dependent_type_p(), error(), error_mark_node, error_operand_p, flag_pedantic_errors, fold(), HOST_WIDE_INT, in_system_header, INT_CST_LT, integer_one_node, integer_zero_node, integer_zerop(), integral_constant_value(), INTEGRAL_TYPE_P, lookup_field(), pedantic, pedwarn(), processing_template_decl, sizetype, ssizetype, STRIP_TYPE_NOPS, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_OVERFLOW, TREE_TYPE, value_dependent_expression_p(), and variable_size().
Referenced by create_array_type_for_decl(), grokdeclarator(), and tsubst().
Definition at line 3881 of file typeck.c.
References boolean_type_node, build1, fold(), fold_build_cleanup_point_expr(), perform_implicit_conversion(), processing_template_decl, resolve_offset_ref(), and TREE_CODE.
Referenced by maybe_convert_cond(), and push_base_cleanups().
Definition at line 1887 of file decl2.c.
References BINFO_BASE_ITERATE, CLASSTYPE_VISIBILITY_SPECIFIED, DECL_IN_SYSTEM_HEADER, error_mark_node, i, IS_AGGR_TYPE, strip_array_types(), TREE_CHAIN, TREE_CODE, TREE_TYPE, TYPE_BINFO, TYPE_FIELDS, TYPE_MAIN_DECL, type_visibility(), VISIBILITY_ANON, VISIBILITY_HIDDEN, VISIBILITY_INTERNAL, and warning.
Referenced by finish_struct_1().
Definition at line 614 of file search.c.
References ANON_AGGR_TYPE_P, DECL_CONTEXT, global_namespace, TYPE_CONTEXT, and TYPE_P.
Referenced by accessible_p(), build_unary_op(), check_accessibility_of_qualified_id(), dfs_access_in_type(), finish_non_static_data_member(), hack_identifier(), protected_accessible_p(), push_class_binding(), push_class_level_binding(), and set_inherited_value_binding_p().
Definition at line 4297 of file call.c.
References build2, call_builtin_trap(), convert_to_real(), cp_convert(), decay_conversion(), default_conversion(), double_type_node, error_mark_node, integer_type_node, integer_zero_node, INTEGRAL_OR_ENUMERATION_TYPE_P, perform_integral_promotions(), pod_type_p(), require_complete_type(), skip_evaluation, TREE_CODE, TREE_TYPE, TYPE_PRECISION, and warning.
Referenced by build_over_call(), and convert_arguments().
Definition at line 376 of file tree.c.
References convert_to_integer(), is_bitfield_expr_with_lowered_type(), and TYPE_MAIN_VARIANT.
Referenced by convert_for_arg_passing(), convert_like_real(), and decay_conversion().
Definition at line 4378 of file call.c.
References break_out_target_exprs(), build1, CONSTANT_CLASS_P, convert_for_arg_passing(), convert_for_initialization(), copy_node, DECL_TEMPLATE_INFO, digest_init(), error(), error_mark_node, integer_zero_node, LOOKUP_NORMAL, TREE_CODE, TREE_HAS_CONSTRUCTOR, tsubst_default_argument(), unprocessed_defarg_fn(), and unshare_expr().
Referenced by build_over_call(), convert_arguments(), and cxx_omp_clause_apply_fn().
Definition at line 4450 of file call.c.
References build1, build_reference_type(), gcc_target::calls, check_missing_format_attribute(), COMPLETE_TYPE_P, convert_bitfield_to_declared_type(), default_conversion(), error_mark_node, INT_CST_LT_UNSIGNED, integer_type_node, INTEGRAL_TYPE_P, perform_integral_promotions(), gcc_target::calls::promote_prototypes, PROMOTE_PROTOTYPES, targetm, TREE_ADDRESSABLE, TREE_CODE, TREE_TYPE, TYPE_PRECISION, TYPE_SIZE, warn_missing_format_attribute, and warning.
Referenced by build_over_call(), convert_arguments(), and convert_default_arg().
Definition at line 6076 of file typeck.c.
References complete_type(), CONV_FORCE_TEMP, CONV_IMPLICIT, convert_for_assignment(), convert_from_reference(), cp_error_at(), cp_warning_at(), decay_conversion(), default_conversion(), error(), error_mark_node, errorcount, initialize_reference(), IS_AGGR_TYPE, non_reference(), NULL, NULL_TREE, ocp_convert(), require_complete_type(), resolve_offset_ref(), TREE_CODE, TREE_OPERAND, TREE_TYPE, TREE_VALUE, warning, and warningcount.
Referenced by build_modify_expr(), check_return_expr(), convert_arguments(), convert_default_arg(), convert_to_reference(), and digest_init().
Definition at line 969 of file cvt.c.
References build_ptrmemfunc(), CONV_C_CAST, convert_from_reference(), convert_to_pointer_force(), convert_to_reference(), fold(), fold_if_not_in_template(), integer_zerop(), LOOKUP_COMPLAIN, LOOKUP_NORMAL, NULL_TREE, ocp_convert(), TREE_CODE, TREE_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, and TYPE_PTRMEMFUNC_P.
Referenced by build_c_cast(), build_delete(), build_modify_expr(), build_vbase_delete(), convert_to_reference(), and expand_virtual_init().
Definition at line 563 of file cvt.c.
References build1, build_indirect_ref(), canonical_type_variant(), CP_TYPE_CONST_P, CP_TYPE_VOLATILE_P, NULL, REFERENCE_REF_P, TREE_CODE, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_THIS_VOLATILE, and TREE_TYPE.
Referenced by build_c_cast(), build_class_member_access_expr(), build_conditional_expr(), build_const_cast(), build_const_cast_1(), build_cxx_call(), build_dynamic_cast(), build_dynamic_cast_1(), build_expr_from_tree(), build_expr_type_conversion(), build_method_call(), build_modify_expr(), build_new_method_call(), build_new_op(), build_object_call(), build_offset_ref(), build_over_call(), build_reinterpret_cast(), build_static_cast(), build_static_cast_1(), build_typeid(), build_user_type_conversion(), build_vfield_ref(), build_x_arrow(), convert_arguments(), convert_for_initialization(), convert_force(), convert_lvalue(), convert_to_reference(), cp_genericize_r(), cp_parser_condition(), decay_conversion(), delete_sanity(), do_build_assign_ref(), do_build_copy_constructor(), do_scoped_id(), finish_class_member_access_expr(), finish_id_expression(), grok_reference_init(), hack_identifier(), initialize_handler_parm(), maybe_convert_cond(), resolve_args(), tsubst_copy_and_build(), tsubst_initializer_list(), and tsubst_qualified_id().
Definition at line 4816 of file typeck.c.
References build_addr_func(), build_address(), build_nop(), gcc_assert, get_member_function_from_ptrfunc(), maybe_dummy_object(), pedantic, pedwarn(), PTRMEM_CST_MEMBER, TREE_CODE, TREE_TYPE, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEMFUNC_P, and warn_pmf2ptr.
Definition at line 4497 of file typeck.c.
References build_nop(), build_ptrmemfunc(), cp_build_binary_op, cplus_expand_constant(), get_delta_difference(), integer_zerop(), ptrdiff_type_node, TREE_CODE, TREE_TYPE, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_P, and TYPE_PTRMEMFUNC_FN_TYPE.
Definition at line 474 of file class.c.
References ba_check, ba_unique, build_base_path(), error_mark_node, lookup_base(), NULL, TREE_TYPE, and TYPE_PTR_P.
Definition at line 417 of file class.c.
References BINFO_OFFSET, BINFO_TYPE, build(), build1, build2, build_nop(), build_pointer_type(), build_unary_op(), integer_zerop(), SAME_BINFO_TYPE_P, same_type_p, and TREE_TYPE.
Referenced by build_special_member_call(), and construct_virtual_base().
Definition at line 439 of file cvt.c.
References at_least_as_qualified_p(), build1, build_pointer_type(), build_type_conversion(), build_unary_op(), build_up_reference(), can_convert(), comp_target_types(), COMPARE_BASE, COMPARE_DERIVED, COMPARE_RELAXED, comptypes(), CONV_CONST, CONV_IMPLICIT, CONV_REINTERPRET, CONV_STATIC, convert_for_initialization(), convert_force(), convert_from_reference(), error(), error_mark_node, gcc_assert, i, instantiate_type(), IS_AGGR_TYPE, LOOKUP_COMPLAIN, LOOKUP_NO_CONVERSION, LOOKUP_SPECULATIVELY, lvalue_p(), lvalue_type(), my_friendly_assert, NULL_TREE, pedwarn(), real_lvalue_p(), tf_error, tf_none, tf_warning, tf_warning_or_error, TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, unknown_type_node, warn_ref_binding(), and warning.
Definition at line 804 of file cvt.c.
References AGGR_INIT_VIA_CTOR_P, build(), build1, build2, build3, complete_type(), COMPLETE_TYPE_P, convert_to_void(), error(), error_mark_node, invalid_nonstatic_memfn_p(), is_complete(), is_overloaded_fn(), is_reference(), NULL, NULL_TREE, pedwarn(), processing_template_decl, resolve_offset_ref(), TARGET_EXPR_IMPLICIT_P, TARGET_EXPR_INITIAL, tcc_binary, tcc_comparison, tcc_unary, TREE_ADDRESSABLE, TREE_CODE, TREE_CODE_CLASS, TREE_NO_UNUSED_WARNING, TREE_NO_WARNING, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_HAS_TRIVIAL_DESTRUCTOR, type_unknown_p(), TYPE_VOLATILE, void_type_node, VOID_TYPE_P, void_zero_node, warn_unused_value, and warning.
Referenced by build_c_cast(), build_compound_expr(), build_static_cast(), build_static_cast_1(), build_vec_delete_1(), convert_to_void(), expand_default_init(), finish_expr_stmt(), finish_for_expr(), and ocp_convert().
Definition at line 2483 of file search.c.
References BINFO_BASE_ITERATE, binfo_for_vbase(), BINFO_INHERITANCE_CHAIN, BINFO_TYPE, BINFO_VIRTUAL_P, copied_binfo(), gcc_assert, NULL_TREE, result, and SAME_BINFO_TYPE_P.
Definition at line 607 of file tree.c.
References BINFO_BASE_ACCESSES, BINFO_BASE_APPEND, BINFO_BASE_ITERATE, BINFO_DEPENDENT_BASE_P, binfo_for_vbase(), BINFO_INHERITANCE_CHAIN, BINFO_N_BASE_BINFOS, BINFO_OFFSET, BINFO_TYPE, BINFO_VIRTUAL_P, BINFO_VIRTUALS, CLASSTYPE_VBASECLASSES, copy_binfo(), gcc_assert, make_tree_binfo, SAME_BINFO_TYPE_P, TREE_CHAIN, TYPE_BINFO, and VEC_quick_push.
Definition at line 1458 of file lex.c.
References copy, copy_node, and cxx_dup_lang_specific_decl().
Referenced by build_clone(), finish_struct_1(), and tsubst_decl().
| int copy_fn_p | ( | tree | ) |
Definition at line 13033 of file decl.c.
References args, CP_TYPE_CONST_P, DECL_CONTEXT, DECL_FUNCTION_MEMBER_P, DECL_MEMBER_TEMPLATE_P, DECL_TEMPLATE_INFO, DECL_TI_TEMPLATE, error_mark_node, FUNCTION_FIRST_USER_PARMTYPE, gcc_assert, is_member_template(), my_friendly_assert, result, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_MAIN_VARIANT, and void_list_node.
Referenced by build_over_call(), grok_ctor_properties(), and grok_special_member_properties().
| int count_trees | ( | tree | ) |
Definition at line 1254 of file tree.c.
References count_trees_r(), and walk_tree_without_duplicates().
Definition at line 2298 of file tree.c.
References s, scope_chain, VARRAY_PUSH_TREE, and varray_type.
Definition at line 6448 of file typeck.c.
References build_qualified_type(), c_apply_type_quals_to_decl(), COMPLETE_TYPE_P, error_mark_node, pedantic, pedwarn(), TREE_CODE, TREE_TYPE, TYPE_HAS_MUTABLE_P, TYPE_MAIN_VARIANT, TYPE_NEEDS_CONSTRUCTING, TYPE_QUAL_CONST, and TYPE_UNQUALIFIED.
Definition at line 2330 of file tree.c.
References DECL_CONTEXT, DECL_P, and nonstatic_local_decl_p().
Definition at line 247 of file decl2.c.
References build_decl, DECL_ARG_TYPE, processing_template_decl, and type_passed_as().
Referenced by build_artificial_parm(), grokdeclarator(), implicitly_declare_fn(), and start_cleanup_fn().
| tree cp_build_qualified_type_real | ( | tree | , | |
| int | , | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 592 of file tree.c.
References build_ptrmemfunc_type(), build_qualified_type(), build_type_copy(), build_variant_type_copy(), cp_build_qualified_type_real(), cp_type_quals(), error(), error_mark_node, NULL, POINTER_TYPE_P, ptr_type_node, result, tf_error, tf_ignore_bad_quals, TREE_CODE, TREE_TYPE, TYPE_CONTEXT, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_LANG_SPECIFIC, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_NEEDS_CONSTRUCTING, TYPE_NEXT_VARIANT, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_QUAL_CONST, TYPE_QUAL_RESTRICT, TYPE_QUAL_VOLATILE, and TYPE_UNQUALIFIED.
Referenced by cp_build_qualified_type_real(), grokdeclarator(), tsubst(), tsubst_aggr_type(), tsubst_function_type(), and unify().
Definition at line 1888 of file tree.c.
References build_exception_variant(), build_type_attribute_variant(), CLASS_TYPE_P, gcc_assert, TREE_CODE, and TYPE_RAISES_EXCEPTIONS.
| int cp_cannot_inline_tree_fn | ( | tree * | ) |
Definition at line 2243 of file tree.c.
References gcc_target::binds_local_p, DECL_ATTRIBUTES, DECL_COMDAT, DECL_DECLARED_INLINE_P, DECL_INLINE, DECL_REPLACEABLE_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_RESULT, DECL_UNINLINABLE, flag_exceptions, flag_really_no_inline, function_attribute_inlinable_p(), instantiate_decl(), lookup_attribute(), NULL, targetm, template_for_substitution(), TI_PENDING_TEMPLATE_FLAG, TREE_TYPE, TYPE_RAISES_EXCEPTIONS, and varargs_function_p().
Definition at line 5370 of file decl.c.
References char_type_p(), complete_array_type(), constructor_elt, CONSTRUCTOR_ELTS, failure, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_DOMAIN, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_MAIN_VARIANT, TYPE_NEEDS_CONSTRUCTING, VEC, VEC_empty, VEC_index, and VEC_length.
Definition at line 607 of file cvt.c.
References CONV_OLD_CONVERT, LOOKUP_NORMAL, and ocp_convert().
Referenced by build_base_path(), build_binary_op(), build_conditional_expr(), build_const_cast(), build_dynamic_cast_1(), build_headof(), build_method_call(), build_modify_expr(), build_new(), build_op_delete_call(), build_ptrmemfunc(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_scoped_method_call(), build_static_cast(), build_typeid(), build_unary_op(), build_vec_delete_1(), build_vec_init(), compute_array_index_type(), convert_arg_to_ellipsis(), convert_for_assignment(), convert_like_real(), cp_convert_to_pointer(), decay_conversion(), default_conversion(), finish_pseudo_destructor_call_expr(), get_delta_difference(), GTY(), ifnonnull(), perform_integral_promotions(), pointer_diff(), resolve_offset_ref(), and use_thunk().
| void cp_cpp_error | ( | cpp_reader * | , | |
| int | , | |||
| const char * | , | |||
| va_list * | ||||
| ) |
Referenced by cp_lexer_new_main().
Definition at line 210 of file dump.c.
References AGGR_INIT_VIA_CTOR_P, anonymous_namespace_name, BINFO_BASE_ITERATE, BINFO_BASETYPE, BINFO_TYPE, BINFO_VIRTUAL_P, BINFO_VPTR_FIELD, c_dump_tree(), CLASSTYPE_AS_BASE, CLASSTYPE_N_BASECLASSES, CLASSTYPE_TEMPLATE_SPECIALIZATION, CLEANUP_BODY, CLEANUP_DECL, CLEANUP_EXPR, CLEANUP_P, CP_DECL_CONTEXT, cp_namespace_decls(), DECL_CONSTRUCTOR_P, DECL_CONV_FN_P, DECL_DESTRUCTOR_P, DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_FUNCTION_MEMBER_P, DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P, DECL_INITIAL, DECL_LANG_SPECIFIC, DECL_LANGUAGE, DECL_MUTABLE_P, DECL_NAMESPACE_ALIAS, DECL_OVERLOADED_OPERATOR_P, DECL_P, DECL_PURE_VIRTUAL_P, DECL_TEMPLATE_INSTANTIATIONS, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, DECL_TEMPLATE_SPECIALIZATIONS, DECL_THIS_THUNK_P, DECL_THUNK_P, DECL_VIRTUAL_P, di, DO_BODY, DO_COND, dump_access(), dump_child, dump_flag, dump_int(), dump_next_stmt(), dump_op(), dump_stmt(), dump_string(), dump_string_field(), EH_SPEC_RAISES, EH_SPEC_STMTS, ELSE_CLAUSE, EXPR_STMT_EXPR, FOR_BODY, FOR_COND, FOR_EXPR, FOR_INIT_STMT, HANDLER_BODY, HANDLER_PARMS, i, IDENTIFIER_OPNAME_P, IDENTIFIER_TYPENAME_P, IF_COND, IS_AGGR_TYPE, lang_cplusplus, language_to_string(), OVL_CHAIN, OVL_CURRENT, PTRMEM_CST_CLASS, PTRMEM_CST_MEMBER, STMT_EXPR_STMT, SWITCH_STMT_BODY, SWITCH_STMT_COND, TDF_SLIM, THEN_CLAUSE, THUNK_DELTA, THUNK_FIXED_OFFSET, THUNK_VCALL_OFFSET, THUNK_VIRTUAL_OFFSET, TREE_CODE, tree_low_cst(), TREE_OPERAND, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TREE_VIA_VIRTUAL, TRY_HANDLERS, TRY_STMTS, TYPE_BINFO, TYPE_CONTEXT, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_P, TYPE_PTRMEM_POINTED_TO_TYPE, TYPE_PTRMEMFUNC_P, TYPE_VFIELD, USING_STMT_NAMESPACE, WHILE_BODY, and WHILE_COND.
Definition at line 76 of file cp-objcp-common.c.
References CLASS_TYPE_P, CLASSTYPE_SIZE_UNIT, CP_AGGREGATE_TYPE_P, gcc_assert, is_empty_class(), lhd_expr_size(), size_zero_node, TREE_CODE, TREE_TYPE, TYPE_HAS_COMPLEX_ASSIGN_REF, and TYPE_HAS_COMPLEX_INIT_REF.
Definition at line 5094 of file decl.c.
References abstract_virtuals_error(), add_decl_expr(), at_eof, at_function_scope_p(), build_zero_init(), check_initializer(), cleanup(), COMPLETE_TYPE_P, constructor_elt, CONSTRUCTOR_ELTS, CP_DECL_CONTEXT, current_binding_level, current_class_type, DECL_ARTIFICIAL, DECL_ATTRIBUTES, DECL_CLASS_SCOPE_P, DECL_CONTEXT, DECL_EXTERNAL, DECL_FUNCTION_SCOPE_P, DECL_INITIAL, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_INITIALIZED_IN_CLASS_P, DECL_INITIALIZED_P, DECL_INTEGRAL_CONSTANT_VAR_P, DECL_LANG_SPECIFIC, DECL_NAME, DECL_NONTRIVIALLY_INITIALIZED_P, DECL_NOT_REALLY_EXTERN, DECL_PRETTY_FUNCTION_P, DECL_THREAD_LOCAL_P, dependent_type_p(), determine_visibility(), error(), error_mark_node, expand_static_init(), fold_non_dependent_expr(), gcc_assert, global_scope_p, initialize_local_var(), IS_AGGR_TYPE, layout_type(), layout_var_decl(), lookup_attribute(), make_rtl_for_nonlocal_decl(), mark_decl_referenced(), maybe_apply_renaming_pragma(), maybe_commonize_var(), maybe_deduce_size_from_array_init(), NULL, NULL_TREE, pod_type_p(), processing_template_decl, push_cleanup(), push_local_name(), rest_of_decl_compilation(), set_identifier_type_value(), TREE_CODE, TREE_CONSTANT, TREE_READONLY, TREE_STATIC, TREE_STRING_POINTER, TREE_TYPE, TYPE_BEING_DEFINED, TYPE_DECL_SUPPRESS_DEBUG, TYPE_MAIN_DECL, value_dependent_expression_p(), VEC_index, VEC_length, and warning.
Definition at line 2793 of file decl2.c.
References at_eof, build_java_method_aliases(), c_common_write_pch(), c_dialect_objc, cgraph_assemble_pending_functions(), cgraph_finalize_compilation_unit(), cgraph_node(), cgraph_optimize(), cgraph_varpool_assemble_pending_decls(), check_global_declarations(), cp_warning_at(), current_class_type, DECL_ARTIFICIAL, DECL_DECLARED_INLINE_P, DECL_DEFER_OUTPUT, DECL_EXPLICIT_INSTANTIATION, DECL_EXTERNAL, DECL_INITIAL, DECL_INLINE, decl_namespace_list, decl_needed_p(), DECL_NOT_REALLY_EXTERN, DECL_REALLY_EXTERN, DECL_SAVED_TREE, DECL_SOURCE_LOCATION, DEFAULT_INIT_PRIORITY, deferred_fns_used, do_static_destruction(), do_static_initialization(), do_static_initialization_or_destruction(), dump_begin(), dump_end(), dump_node(), dump_time_statistics(), dump_tree_statistics(), emit_debug_global_declarations(), emit_support_tinfos(), emit_tinfo_decl(), expand_or_defer_fn(), finish_repo(), finish_static_storage_duration_function(), flag_detailed_statistics, flag_syntax_only, flag_use_cxa_atexit, flag_use_repository, flags, generate_ctor_and_dtor_functions_for_priority(), generate_ctor_or_dtor_function(), ggc_collect(), global_bindings_p(), global_namespace, GS_DECL_EXTERNAL, i, import_export_decl(), input_line, input_location, instantiate_pending_templates(), keyed_classes, lang_name_c, maybe_apply_pending_pragma_weaks(), maybe_emit_vtables(), next, nreverse(), NULL_TREE, objc_static_init_needed_p(), pch_file, pending_statics_used, pop_from_top_level(), pop_lang_context(), prune_vars_needing_no_initialization(), push_lang_context(), push_to_top_level(), splay_tree_delete(), splay_tree_foreach(), start_static_storage_duration_function(), static_aggregates, stream, synthesize_method(), TDF_SLIM, TDI_tu, timevar_pop, timevar_push, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_NO_WARNING, TREE_PUBLIC, TREE_PURPOSE, TREE_USED, TREE_VALUE, unemitted_tinfo_decls, var_finalized_p(), VARRAY_TREE, vars, VEC_address, VEC_iterate, VEC_length, VEC_unordered_remove, walk_namespaces(), warning, wrapup_global_declarations(), wrapup_globals_for_namespace(), and write_out_vars().
Definition at line 3060 of file decl.c.
References build_cplus_array_type(), build_index_type(), build_qualified_type(), build_string(), char_type_node, error_mark_node, length, NULL_TREE, size_int, strlen(), TREE_TYPE, and TYPE_QUAL_CONST.
Definition at line 7733 of file class.c.
References BINFO_VIRTUALS, build_address(), BV_FN, cgraph_node(), DECL_VINDEX, gcc_assert, HOST_WIDE_INT, i, index(), OBJ_TYPE_REF_TOKEN, TARGET_VTABLE_USES_DESCRIPTORS, TREE_CHAIN, tree_int_cst_equal(), tree_low_cst(), and TYPE_BINFO.
Definition at line 337 of file cp-gimplify.c.
References bc_break, bc_continue, bc_label, build_reference_type(), c_genericize(), cp_genericize_r(), DECL_ARG_TYPE, DECL_ARGUMENTS, DECL_BY_REFERENCE, DECL_CLONED_FUNCTION_P, DECL_RESULT, DECL_SAVED_TREE, gcc_assert, NULL, pointer_set_create(), pointer_set_destroy(), relayout_decl(), TREE_ADDRESSABLE, TREE_CHAIN, TREE_TYPE, and walk_tree().
Referenced by finish_function().
Definition at line 183 of file cp-gimplify.c.
References BASELINK_FUNCTIONS, bc_break, bc_continue, build_bc_goto(), build_constructor(), build_empty_stmt(), build_int_cst(), c_gimplify_expr(), cp_gimplify_init_expr(), cp_gimplify_omp_for(), cplus_expand_constant(), current_stmt_tree(), fold_convert(), genericize_catch_block(), genericize_eh_spec_block(), genericize_try_block(), gimplify_do_stmt(), gimplify_expr_stmt(), gimplify_for_stmt(), gimplify_if_stmt(), gimplify_must_not_throw_expr(), gimplify_switch_stmt(), gimplify_while_stmt(), GS_ALL_DONE, GS_OK, NULL, ret, simplify_aggr_init_expr(), STATEMENT_CODE_P, STMT_IS_FULL_EXPR_P, stmts_are_full_exprs_p(), TREE_CODE, TREE_OPERAND, and TREE_TYPE.
Definition at line 6648 of file typeck.c.
References CLASS_TYPE_P, CLASSTYPE_HAS_MUTABLE, and strip_array_types().
Definition at line 2135 of file tree.c.
References processing_template_decl, and save_expr().
Referenced by build_new().
Definition at line 1653 of file tree.c.
References BASELINK_ACCESS_BINFO, BASELINK_BINFO, BASELINK_FUNCTIONS, cp_tree_equal(), DECL_NAME, DECL_RTL_SET_P, gcc_unreachable, i, memcmp, NULL_TREE, OVL_CHAIN, OVL_FUNCTION, PTRMEM_CST_CLASS, PTRMEM_CST_MEMBER, REAL_VALUES_EQUAL, same_type_p, simple_cst_list_equal(), SSA_NAME, tcc_binary, tcc_comparison, tcc_expression, tcc_reference, tcc_statement, tcc_type, tcc_unary, TEMPLATE_PARM_DECL, TEMPLATE_PARM_IDX, TEMPLATE_PARM_LEVEL, TREE_CHAIN, TREE_CODE, TREE_CODE_CLASS, TREE_CODE_LENGTH, TREE_IMAGPART, TREE_INT_CST_HIGH, TREE_INT_CST_LOW, TREE_OPERAND, TREE_PURPOSE, TREE_REAL_CST, TREE_REALPART, TREE_STRING_LENGTH, TREE_STRING_POINTER, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, and TYPE_P.
Referenced by comp_array_types(), comptypes(), cp_tree_equal(), template_args_equal(), and unify().
| enum cp_tree_node_structure_enum cp_tree_node_structure | ( | union lang_tree_node * | ) |
Definition at line 15497 of file decl.c.
References TREE_CODE, TS_CP_BASELINK, TS_CP_DEFAULT_ARG, TS_CP_GENERIC, TS_CP_IDENTIFIER, TS_CP_OVERLOAD, TS_CP_PTRMEM, TS_CP_SRCLOC, TS_CP_TINST_LEVEL, TS_CP_TPI, and TS_CP_WRAPPER.
| size_t cp_tree_size | ( | enum | tree_code | ) |
Definition at line 116 of file cp-objcp-common.c.
References gcc_unreachable, and template_parm_index.
Definition at line 3868 of file typeck.c.
References build_binary_op(), c_common_truthvalue_conversion(), integer_zero_node, TREE_TYPE, and TYPE_PTRMEM_P.
Referenced by ocp_convert().
| int cp_type_quals | ( | tree | ) |
Definition at line 6636 of file typeck.c.
References error_mark_node, strip_array_types(), TYPE_QUALS, and TYPE_UNQUALIFIED.
Referenced by at_least_as_qualified_p(), build_aggr_init(), build_base_path(), build_class_member_access_expr(), build_cplus_array_type(), build_headof(), build_m_component_ref(), build_ptrmem_type(), build_ptrmemfunc_access_expr(), build_ptrmemfunc_type(), build_simple_base_path(), canonical_type_variant(), casts_away_constness_r(), check_cv_quals_for_unify(), check_final_overrider(), comp_cv_qualification(), comp_except_types(), complete_vars(), composite_pointer_type(), composite_pointer_type_r(), comptypes(), cp_build_qualified_type_real(), Create_TY_For_Tree(), decay_conversion(), do_build_assign_ref(), do_build_copy_constructor(), find_substitution(), finish_base_specifier(), finish_non_static_data_member(), grokdeclarator(), GTY(), locate_copy(), maybe_deduce_size_from_array_init(), merge_types(), more_qualified_p(), more_specialized_fn(), original_type(), qualifier_flags(), qualify_type_recursive(), reference_binding(), resolve_typename_type(), revert_static_member_fn(), rvalue(), standard_conversion(), start_function(), start_preparsed_function(), tsubst(), tsubst_decl(), type_promotes_to(), typeinfo_in_lib_p(), unify(), WFE_Process_Class_Decl(), WFE_Process_Type_Decl(), WGEN_Process_Class_Decl(), and WGEN_Process_Type_Decl().
Definition at line 6808 of file typeck.c.
References strip_array_types(), and TYPE_READONLY.
Referenced by start_decl().
Definition at line 138 of file cp-objcp-common.c.
References TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_POINTED_TO_TYPE, and variably_modified_type_p().
| tree cp_walk_subtrees | ( | tree * | , | |
| int * | , | |||
| walk_tree_fn | , | |||
| void * | , | |||
| struct pointer_set_t * | ||||
| ) |
Definition at line 1905 of file tree.c.
References EXPR_HAS_LOCATION, EXPR_LOCATION, input_location, NULL_TREE, out, OVL_CHAIN, OVL_FUNCTION, result, TINST_DECL, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, and WALK_SUBTREE.
Definition at line 1228 of file decl2.c.
References decl_attributes(), DECL_NAME, DECL_TEMPLATE_RESULT, error_mark_node, NULL_TREE, SET_IDENTIFIER_TYPE_VALUE, TREE_CODE, TREE_TYPE, and void_type_node.
Referenced by begin_class_definition(), cp_parser_conversion_type_id(), cp_parser_elaborated_type_specifier(), cp_parser_enum_specifier(), cp_parser_member_declaration(), cp_parser_objc_class_ivars(), do_friend(), finish_struct(), grokfield(), grokfndecl(), grokparms(), groktypename(), regenerate_decl_from_template(), start_decl(), start_function(), and start_method().
Definition at line 39 of file expr.c.
References build1, build_nop(), build_ptrmemfunc1(), byte_position(), DECL_CONTEXT, expand_ptrmemfunc_cst(), fold(), lookup_anon_field(), member(), offset, PTRMEM_CST_MEMBER, same_type_p, size_binop(), TREE_CODE, TREE_TYPE, and TYPE_PTRMEM_CLASS_TYPE.
Referenced by build_static_cast(), convert_ptrmem(), cp_convert_to_pointer(), cp_gimplify_expr(), cxx_expand_expr(), Traverse_Aggregate_Array(), Traverse_Aggregate_Struct(), WFE_Expand_Decl(), and WFE_Expand_Expr().
Definition at line 2968 of file decl.c.
References build_decl, DECL_ARTIFICIAL, SET_DECL_IMPLICIT_TYPEDEF_P, and TYPE_NAME.
Referenced by cxx_init_decl_processing(), lookup_template_class(), and pushtag().
Definition at line 2661 of file init.c.
References build_decl, current_function_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_IGNORED_P, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, input_filename, input_location, lineno, NULL_TREE, and TREE_USED.
Referenced by build_vec_delete_1(), expand_start_catch_block(), finish_compound_literal(), get_temp_regvar(), and make_temporary_var_for_ref_to_temp().
Definition at line 10847 of file pt.c.
Referenced by maybe_print_instantiation_context(), print_instantiation_context(), and print_instantiation_full_context().
| int current_lang_depth | ( | void | ) |
Definition at line 5971 of file class.c.
References current_lang_base, VARRAY_ACTIVE_SIZE, and VEC_length.
Referenced by duplicate_decls(), and xref_basetypes().
Definition at line 574 of file search.c.
References current_class_type, current_function_decl, current_namespace, DECL_CONTEXT, DECL_FRIEND_CONTEXT, DECL_FUNCTION_MEMBER_P, NULL_TREE, and same_type_p.
Referenced by accessible_p(), at_class_scope_p(), at_function_scope_p(), at_namespace_scope_p(), begin_inline_definitions(), build_array_declarator(), build_compound_literal(), build_enumerator(), c_init_decl_processing(), check_for_loop_decls(), check_specialization_scope(), check_tag_decl(), cp_parser_class_head(), declare_label(), declare_parm_level(), dfs_accessible_p(), dfs_accessible_post(), dfs_accessible_queue_p(), dfs_walk_once_accessible_r(), do_local_using_decl(), do_namespace_alias(), do_using_directive(), finish_class_definition(), finish_decl(), finish_enum(), finish_struct(), get_parm_info(), global_bindings_p(), grokdeclarator(), grokvardecl(), handle_class_head(), handle_class_head_apparent_template(), implicitly_declare(), insert_block(), lookup_tag(), mark_forward_parm_decls(), merge_decls(), objc_get_current_scope(), objc_mark_locals_volatile(), pop_file_scope(), pop_scope(), push_file_scope(), push_inner_scope(), push_scope(), push_template_decl_real(), pushdecl(), pushtag(), shadow_tag_warned(), start_decl(), start_function(), store_parm_decls_newstyle(), store_parm_decls_oldstyle(), undeclared_variable(), and warn_if_shadowing().
| tmpl_spec_kind current_tmpl_spec_kind | ( | int | ) |
Definition at line 999 of file decl.c.
References b, current_binding_level, processing_explicit_instantiation, tsk_excessive_parms, tsk_expl_inst, tsk_expl_spec, tsk_insufficient_parms, tsk_invalid_expl_inst, tsk_invalid_member_spec, tsk_none, and tsk_template.
Referenced by check_explicit_specialization().
Definition at line 5894 of file class.c.
References c, current_class_depth, current_class_type, i, same_type_p, and class_stack_node::type.
Referenced by build_class_member_access_expr(), cp_parser_lookup_name(), dependent_base_p(), dependent_scope_ref_p(), finish_class_member_access_expr(), grokdeclarator(), make_typename_type(), make_unbound_class_template(), and resolve_typename_type().
Definition at line 5911 of file class.c.
References current_class_depth, current_class_type, dependent_type_p(), DERIVED_FROM_P, i, NULL_TREE, and class_stack_node::type.
Referenced by baselink_for_fns(), check_accessibility_of_qualified_id(), finish_call_expr(), finish_id_expression(), and hack_identifier().
| const char* cxx_comdat_group | ( | tree | ) |
Definition at line 11158 of file decl.c.
References CLASSTYPE_VTABLES, DECL_ASSEMBLER_NAME, DECL_CONTEXT, DECL_ONE_ONLY, DECL_SECTION_NAME, DECL_THUNK_P, DECL_VTABLE_OR_VTT_P, IDENTIFIER_POINTER, NULL, target, TARGET_USE_LOCAL_THUNK_ALIAS_P, THUNK_TARGET, and TREE_CODE.
Definition at line 1432 of file lex.c.
References CAN_HAVE_FULL_LANG_DECL_P, DECL_LANG_SPECIFIC, ggc_alloc, GGC_NEWVAR, int, memcpy, size, tree_node_counts, and tree_node_sizes.
Referenced by build_clone(), copy_decl(), GTY(), and make_thunk().
Definition at line 94 of file expr.c.
References abort, BASELINK_FUNCTIONS, c_expand_expr(), const0_rtx, cplus_expand_constant(), expand_expr(), EXPAND_NORMAL, EXPAND_SUM, gcc_unreachable, mode, Pmode, TREE_CODE, TREE_TYPE, and TYPE_MODE.
| HOST_WIDE_INT cxx_get_alias_set | ( | tree | ) |
Definition at line 40 of file cp-objcp-common.c.
References c_common_get_alias_set(), get_alias_set(), IS_FAKE_BASE_TYPE, TYPE_CONTEXT, and TYPE_PTRMEMFUNC_P.
Definition at line 196 of file typeck2.c.
References abort, cp_error_at(), cp_pedwarn_at(), cp_warning_at(), D, error(), PARAMS, pedwarn(), TREE_CODE, TREE_TYPE, TYPE_DOMAIN, TYPE_TEMPLATE_INFO, UNKNOWN_TYPE, void, and warning.
Referenced by add_exception_specifier(), build_delete(), complete_type_or_diagnostic(), complete_type_or_else(), and cxx_incomplete_type_error().
Definition at line 326 of file lex.c.
References ARRAY_SIZE, BUILTINS_LOCATION, c_common_init(), c_common_stmt_codes, class_type_node, cp_stmt_codes, current_function_decl, cxx_init_decl_processing(), i, init_cp_pragma(), init_cp_semantics(), init_error(), init_method(), init_operators(), init_repo(), init_reswords(), INIT_STATEMENT_CODES, init_tree(), int, memset, NULL, pop_srcloc(), push_srcloc(), RID_CLASS, ridpointers, and statement_code_p.
Definition at line 6966 of file decl.c.
References abi_node, abort_fndecl, add_exception_specifier(), begin_scope(), binding_table_new(), BOOL_TYPE_SIZE, boolean_false_node, boolean_true_node, boolean_type_node, build_common_tree_nodes(), build_cplus_array_type(), build_exception_variant(), build_function_type(), build_int_2, build_int_cst(), build_lang_decl(), build_library_fn_ptr(), build_pointer_type(), build_qualified_type(), build_tree_list, c_common_nodes_and_builtins(), class_type, const_ptr_type_node, cp_make_fname_decl(), cp_missing_noreturn_ok_p(), create_implicit_typedef(), current_binding_level, current_function_decl, current_lang_name, current_namespace, DECL_CONTEXT, declare_namespace_level(), delta_type_node, empty_except_spec, error_mark_list, error_mark_node, flag_const_strings, flag_exceptions, flag_inline_functions, flag_inline_trees, flag_no_inline, flag_pedantic_errors, flag_permissive, flag_signed_char, flag_weak, flag_writable_strings, force_align_functions_log, gcc_assert, get_identifier(), global_delete_fndecl, global_namespace, GLOBAL_SCOPE_HT_SIZE, global_scope_name, global_type_node, init_class_processing(), init_exception_processing(), init_rtti_processing(), init_search_processing(), initialize_predefined_identifiers(), integer_three_node, integer_two_node, integer_type_node, java_boolean_type_node, java_byte_type_node, java_char_type_node, java_double_type_node, java_float_type_node, java_int_type_node, java_long_type_node, java_short_type_node, lang_missing_noreturn_ok_p, lang_name_c, lang_name_cplusplus, layout_type(), make_aggr_type(), make_fname_decl, make_node, make_unsigned_type(), my_friendly_assert, NAMESPACE_LEVEL, NULL, NULL_BINDING_LEVEL, NULL_TREE, pop_namespace(), ptr_type_node, ptrdiff_type_node, ptrmemfunc_vbit_in_pfn, push_cp_library_fn(), push_namespace(), push_to_top_level(), pushlevel(), record_builtin_java_type(), record_builtin_type(), record_unknown_type(), RID_BOOL, RID_MAX, size_type_node, sk_namespace, start_fname_decls(), std_identifier, std_node, string_type_node, supports_one_only(), TARGET_PTRMEMFUNC_VBIT_LOCATION, tree_cons, TREE_PUBLIC, TREE_SET_CODE, TREE_TYPE, truthvalue_false_node, truthvalue_true_node, truthvalue_type_node, TYPE_ARG_TYPES, TYPE_CONTEXT, TYPE_MAX_VALUE, TYPE_POINTER_TO, TYPE_PRECISION, TYPE_QUAL_CONST, TYPE_REFERENCE_TO, TYPE_STUB_DECL, UNKNOWN_TYPE, unknown_type_node, using_eh_for_cleanups(), VARRAY_TREE_INIT, void_list_node, void_type_node, vtable_entry_type, vtable_index_type, VTBL_PTR_TYPE, vtbl_ptr_type_node, vtbl_type_node, vtt_parm_type, and xref_tag().
Referenced by cxx_init().
| void cxx_initialize_diagnostics | ( | struct diagnostic_context * | ) |
Definition at line 154 of file cp-objcp-common.c.
References base, free(), memcpy, pp_base, pp_cxx_pretty_printer_init(), diagnostic_context::printer, xmalloc(), and XNEW.
| unsigned int cxx_int_tree_map_hash | ( | const void * | ) |
| tree cxx_make_type | ( | enum | tree_code | ) |
Definition at line 1508 of file lex.c.
References build_pointer_type(), CLASSTYPE_INTERFACE_ONLY, get_fileinfo(), ggc_alloc_cleared, GGC_CNEW, input_filename, int, c_fileinfo::interface_only, c_fileinfo::interface_unknown, IS_AGGR_TYPE_CODE, lbasename(), make_binfo(), make_node, NULL_TREE, pi, SET_CLASSTYPE_INTERFACE_UNKNOWN_X, size_zero_node, tree_node_counts, tree_node_sizes, TYPE_ALIAS_SET, TYPE_BINFO, and TYPE_LANG_SPECIFIC.
Referenced by make_aggr_type().
Definition at line 4521 of file typeck.c.
References current_class_ptr, cxx_mark_addressable(), DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_HARD_REGISTER, DECL_IN_AGGR_P, DECL_LANG_SPECIFIC, DECL_REGISTER, error(), extra_warnings, gcc_assert, my_friendly_assert, put_var_into_stack(), TREE_ADDRESSABLE, TREE_CODE, TREE_OPERAND, TREE_STATIC, warning, and x.
Referenced by build_addr_func(), build_address(), build_array_ref(), build_cleanup(), build_throw(), build_unary_op(), convert_nontype_argument(), cxx_mark_addressable(), cxx_maybe_build_cleanup(), decay_conversion(), finish_asm_stmt(), register_dtor_fn(), resolve_address_of_overloaded_function(), resolve_offset_ref(), simplify_aggr_init_expr(), and simplify_aggr_init_exprs_r().
Definition at line 15388 of file decl.c.
References build_compound_expr(), build_delete(), build_tree_list, build_unary_op(), build_vbase_delete(), CLASSTYPE_VBASECLASSES, cxx_mark_addressable(), error_mark_node, flag_expensive_optimizations, flags, LOOKUP_DESTRUCTOR, LOOKUP_NONVIRTUAL, LOOKUP_NORMAL, NULL_TREE, sfk_complete_destructor, TREE_CODE, tree_cons, TREE_TYPE, TYPE_HAS_DESTRUCTOR, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, and TYPE_USES_VIRTUAL_BASECLASSES.
Referenced by build_target_expr(), initialize_local_var(), and initialize_reference().
Definition at line 914 of file cp-gimplify.c.
References build2, CP_OMP_CLAUSE_INFO, cxx_omp_clause_apply_fn(), info, NULL, ret, TREE_VEC_ELT, and void_type_node.
Definition at line 898 of file cp-gimplify.c.
References build2, CP_OMP_CLAUSE_INFO, cxx_omp_clause_apply_fn(), info, NULL, ret, TREE_VEC_ELT, and void_type_node.
Definition at line 884 of file cp-gimplify.c.
References CP_OMP_CLAUSE_INFO, cxx_omp_clause_apply_fn(), info, NULL, ret, and TREE_VEC_ELT.
Definition at line 930 of file cp-gimplify.c.
References CP_OMP_CLAUSE_INFO, cxx_omp_clause_apply_fn(), info, NULL, ret, and TREE_VEC_ELT.
| enum omp_clause_default_kind cxx_omp_predetermined_sharing | ( | tree | ) |
Definition at line 3937 of file semantics.c.
References c_omp_predetermined_sharing(), CP_DECL_CONTEXT, IS_AGGR_TYPE, OMP_CLAUSE_DEFAULT_SHARED, OMP_CLAUSE_DEFAULT_UNSPECIFIED, TREE_STATIC, and TYPE_P.
Referenced by finish_omp_clauses().
Definition at line 30 of file ptree.c.
References CODE_CONTAINS_STRUCT, DECL_LANG_SPECIFIC, DECL_MUTABLE_P, DECL_PENDING_INLINE_INFO, DECL_SORTED_FIELDS, DECL_TEMPLATE_INFO, fprintf(), HOST_PTR_PRINTF, indent_to(), and TREE_CODE.
| void cxx_print_error_function | ( | struct diagnostic_context * | , | |
| const char * | ||||
| ) |
Definition at line 2433 of file error.c.
References lhd_print_error_function(), maybe_print_instantiation_context(), output_set_prefix(), pp_base_set_prefix(), and diagnostic_context::printer.
Definition at line 169 of file ptree.c.
References cxx_print_binding(), fprintf(), IDENTIFIER_BINDING, IDENTIFIER_CLASS_VALUE, IDENTIFIER_ERROR_LOCUS, IDENTIFIER_IMPLICIT_DECL, IDENTIFIER_LABEL_VALUE, IDENTIFIER_NAMESPACE_BINDINGS, IDENTIFIER_TEMPLATE, indent_to(), and print_node().
Definition at line 1367 of file tree.c.
References fprintf(), print_class_statistics(), and print_search_statistics().
Definition at line 69 of file ptree.c.
References BINFO_N_BASE_BINFOS, CLASS_TYPE_P, CLASSTYPE_INTERFACE_ONLY, CLASSTYPE_INTERFACE_UNKNOWN, CLASSTYPE_METHOD_VEC, CLASSTYPE_N_BASECLASSES, CLASSTYPE_USE_TEMPLATE, fprintf(), fputs(), HOST_WIDE_INT_PRINT_DEC, indent_to(), print_node(), TEMPLATE_TYPE_IDX, TEMPLATE_TYPE_LEVEL, TEMPLATE_TYPE_ORIG_LEVEL, TREE_CODE, TYPE_BINFO, TYPE_GETS_DELETE, TYPE_HAS_ARRAY_NEW_OPERATOR, TYPE_HAS_ASSIGN_REF, TYPE_HAS_CONST_INIT_REF, TYPE_HAS_CONVERSION, TYPE_HAS_DEFAULT_CONSTRUCTOR, TYPE_HAS_DESTRUCTOR, TYPE_HAS_INIT_REF, TYPE_HAS_NEW_OPERATOR, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_NEEDS_CONSTRUCTING, TYPE_OVERLOADS_ARRAY_REF, TYPE_OVERLOADS_ARROW, TYPE_OVERLOADS_CALL_EXPR, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_RAISES_EXCEPTIONS, and TYPE_USES_MULTIPLE_INHERITANCE.
Definition at line 184 of file ptree.c.
References BASELINK_ACCESS_BINFO, BASELINK_BINFO, BASELINK_FUNCTIONS, fprintf(), fputs(), HOST_WIDE_INT_PRINT_DEC, indent_to(), OVL_FUNCTION, print_node(), TEMPLATE_PARM_IDX, TEMPLATE_PARM_LEVEL, TEMPLATE_PARM_ORIG_LEVEL, TREE_CHAIN, and TREE_CODE.
| const char* cxx_printable_name | ( | tree | , | |
| int | ||||
| ) |
Definition at line 1143 of file tree.c.
References abort, current_function_decl, DECL_LANG_SPECIFIC, free(), gcc_assert, i, lang_decl_name(), NULL_TREE, PRINT_RING_SIZE, TREE_CODE, and xstrdup().
Referenced by cp_print_error_function(), and tsubst_expr().
Definition at line 15466 of file decl.c.
References cp_function_chain, current_stmt_tree(), DECL_INLINE, DECL_SAVED_FUNCTION_DATA, expanding_p, ggc_alloc_cleared, GGC_CNEW, NULL, and p.
Definition at line 1279 of file typeck.c.
References build_min(), char_type_node, cxx_alignof_expr(), cxx_incomplete_type_error, cxx_sizeof_expr(), cxx_sizeof_or_alignof_type(), DECL_C_BIT_FIELD, error(), error_mark_node, is_overloaded_fn(), op_name, pedwarn(), processing_template_decl, size_type_node, TREE_CODE, TREE_OPERAND, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_TYPE, and type_unknown_p().
Definition at line 1501 of file typeck.c.
References build_min(), build_min_nt(), c_sizeof_or_alignof_type(), complete_type(), COMPLETE_TYPE_P, dependent_type_p(), error(), error_mark_node, gcc_assert, my_friendly_assert, non_reference(), op_name, operator_name_info, pedantic, pedwarn(), processing_template_decl, size_one_node, size_type_node, size_zero_node, TREE_CODE, TREE_READONLY, TREE_TYPE, TYPE_SIZE, and warn_pointer_arith.
Referenced by build_expr_from_tree(), cp_parser_unary_expression(), cxx_alignof_expr(), cxx_sizeof_expr(), cxx_sizeof_or_alignof_expr(), and tsubst_copy_and_build().
Definition at line 189 of file cp-objcp-common.c.
References BASELINK_FUNCTIONS, NULL_TREE, staticp, and TREE_CODE.
Definition at line 4355 of file call.c.
References build_pointer_type(), same_type_p, TREE_CODE, TREE_TYPE, type_decays_to(), and type_promotes_to().
Definition at line 171 of file cp-objcp-common.c.
References POINTER_TYPE_P, same_type_ignoring_top_level_qualifiers_p, same_type_p, TREE_TYPE, TYPE_MODE, and TYPE_REF_CAN_ALIAS_ALL.
Definition at line 57 of file cp-objcp-common.c.
References DECL_DECLARED_INLINE_P, DECL_IN_SYSTEM_HEADER, TREE_CODE, and TREE_READONLY.
Definition at line 357 of file search.c.
References CLASSTYPE_REPEATED_BASE_P, dfs_dcast_hint_post(), dfs_dcast_hint_pre(), dfs_walk_once_accessible(), NULL_TREE, dcast_data_s::offset, dcast_data_s::repeated_base, ssize_int, dcast_data_s::subtype, TYPE_BINFO, and dcast_data_s::virt_depth.
Definition at line 963 of file tree.c.
References BINFO_OFFSET, BINFO_TYPE, BINFO_VIRTUALS, BINFO_VTABLE, debug_tree(), DECL_ASSEMBLER_NAME, DECL_NAME, DECL_VINDEX, fprintf(), get_vtbl_decl_for_binfo(), HOST_WIDE_INT, HOST_WIDE_INT_PRINT_DEC, IDENTIFIER_POINTER, n, TREE_CHAIN, TREE_INT_CST_LOW, TREE_VALUE, and TYPE_NAME_STRING.
Definition at line 1578 of file typeck.c.
References abort, build(), build1, build2, build_address(), build_nop(), build_pointer_type(), build_unary_op(), CLASS_TYPE_P, convert_bitfield_to_declared_type(), convert_from_reference(), cp_convert(), cp_type_quals(), cxx_incomplete_type_error, cxx_mark_addressable(), decay_conversion(), decl_constant_value(), DECL_INITIAL, error(), error_mark_node, error_operand_p, integral_constant_value(), invalid_nonstatic_memfn_p(), is_overloaded_fn(), lvalue_p(), resolve_offset_ref(), staticp, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_STATIC, TREE_TYPE, TYPE_MAIN_VARIANT, and type_unknown_p().
Referenced by build_addr_func(), build_binary_op(), build_conditional_expr(), build_const_cast(), build_const_cast_1(), build_expr_type_conversion(), build_indirect_ref(), build_m_component_ref(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_special_member_call(), build_throw(), build_vec_init(), convert_arg_to_ellipsis(), convert_for_initialization(), convert_like_real(), convert_nontype_argument(), decay_conversion(), default_conversion(), finish_asm_stmt(), finish_goto_stmt(), finish_stmt_expr_expr(), force_rvalue(), get_atexit_node(), grok_reference_init(), and tinfo_base_init().
Definition at line 1405 of file tree.c.
References DECL_CONTEXT, DECL_NAME, error_mark_node, NULL_TREE, TREE_CODE, TREE_PUBLIC, TYPE_NAME, and TYPE_P.
Referenced by determine_visibility(), and push_namespace_with_attribs().
| const char* decl_as_string | ( | tree | , | |
| int | ||||
| ) |
Definition at line 2162 of file error.c.
References cxx_pp, dump_decl(), output_finalize_message(), pp_formatted_text, reinit_cxx_pp(), and reinit_global_formatting_buffer.
Referenced by dump_array(), dump_function(), lang_decl_name(), mangle_class_name_for_template(), print_instantiation_full_context(), and print_instantiation_partial_context().
| linkage_kind decl_linkage | ( | tree | ) |
Definition at line 2610 of file tree.c.
References DECL_COMDAT, decl_function_context(), DECL_LANG_SPECIFIC, decl_linkage(), DECL_NAME, DECL_THIS_STATIC, lk_external, lk_internal, lk_none, TREE_CODE, TREE_PUBLIC, TREE_TYPE, and TYPE_NAME.
Referenced by decl_linkage(), and retrofit_lang_decl().
Definition at line 1632 of file tree.c.
References CP_DECL_CONTEXT, TREE_CODE, TYPE_MAIN_DECL, and TYPE_P.
Referenced by arg_assoc_class(), arg_assoc_type(), check_explicit_instantiation_namespace(), check_specialization_namespace(), current_decl_namespace(), do_friend(), instantiate_class_template(), instantiate_decl(), maybe_process_partial_specialization(), push_decl_namespace(), register_specialization(), and tsubst_friend_function().
Definition at line 1511 of file decl2.c.
References at_eof, DECL_ASSEMBLER_NAME, DECL_ASSEMBLER_NAME_SET_P, DECL_COMDAT, gcc_assert, TREE_CODE, TREE_PUBLIC, TREE_SYMBOL_REFERENCED, and TREE_USED.
Definition at line 242 of file cp-objcp-common.c.
References GGC_NEW, h, htab_find_slot_with_hash(), htab_hash_pointer, and INSERT.
Definition at line 5263 of file decl.c.
References current_binding_level, IDENTIFIER_LABEL_VALUE, make_label_decl(), NULL_TREE, tree_cons, and TREE_VALUE.
Referenced by finish_label_decl().
Definition at line 3198 of file decl.c.
References add_duplicates(), comp_template_parms(), COMPARE_REDECLARATION, compparms(), comptypes(), CP_DECL_CONTEXT, DECL_BUILT_IN, DECL_CLASS_SCOPE_P, DECL_EXTERN_C_P, DECL_IN_SYSTEM_HEADER, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, decls_match(), error_mark_node, f1, f2, NO_IMPLICIT_EXTERN_C, NULL_TREE, p1, p2, same_type_p, self_promoting_args_p(), TREE_CODE, TREE_TYPE, TYPE_ARG_TYPES, and void_list_node.
Referenced by decls_match(), do_nonmember_using_decl(), duplicate_decls(), equal_functions(), push_overloaded_decl(), pushdecl(), pushdecl_maybe_friend(), redeclaration_error_message(), and set_decl_namespace().
| DEF_VEC_ALLOC_O | ( | deferred_access_check | , | |
| gc | ||||
| ) |
| DEF_VEC_ALLOC_O | ( | tree_pair_s | , | |
| gc | ||||
| ) |
| DEF_VEC_O | ( | deferred_access_check | ) |
| DEF_VEC_O | ( | tree_pair_s | ) |
| tree define_label | ( | location_t | , | |
| tree | ||||
| ) |
Definition at line 2520 of file c-decl.c.
References bind(), C_DECL_UNDEFINABLE_STMT_EXPR, C_DECL_UNDEFINABLE_VM, C_DECLARED_LABEL_FLAG, check_previous_goto(), check_previous_gotos(), current_binding_level, current_function_decl, DECL_CONTEXT, DECL_INITIAL, DECL_SOURCE_LOCATION, error(), error_mark_node, gcc_assert, get_identifier(), htab_find(), I_LABEL_DECL, IDENTIFIER_POINTER, if(), in_system_header, c_label_list::label, label_context_stack_se, label_context_stack_vm, c_label_context_se::labels_def, c_label_context_vm::labels_def, locate_old_decl(), lookup_label(), lookup_name(), make_label(), named_labels, c_label_list::next, NULL, NULL_TREE, p, parser_obstack, pedwarn(), POP_TIMEVAR_AND_RETURN, sk_function_parms, timevar_push, warn_traditional, warning, and XOBNEW.
Definition at line 506 of file decl2.c.
References build1, build_delete(), build_expr_type_conversion(), build_min(), build_vec_delete(), convert_from_reference(), cp_build_binary_op, DELETE_EXPR_USE_GLOBAL, DELETE_EXPR_USE_VEC, error(), error_mark_node, integer_one_node, integer_zerop(), LOOKUP_NORMAL, NULL_TREE, pedwarn(), processing_template_decl, resolve_offset_ref(), sfk_deleting_destructor, stabilize_reference(), TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, void_type_node, WANT_POINTER, and warning.
Referenced by build_expr_from_tree(), cp_parser_delete_expression(), and tsubst_copy_and_build().
Definition at line 12480 of file pt.c.
References any_dependent_template_arguments_p(), and dependent_template_p().
Definition at line 12450 of file pt.c.
References CP_DECL_CONTEXT, DECL_CONTEXT, DECL_TEMPLATE_TEMPLATE_PARM_P, dependent_template_p(), dependent_type_p(), OVL_CHAIN, OVL_FUNCTION, TREE_CODE, and TYPE_P.
Definition at line 12065 of file pt.c.
References dependent_type_p_r(), error_mark_node, gcc_assert, processing_template_decl, TREE_CODE, TYPE_DEPENDENT_P, and TYPE_DEPENDENT_P_VALID.
Definition at line 4886 of file class.c.
References CLASSTYPE_INTERFACE_KNOWN, CLASSTYPE_KEY_METHOD, CLASSTYPE_TEMPLATE_INSTANTIATION, DECL_DECLARED_INLINE_P, DECL_PURE_VIRTUAL_P, DECL_VINDEX, NULL_TREE, processing_template_decl, TREE_CHAIN, TYPE_FOR_JAVA, and TYPE_METHODS.
Referenced by finish_struct_1(), and maybe_emit_vtables().
Definition at line 1656 of file decl2.c.
References args, c_determine_visibility(), class_type, CLASS_TYPE_P, CLASSTYPE_USE_TEMPLATE, CLASSTYPE_VISIBILITY, CLASSTYPE_VISIBILITY_SPECIFIED, constrain_visibility(), constrain_visibility_for_template(), gcc_target::cxx, decl_anon_ns_mem_p(), DECL_ATTRIBUTES, DECL_CLASS_SCOPE_P, DECL_CLONED_FUNCTION_P, DECL_CONSTRUCTION_VTABLE_P, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_FUNCTION_SCOPE_P, DECL_LANG_SPECIFIC, DECL_NAME, DECL_TEMPLATE_INFO, DECL_TEMPLATE_RESULT, DECL_TINFO_P, DECL_USE_TEMPLATE, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, DECL_VTABLE_OR_VTT_P, default_visibility, determine_visibility_from_class(), error_mark_node, gcc_target::cxx::export_class_data, gcc_assert, visibility_flags::inlines_hidden, visibility_flags::inpragma, lookup_attribute(), NULL_TREE, pattern, TARGET_DLLIMPORT_DECL_ATTRIBUTES, targetm, template_class_depth(), TI_ARGS, TI_TEMPLATE, TMPL_ARGS_DEPTH, TREE_CODE, TREE_PUBLIC, TREE_TYPE, TYPE_ATTRIBUTES, TYPE_TEMPLATE_INFO, type_visibility(), VISIBILITY_ANON, VISIBILITY_DEFAULT, VISIBILITY_HIDDEN, and visibility_options.
Definition at line 1519 of file search.c.
References BINFO_BASE_ITERATE, dfs_skip_bases, dfs_walk_all(), gcc_assert, NULL_TREE, and lookup_field_info::rval.
Definition at line 1639 of file search.c.
References BINFO_INHERITANCE_CHAIN, BINFO_MARKED, BINFO_TYPE, CLASSTYPE_DIAMOND_SHAPED_P, CLASSTYPE_VBASECLASSES, dfs_unmark_r(), dfs_walk_all(), dfs_walk_once_r(), gcc_assert, lookup_field_info::rval, VEC, and VEC_iterate.
Definition at line 9864 of file pt.c.
References check_explicit_instantiation_namespace(), DECL_CONTEXT, DECL_EXPLICIT_INSTANTIATION, DECL_IMPLICIT_INSTANTIATION, DECL_INTERFACE_KNOWN, DECL_LANG_SPECIFIC, DECL_NAME, DECL_NOT_REALLY_EXTERN, DECL_TEMPLATE_INFO, DECL_TEMPLATE_SPECIALIZATION, error(), error_mark_node, flag_external_templates, flag_use_repository, in_system_header, instantiate_decl(), lookup_field(), mark_decl_instantiated(), NULL_TREE, pedantic, pedwarn(), repo_template_instantiated(), result, RID_EXTERN, ridpointers, SET_DECL_EXPLICIT_INSTANTIATION, and TREE_CODE.
Definition at line 407 of file friend.c.
References add_friend(), check_classfn(), COMPLETE_TYPE_P, cplus_decl_attributes(), current_class_type, current_function_decl, current_template_parms, DECL_CONSTRUCTOR_P, DECL_FRIEND_P, DECL_NAME, decl_namespace_context(), DECL_TEMPLATE_INFO, DECL_TI_TEMPLATE, DECL_USE_TEMPLATE, error(), error_mark_node, gcc_assert, get_first_fn(), grokclassfn(), IS_AGGR_TYPE, is_overloaded_fn(), NO_SPECIAL, NULL_TREE, pop_nested_namespace(), PROCESSING_REAL_TEMPLATE_DECL_P, processing_template_decl, push_nested_namespace(), push_template_decl_real(), pushdecl_maybe_friend(), pushdecl_namespace_level(), SET_DECL_FRIEND_CONTEXT, template_class_depth(), TREE_CODE, TREE_OPERAND, TYPE_BEING_DEFINED, TYPE_NAME, uses_template_parms(), uses_template_parms_level(), warn(), warn_nontemplate_friend, and warning.
Definition at line 455 of file semantics.c.
References c_build_bind_expr(), kept_level_p(), NULL, pop_stmt_list(), poplevel(), processing_template_decl, and stmts_are_full_exprs_p().
| void do_type_instantiation | ( | tree | , | |
| tree | , | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 10007 of file pt.c.
References binding_table_foreach(), bt_instantiate_type_proc(), check_explicit_instantiation_namespace(), CLASS_TYPE_P, CLASSTYPE_EXPLICIT_INSTANTIATION, CLASSTYPE_INTERFACE_ONLY, CLASSTYPE_NESTED_UDTS, CLASSTYPE_NESTED_UTDS, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_SPECIALIZATION, complete_type(), COMPLETE_TYPE_P, DECL_TEMPLATE_INSTANTIATION, error(), flag_external_templates, flag_use_repository, IDENTIFIER_POINTER, in_system_header, instantiate_class_member(), instantiate_decl(), mark_class_instantiated(), mark_decl_instantiated(), NULL_TREE, pedantic, pedwarn(), repo_template_instantiated(), RID_EXTERN, RID_INLINE, RID_STATIC, ridpointers, tf_error, tmp, TREE_CHAIN, TREE_CODE, TREE_TYPE, TYPE_FIELDS, TYPE_METHODS, and TYPE_NAME.
Referenced by bt_instantiate_type_proc(), and cp_parser_explicit_instantiation().
Definition at line 1111 of file decl.c.
References CAN_HAVE_FULL_LANG_DECL_P, chainon(), check_default_args(), check_redeclaration_exception_specification(), CLASSTYPE_FRIEND_CLASSES, comp_template_parms(), compparms(), COPY_DECL_ASSEMBLER_NAME, COPY_DECL_RTL, cp_build_type_attribute_variant(), CP_DECL_CONTEXT, CP_DECL_THREADPRIVATE_P, current_lang_depth(), DECL_ABSTRACT, DECL_ANTICIPATED, DECL_ARGUMENTS, DECL_ARTIFICIAL, DECL_ATTRIBUTES, DECL_BEFRIENDING_CLASSES, DECL_BUILT_IN, DECL_BUILT_IN_CLASS, DECL_COMDAT, DECL_COMMON, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_DEFER_OUTPUT, DECL_EXTERN_C_P, DECL_EXTERNAL, DECL_FRIEND_P, DECL_FUNCTION_CODE, DECL_FUNCTION_TEMPLATE_P, DECL_HAS_INIT_PRIORITY_P, DECL_HIDDEN_FRIEND_P, DECL_IMPLICIT_TYPEDEF_P, DECL_IN_AGGR_P, DECL_INIT_PRIORITY, DECL_INITIAL, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_INITIALIZED_IN_CLASS_P, DECL_INITIALIZED_P, DECL_INLINE, DECL_INTERFACE_KNOWN, DECL_IS_MALLOC, DECL_IS_PURE, DECL_LANG_SPECIFIC, DECL_LANGUAGE, DECL_NAME, DECL_NAMESPACE_ALIAS, DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK, DECL_NONCONVERTING_P, DECL_NONTRIVIALLY_INITIALIZED_P, DECL_NOT_REALLY_EXTERN, DECL_ONE_ONLY, DECL_ORIGINAL_TYPE, DECL_OVERLOADED_OPERATOR_P, DECL_P, DECL_PENDING_INLINE_INFO, DECL_PURE_VIRTUAL_P, DECL_REPO_AVAILABLE_P, DECL_RESULT, DECL_RTL_SET_P, DECL_SAVED_TREE, DECL_SECTION_NAME, DECL_SIZE, DECL_SOURCE_LOCATION, DECL_STATIC_CONSTRUCTOR, DECL_STATIC_DESTRUCTOR, DECL_STRUCT_FUNCTION, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_INSTANTIATION, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, DECL_TEMPLATE_SPECIALIZATION, DECL_TEMPLATE_SPECIALIZATIONS, DECL_THIS_EXTERN, DECL_THIS_STATIC, DECL_THUNKS, DECL_TI_TEMPLATE, DECL_TLS_MODEL, DECL_UID, DECL_UNINLINABLE, DECL_USE_TEMPLATE, DECL_VINDEX, DECL_VIRTUAL_P, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, decls_match(), duplicate_decls(), error(), error_mark_node, fileptr_type_node, gcc_assert, get_identifier(), ggc_free(), i, layout_decl(), layout_type(), lookup_attribute(), make_decl_rtl(), memcpy, gcc_target::merge_decl_attributes, gcc_target::merge_type_attributes, merge_types(), merge_weak(), namespace_bindings_p(), NAMESPACE_LEVEL, NULL_TREE, pedwarn(), processing_template_decl, redeclaration_error_message(), reregister_specialization(), retrofit_lang_decl(), same_type_p, SET_DECL_INIT_PRIORITY, SET_DECL_LANGUAGE, SET_DECL_TEMPLATE_SPECIALIZATION, SET_OVERLOADED_OPERATOR_CODE, simple_cst_equal(), size, static_aggregates, t1, t2, targetm, TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, TREE_CODE_LENGTH, tree_code_size(), TREE_DEPRECATED, TREE_NOTHROW, TREE_PUBLIC, TREE_PURPOSE, TREE_READONLY, TREE_SIDE_EFFECTS, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_ARG_TYPES, TYPE_LANG_SPECIFIC, TYPE_NAME, uses_template_parms(), value_member(), void_list_node, warn_extern_redeclared_static(), warn_inline, warn_redundant_decls, and warning.
Definition at line 119 of file except.c.
References build_java_class_ref(), decl_is_java_type(), error_mark_node, exp, get_tinfo_decl(), NULL_TREE, and TREE_TYPE.
Definition at line 667 of file init.c.
References BINFO_TYPE, BINFO_VIRTUAL_P, build_base_path(), build_indirect_ref(), COMPLETE_TYPE_P, construct_virtual_base(), current_class_ptr, current_class_type, current_function_decl, DECL_COPY_CONSTRUCTOR_P, expand_aggr_init_1(), expand_cleanup_for_base(), extra_warnings, in_base_initializer, initialize_vtbl_ptrs(), LOOKUP_NORMAL, NULL, NULL_TREE, perform_member_init(), sort_mem_initializers(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_VALUE, TREE_VIA_VIRTUAL, TYPE_NEEDS_CONSTRUCTING, void_type_node, and warning.
Definition at line 1373 of file rtti.c.
References abi_node, boolean_type_node, build_pointer_type(), build_qualified_type(), char_type_node, class_type, CLASSTYPE_DESTRUCTORS, CLASSTYPE_METHOD_VEC, COMPLETE_TYPE_P, DECL_ASSEMBLER_NAME, DECL_COMDAT, DECL_EXTERNAL, DECL_INTERFACE_KNOWN, doing_runtime, double_type_node, dtor(), flag_weak, float_type_node, gcc_assert, get_identifier(), get_tinfo_decl(), i, integer_type_node, long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, mark_needed(), NULL_TREE, pop_nested_namespace(), push_nested_namespace(), short_integer_type_node, short_unsigned_type_node, signed_char_type_node, TREE_PUBLIC, TREE_SYMBOL_REFERENCED, TREE_USED, TREE_VEC_ELT, ts_current, TYPE_QUAL_CONST, types, unsigned_char_type_node, unsigned_type_node, void_type_node, wchar_type_node, and xref_tag().
Referenced by cp_finish_file(), and finish_file().
Definition at line 1402 of file rtti.c.
References cp_finish_decl(), DECL_ASSEMBLER_NAME, DECL_EXTERNAL, DECL_INITIAL, DECL_INTERFACE_KNOWN, DECL_NAME, decl_needed_p(), DECL_NOT_REALLY_EXTERN, DECL_TINFO_P, doing_runtime, finish_decl(), gcc_assert, get_pseudo_ti_desc(), get_pseudo_ti_index(), get_pseudo_ti_init(), import_export_decl(), involves_incomplete_p(), mark_used(), NULL_TREE, TREE_PUBLIC, TREE_SYMBOL_REFERENCED, TREE_TYPE, and typeinfo_in_lib_p().
Definition at line 766 of file pt.c.
References gcc_assert, my_friendly_assert, and processing_explicit_instantiation.
Referenced by cp_parser_explicit_instantiation().
Definition at line 729 of file pt.c.
References finish_scope(), and reset_specialization().
Referenced by cp_parser_class_head(), cp_parser_explicit_specialization(), and finish_template_decl().
Definition at line 2198 of file pt.c.
References current_template_parms, finish_scope(), processing_template_decl, reset_specialization(), and TREE_CHAIN.
Referenced by finish_template_decl(), and finish_template_template_parm().
Definition at line 2172 of file pt.c.
References current_template_parms, list_length(), make_tree_vec, next, NULL_TREE, processing_template_decl, size_int, TREE_CHAIN, tree_cons, and TREE_VEC_ELT.
Referenced by cp_parser_template_declaration_after_export(), cp_parser_template_parameter_list(), and cp_parser_type_parameter().
Definition at line 4138 of file call.c.
References accessible_p(), error(), gcc_assert, TREE_CODE, TREE_PRIVATE, and TREE_PROTECTED.
Definition at line 49 of file typeck2.c.
References DECL_CONTEXT, error(), error_mark_node, and TREE_CODE.
Referenced by binfo_or_else(), build_scoped_ref(), build_up_reference(), do_class_using_decl(), get_delta_difference(), and handle_using_decl().
Definition at line 1858 of file tree.c.
References build_reference_type(), IS_AGGR_TYPE, lvalue_type(), real_lvalue_p(), TREE_CODE, and TREE_TYPE.
Referenced by $ARGSHCK(), and args_to_string().
Definition at line 2300 of file semantics.c.
References current_function_decl, current_function_is_thunk, debug_hooks, DECL_ARGUMENTS, DECL_ASSEMBLER_NAME, DECL_ASSEMBLER_NAME_SET_P, DECL_CLONED_FUNCTION, DECL_CLONED_FUNCTION_P, DECL_COMDAT, DECL_COMPLETE_CONSTRUCTOR_P, DECL_COPY_CONSTRUCTOR_P, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_INLINE, DECL_LANG_SPECIFIC, DECL_NEEDED_P, DECL_NOT_REALLY_EXTERN, DECL_SAVED_TREE, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_TEMPLATE_INFO, DECL_THUNK_P, DECL_TI_ARGS, defer_fn(), gcc_debug_hooks::deferred_inline_function, dump_enabled_p(), emit_associated_thunks(), expand_stmt(), extract_interface_info(), flag_inline_trees, flag_keep_inline_functions, flag_syntax_only, function_depth, gcc_assert, genrtl_finish_function(), genrtl_start_function(), ggc_collect(), import_export_decl(), input_filename, lineno, maybe_clone_body(), my_friendly_assert, NULL, NULL_TREE, optimize_function(), processing_template_decl, simplify_aggr_init_exprs_r(), STMT_LINENO, stmts_are_full_exprs_p(), TDI_all, timevar_pop, timevar_push, TREE_ASM_WRITTEN, TREE_CHAIN, tree_rest_of_compilation(), TREE_SYMBOL_REFERENCED, TREE_USED, uses_template_parms(), and walk_tree_without_duplicates().
Referenced by end_cleanup_fn(), finish_file(), finish_objects(), finish_static_storage_duration_function(), instantiate_decl(), maybe_clone_body(), synthesize_method(), and use_thunk().
Definition at line 452 of file except.c.
References build_throw(), current_function_decl, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, doing_eh(), finish_expr_stmt(), in_function_try_handler, and NULL_TREE.
Referenced by finish_handler().
Definition at line 950 of file init.c.
References ba_ignore, BINFO_BASE_BINFO, BINFO_BASE_ITERATE, binfo_for_vbase(), BINFO_INHERITANCE_CHAIN, BINFO_N_BASE_BINFOS, BINFO_TYPE, BINFO_VIRTUAL_P, CLASSTYPE_N_BASECLASSES, CLASSTYPE_VBASECLASSES, current_class_ref, current_class_type, current_template_parms, error(), i, lookup_base(), lookup_field(), member_init_ok_or_else(), NULL, NULL_TREE, SAME_BINFO_TYPE_P, TREE_CODE, TREE_TYPE, TREE_VIA_VIRTUAL, TYPE_BINFO, TYPE_BINFO_BASETYPE, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_P, and TYPE_USES_VIRTUAL_BASECLASSES.
Definition at line 2975 of file semantics.c.
References at_eof, cgraph_finalize_function(), comdat_linkage(), DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_IMPLICIT_INSTANTIATION, DECL_INTERFACE_KNOWN, DECL_NOT_REALLY_EXTERN, DECL_SAVED_TREE, DECL_STATIC_CONSTRUCTOR, DECL_STATIC_DESTRUCTOR, flag_keep_inline_functions, flag_syntax_only, function_depth, gcc_assert, ggc_collect(), import_export_decl(), mark_needed(), maybe_clone_body(), note_vague_linkage_fn(), NULL, NULL_TREE, processing_template_decl, simplify_aggr_init_exprs_r(), TREE_ASM_WRITTEN, tree_cons, TREE_PUBLIC, and walk_tree_without_duplicates().
Definition at line 5825 of file typeck.c.
References abort, BINFO_OFFSET, binfo_or_else(), build(), build1, build2, build_addr_func(), build_nop(), convert(), DECL_CONTEXT, DECL_VINDEX, DECL_VIRTUAL_P, fold(), fold_if_not_in_template(), gcc_assert, gcc_unreachable, get_delta_difference(), integer_one_node, integer_type_node, my_friendly_assert, PTRMEM_CST_MEMBER, ptrmemfunc_vbit_in_delta, ptrmemfunc_vbit_in_pfn, TARGET_PTRMEMFUNC_VBIT_LOCATION, TREE_CODE, TREE_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_OBJECT_TYPE, TYPE_SIZE_UNIT, and vtable_entry_type.
Referenced by build_ptrmemfunc(), cplus_expand_constant(), and pfn_from_ptrmemfunc().
Definition at line 384 of file except.c.
References build(), build1, build2, build_exc_ptr(), build_indirect_ref(), build_modify_expr(), build_pointer_type(), complete_ptr_ref_or_void_ptr_p(), cp_finish_decl(), create_temporary_var(), decl_is_java_type(), DECL_REGISTER, do_begin_catch(), do_get_exception_ptr(), doing_eh(), error_mark_node, exp, finish_expr_stmt(), flag_use_cxa_get_exception_ptr, init_type(), initialize_handler_parm(), LOOKUP_ONLYCONVERTING, NULL, NULL_TREE, prepare_eh_type(), ptr_type_node, push_eh_cleanup(), TREE_TYPE, TYPE_NEEDS_CONSTRUCTING, TYPE_PTR_P, and TYPE_SIZE_UNIT.
Referenced by finish_handler_parms().
Definition at line 1327 of file pt.c.
References CLASSTYPE_TEMPLATE_SPECIALIZATION, CLASSTYPE_TI_ARGS, and uses_template_parms().
Referenced by cp_parser_check_declarator_template_parameters().
| const char* expr_as_string | ( | tree | , | |
| int | ||||
| ) |
Definition at line 2150 of file error.c.
References cxx_pp, dump_expr(), output_finalize_message(), pp_formatted_text, reinit_cxx_pp(), and reinit_global_formatting_buffer.
Referenced by dump_array(), dump_class_hierarchy_r(), and mangle_class_name_for_template().
Definition at line 3131 of file semantics.c.
References current_function_decl, DECL_ABSTRACT_ORIGIN, DECL_ARTIFICIAL, DECL_IGNORED_P, DECL_NAME, DECL_SOURCE_LOCATION, finalize_nrv_r(), htab_create(), htab_delete(), htab_eq_pointer, htab_hash_pointer, NULL, nrv_data::result, TREE_ADDRESSABLE, nrv_data::var, nrv_data::visited, and walk_tree().
Definition at line 1417 of file decl2.c.
References add_decl_expr(), add_decl_stmt(), at_eof, at_function_scope_p(), build_anon_union_vars(), building_stmt_tree, COPY_DECL_RTL, DECL_ANON_UNION_ELEMS, DECL_CONTEXT, DECL_EXTERNAL, DECL_NAME, error(), error_mark_node, expand_anon_union_decl(), make_decl_rtl(), mangle_decl(), NULL_TREE, processing_template_decl, pushdecl(), rest_of_decl_compilation(), toplevel_bindings_p(), TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TYPE_FIELDS, TYPE_NAME, and warning.
Referenced by shadow_tag(), and tsubst_expr().
Definition at line 1147 of file semantics.c.
References add_stmt(), alloca, ASM_VOLATILE_P, build_stmt(), C_TYPE_FIELDS_READONLY, CLASS_TYPE_P, CP_TYPE_CONST_P, cxx_mark_addressable(), decay_conversion(), error(), error_mark_node, i, list_length(), lv_asm, lvalue_or_else(), maybe_cleanup_point_expr_void(), parse_input_constraint(), parse_output_constraint(), processing_template_decl, r, readonly_error(), resolve_asm_operand_names(), STRIP_NOPS, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_READONLY, TREE_STRING_POINTER, TREE_TYPE, TREE_VALUE, and unknown_type_node.
Definition at line 2299 of file semantics.c.
References build_tree_list, cp_type_quals(), error(), error_mark_node, integer_type_node, is_aggr_type(), NULL_TREE, result, TREE_TYPE, and TYPE_MAIN_VARIANT.
Definition at line 517 of file semantics.c.
References add_stmt(), build_break_stmt(), and build_stmt().
Referenced by cp_parser_jump_statement(), finish_for_cond(), finish_while_stmt_cond(), simplify_loop_decl_cond(), and tsubst_expr().
Definition at line 1699 of file semantics.c.
References any_type_dependent_arguments_p(), BASELINK_ACCESS_BINFO, baselink_for_fns(), BASELINK_FUNCTIONS, BASELINK_P, BINFO_TYPE, build1, build3, build_baselink(), build_dummy_object(), build_function_call(), build_new_function_call(), build_new_method_call(), build_new_op(), build_non_dependent_args(), build_non_dependent_expr(), build_nt(), BUILT_IN_MD, BUILT_IN_NORMAL, CLASS_TYPE_P, current_class_ref, current_class_type, currently_open_derived_class(), DECL_BUILT_IN_CLASS, DECL_CONTEXT, DECL_FUNCTION_MEMBER_P, DERIVED_FROM_P, error(), error_mark_node, f, gcc_assert, get_first_fn(), is_overloaded_fn(), KOENIG_LOOKUP_P, LOOKUP_NONVIRTUAL, LOOKUP_NORMAL, maybe_dummy_object(), NULL, NULL_TREE, processing_template_decl, resolve_overloaded_builtin(), result, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_BINFO, type_dependent_expression_p(), TYPE_P, unknown_type_node, and void_type_node.
Definition at line 5578 of file decl.c.
References add_stmt(), build_case_label(), build_decl, c_add_case_label(), c_switch::cases, cp_switch::cases, check_switch_goto(), cond, current_binding_level, error(), error_mark_node, cp_switch::level, NULL_TREE, p, processing_template_decl, r, sk_function_parms, SWITCH_COND, switch_stack, c_switch::switch_stmt, cp_switch::switch_stmt, SWITCH_STMT_COND, TREE_CODE, TREE_TYPE, and TREE_VALUE.
Referenced by cp_parser_label_for_labeled_statement(), cp_parser_labeled_statement(), and tsubst_expr().
Definition at line 2085 of file typeck.c.
References ba_check, BASELINK_P, BASELINK_QUALIFIED_P, build_class_member_access_expr(), build_min_non_dep(), build_min_nt(), build_non_dependent_expr(), check_template_keyword(), CLASS_TYPE_P, complete_type_or_else, currently_open_class(), DECL_NAME, DECL_P, dependent_template_id_p(), dependent_type_p(), error(), error_mark_node, gcc_assert, get_first_fn(), lookup_base(), lookup_destructor(), lookup_member(), lookup_template_function(), member(), NULL, NULL_TREE, objc_is_public(), processing_template_decl, TREE_CODE, TREE_DEPRECATED, TREE_OPERAND, TREE_TYPE, TYPE_P, and warn_deprecated_use().
Definition at line 696 of file semantics.c.
References CLEANUP_P, and TRY_HANDLERS.
Referenced by build_vec_init(), and tsubst_expr().
Definition at line 686 of file semantics.c.
References pop_stmt_list(), RECHAIN_STMTS, and TRY_STMTS.
Referenced by build_vec_init(), and tsubst_expr().
| tree finish_compound_literal | ( | tree | , | |
| VEC(constructor_elt, gc)* | ||||
| ) |
Definition at line 2015 of file semantics.c.
References build_constructor(), cp_finish_decl(), create_temporary_var(), current_function_decl, DECL_NAME, error(), error_mark_node, LOOKUP_ONLYCONVERTING, make_anon_name(), NULL_TREE, processing_template_decl, pushdecl(), TREE_HAS_CONSTRUCTOR, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, and TYPE_OBJ_P.
Definition at line 1122 of file semantics.c.
References add_stmt(), BIND_EXPR_BODY, do_poplevel(), finish_stmt(), objc_clear_super_receiver(), pop_stmt_list(), STATEMENT_LIST_NO_SCOPE, and TREE_CODE.
Definition at line 525 of file semantics.c.
References add_stmt(), build_continue_stmt(), and build_stmt().
Referenced by cp_parser_jump_statement(), and tsubst_expr().
Definition at line 3040 of file c-decl.c.
References add_decl_stmt(), add_flexible_array_elts_to_size(), add_stmt(), B_IN_EXTERNAL_SCOPE, bcopy_libfunc, bind(), BIND_EXPR_BODY, build3, build_function_call(), build_stmt(), build_tree_list, build_unary_op(), built_in_decls, BUILT_IN_NORMAL, bzero_libfunc, C_DECL_REGISTER, c_determine_visibility(), c_dialect_objc, c_eh_initialized_p, c_maybe_initialize_eh(), change_decl_assembler_name(), cleanup(), complete_array_type(), COMPLETE_TYPE_P, composite_type(), constant_expression_warning(), cp_finish_decl(), cur_stmt_list, current_binding_level, current_scope(), DECL_ATTRIBUTES, DECL_BUILT_IN_CLASS, DECL_C_HARD_REGISTER, DECL_CONTEXT, DECL_DEFER_OUTPUT, DECL_EXTERNAL, DECL_FILE_SCOPE_P, DECL_FUNCTION_CODE, DECL_HARD_REGISTER, DECL_INITIAL, DECL_NAME, DECL_REGISTER, DECL_RTL, DECL_SIZE, eh_personality_libfunc, error(), error_mark_node, failure, flag_exceptions, flag_objc, gcc_unreachable, get_identifier(), get_pending_sizes(), global_binding_level, I_SYMBOL_BINDING, init_block_clear_fn(), init_block_move_fn(), init_one_libfunc(), layout_decl(), lookup_attribute(), lookup_name(), mark_decl_referenced(), maybe_apply_pragma_weak(), maybe_apply_renaming_pragma(), memcmp_libfunc, memcpy_libfunc, memmove_libfunc, memset_libfunc, NULL, NULL_RTX, NULL_TREE, objc_check_decl(), pedantic, push_cleanup(), push_stmt_list(), rest_of_decl_compilation(), set_builtin_user_assembler_name(), SET_DECL_ASSEMBLER_NAME, SET_DECL_RTL, set_user_assembler_name(), STATEMENT_LIST_HAS_LABEL, store_init_value(), TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CODE, TREE_CONSTANT, tree_int_cst_sgn(), TREE_PUBLIC, TREE_SIDE_EFFECTS, TREE_STATIC, TREE_STRING_POINTER, TREE_TYPE, TREE_USED, TREE_VALUE, TYPE_DOMAIN, TYPE_MAX_VALUE, using_eh_for_cleanups(), USING_SJLJ_EXCEPTIONS, variably_modified_type_p(), void_type_node, warning, WFE_Decl(), WFE_Initialize_Decl(), and XEXP.
Referenced by add_objc_decls(), build_module_descriptor(), build_selector_translation_table(), c_make_fname_decl(), c_parser_declaration_or_fndef(), declare_global_var(), define_decl(), emit_tinfo_decl(), ffecom_debug_kludge_(), ffecom_do_entry_(), ffecom_end_transition(), ffecom_finish_decl(), ffecom_finish_global_(), ffecom_init_0(), ffecom_make_gfrt_(), ffecom_make_tempvar(), ffecom_member_phase2_(), ffecom_sym_transform_(), ffecom_sym_transform_assign_(), ffecom_transform_common_(), ffecom_transform_equiv_(), ffecom_transform_namelist_(), ffecom_vardesc_(), ffecom_vardesc_array_(), ffecom_vardesc_dims_(), generate_category(), generate_classref_translation_entry(), generate_descriptor_table(), generate_dispatch_table(), generate_ivars_list(), generate_objc_symtab_decl(), generate_protocol_list(), generate_protocols(), generate_shared_structures(), generate_static_references(), generate_strings(), get_vtable_decl(), grokbitfield(), grokdeclarator(), grokfield(), instantiate_decl(), push_parm_decl(), pushdecl_top_level_1(), start_method(), and tsubst_expr().
Definition at line 998 of file semantics.c.
References add_stmt(), build_stmt(), and push_cleanup().
Referenced by initialize_local_var(), push_base_cleanups(), and push_eh_cleanup().
Definition at line 374 of file semantics.c.
References DO_BODY, pop_stmt_list(), and RECHAIN_STMTS.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 384 of file semantics.c.
References DO_COND, finish_stmt(), and maybe_convert_cond().
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 1008 of file semantics.c.
References add_stmt(), build_stmt(), CLEANUP_EH_ONLY, NULL, NULL_TREE, push_cleanup(), and r.
Referenced by expand_cleanup_for_base(), and perform_member_init().
Definition at line 474 of file except.c.
References EH_SPEC_RAISES, EH_SPEC_STMTS, eh_type_info(), mark_used(), NULL_TREE, pop_stmt_list(), prepare_eh_type(), RECHAIN_STMTS, TREE_CHAIN, tree_cons, and TREE_VALUE.
Referenced by finish_function().
Definition at line 287 of file semantics.c.
References ELSE_CLAUSE, pop_stmt_list(), and RECHAIN_STMTS.
Referenced by cp_parser_selection_statement(), and tsubst_expr().
Definition at line 14026 of file decl.c.
References add_stmt(), at_function_scope_p(), build_min(), c_common_type_for_size(), copy_node, DECL_INITIAL, DECL_SOURCE_LOCATION, error(), error_mark_node, fixup_signed_type(), fixup_unsigned_type(), flag_short_enums, input_location, integer_type_node, integer_types, integer_zero_node, itk_char, itk_int, itk_none, itk_unsigned_long_long, layout_type(), long_long_integer_type_node, lookup_attribute(), MAX, min_precision(), namespace_bindings_p(), nreverse(), NULL_TREE, perform_implicit_conversion(), processing_template_decl, rest_of_type_compilation(), set_min_and_max_values_for_integral_type(), TREE_CHAIN, tree_int_cst_lt(), tree_int_cst_sgn(), TREE_TYPE, TREE_UNSIGNED, TREE_VALUE, TYPE_ALIGN, TYPE_ATTRIBUTES, TYPE_MAIN_VARIANT, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_NEXT_VARIANT, TYPE_PRECISION, TYPE_SIZE, TYPE_SIZE_UNIT, TYPE_UNSIGNED, TYPE_USER_ALIGN, TYPE_VALUES, and values.
Definition at line 206 of file semantics.c.
References add_stmt(), build_non_dependent_expr(), build_stmt(), convert_to_void(), default_conversion(), finish_stmt(), last_expr_type, lvalue_p(), maybe_cleanup_point_expr_void(), NULL_TREE, processing_template_decl, r, stmts_are_full_exprs_p(), TREE_CODE, TREE_TYPE, type_dependent_expression_p(), verify_sequence_points(), and warn_sequence_point.
Referenced by build_vec_init(), check_return_expr(), cp_parser_expression_statement(), do_build_assign_ref(), do_build_copy_constructor(), do_static_destruction(), do_static_initialization(), expand_aggr_init_1(), expand_default_init(), expand_end_catch_block(), expand_start_catch_block(), expand_static_init(), expand_virtual_init(), finish_destructor_body(), finish_omp_barrier(), finish_omp_flush(), finish_stmt_expr_expr(), generate_ctor_or_dtor_function(), get_temp_regvar(), initialize_local_var(), one_static_initialization_or_destruction(), perform_member_init(), register_dtor_fn(), start_static_initialization_or_destruction(), tsubst_expr(), and use_thunk().
Definition at line 1472 of file semantics.c.
References build_min_nt(), C_RID_CODE, DECL_NAME, fname_decl(), and processing_template_decl.
Definition at line 457 of file semantics.c.
References begin_if_stmt(), build_unary_op(), finish_break_stmt(), finish_cond(), FINISH_COND, finish_if_stmt(), finish_if_stmt_cond(), finish_then_clause(), FOR_BODY, FOR_COND, getdecls(), maybe_convert_cond(), NULL_TREE, processing_template_decl, and simplify_loop_decl_cond().
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 491 of file semantics.c.
References build_non_dependent_expr(), convert_to_void(), cxx_incomplete_type_error, error_mark_node, FOR_EXPR, maybe_cleanup_point_expr_void(), processing_template_decl, TREE_TYPE, type_dependent_expression_p(), type_unknown_p(), verify_sequence_points(), and warn_sequence_point.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 445 of file semantics.c.
References add_stmt(), begin_cond(), do_pushlevel(), FOR_BODY, FOR_COND, FOR_INIT_STMT, last_tree, pop_stmt_list(), processing_template_decl, RECHAIN_STMTS, and sk_block.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 503 of file semantics.c.
References add_stmt(), do_poplevel(), finish_stmt(), flag_new_for_scope, FOR_BODY, NEW_FOR_SCOPE_P, NULL, RECHAIN_STMTS, and TREE_CHAIN.
Referenced by build_vec_init(), cp_parser_iteration_statement(), and tsubst_expr().
| tree finish_function | ( | int | ) |
Definition at line 14973 of file decl.c.
References abort, aggregate_value_p(), alloc_stmt_list(), annotate_with_file_line(), BLOCK_SUBBLOCKS, BLOCK_SUPERCONTEXT, BLOCK_VARS, build_stmt(), building_stmt_tree, c_warn_unused_result(), calls_setjmp_p(), cfun, chain_member(), CLASSTYPE_KEY_METHOD, cp_function_chain, cp_genericize(), current_binding_level, current_class_name, current_class_type, current_eh_spec_block, current_function_decl, current_function_return_value, current_function_returns_abnormally, current_function_returns_null, current_function_returns_pcc_struct, current_function_returns_value, DECL_ALIGN, DECL_CLONED_FUNCTION_P, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_DESTRUCTOR_P, DECL_INITIAL, DECL_INLINE, DECL_MAIN_P, DECL_NAME, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_REPLACEABLE_P, DECL_RESULT, DECL_SAVED_FUNCTION_DATA, DECL_SAVED_TREE, DECL_UNINLINABLE, DECL_VIRTUAL_P, dependent_type_p(), error_mark_node, errorcount, f, finalize_nrv(), finish_eh_spec_block(), finish_fname_decls(), finish_return_stmt(), finish_stmt_tree(), flag_enforce_eh_specs, flag_exceptions, flag_non_call_exceptions, free_after_compilation(), free_after_parsing(), function_depth, gcc_assert, input_filename, input_location, integer_one_node, integer_zero_node, keyed_classes, local_names, maybe_end_member_template_processing(), my_friendly_assert, named_label_uses, NULL, NULL_TREE, nullify_returns_r(), outer_curly_brace_block(), pop_nested_class(), pop_stmt_list(), poplevel(), processing_template_decl, r, save_function_data(), SET_EXPR_LOCATION, sk_class, sk_function_parms, stmts_are_full_exprs_p(), TREE_CODE, tree_cons, TREE_NOTHROW, TREE_TYPE, TYPE_RAISES_EXCEPTIONS, UNKNOWN_LOCATION, use_eh_spec_block(), walk_tree_without_duplicates(), warn_return_type, and warning.
Definition at line 14948 of file decl.c.
References current_function_decl, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, finish_compound_stmt(), finish_constructor_body(), finish_destructor_body(), NULL_TREE, and processing_template_decl.
Referenced by cp_parser_ctor_initializer_opt_and_function_body(), synthesize_method(), and tsubst_expr().
Definition at line 1068 of file semantics.c.
References finish_compound_stmt(), finish_handler_sequence(), and in_function_try_handler.
Definition at line 707 of file semantics.c.
References finish_try_block(), in_function_try_handler, last_tree, RECHAIN_STMTS, TREE_CHAIN, TREE_CODE, and TRY_STMTS.
Referenced by cp_parser_function_try_block(), and tsubst_expr().
Definition at line 160 of file semantics.c.
References add_stmt(), build_stmt(), check_goto(), current_function_decl, decay_conversion(), DECL_UNINLINABLE, lookup_label(), processing_template_decl, TREE_CODE, and TREE_USED.
Referenced by cp_parser_jump_statement(), finish_return_stmt(), and tsubst_expr().
Definition at line 805 of file semantics.c.
References do_poplevel(), expand_end_catch_block(), HANDLER_BODY, processing_template_decl, and RECHAIN_STMTS.
Referenced by cp_parser_handler(), and tsubst_expr().
Definition at line 779 of file semantics.c.
References add_decl_stmt(), eh_type_info(), expand_start_catch_block(), HANDLER_PARMS, HANDLER_TYPE, mark_used(), NULL_TREE, processing_template_decl, push_template_decl(), pushdecl(), RECHAIN_STMTS, and TREE_TYPE.
Referenced by cp_parser_handler(), and tsubst_expr().
Definition at line 727 of file semantics.c.
References check_handlers(), pop_stmt_list(), RECHAIN_STMTS, and TRY_HANDLERS.
Referenced by cp_parser_try_block(), finish_function_handler_sequence(), and tsubst_expr().
| tree finish_id_expression | ( | tree | , | |
| tree | , | |||
| tree | , | |||
| cp_id_kind * | , | |||
| bool | , | |||
| bool | , | |||
| bool * | , | |||
| bool | , | |||
| bool | , | |||
| bool | , | |||
| bool | , | |||
| const char ** | ||||
| ) |
Definition at line 2484 of file semantics.c.
References adjust_result_of_qualified_name_lookup(), any_dependent_template_arguments_p(), args, baselink_for_fns(), BASELINK_FUNCTIONS, BASELINK_P, build_qualified_name(), builtin_valid_in_constant_expr_p(), check_for_out_of_scope_variable(), convert_from_reference(), CP_ID_KIND_NONE, CP_ID_KIND_QUALIFIED, CP_ID_KIND_TEMPLATE_ID, CP_ID_KIND_UNQUALIFIED, CP_ID_KIND_UNQUALIFIED_DEPENDENT, current_class_ref, current_class_type, current_function_decl, currently_open_derived_class(), DECL_CLASS_SCOPE_P, DECL_CLASS_TEMPLATE_P, DECL_CONTEXT, decl_function_context(), DECL_FUNCTION_MEMBER_P, DECL_FUNCTION_TEMPLATE_P, DECL_INITIAL, DECL_INTEGRAL_CONSTANT_VAR_P, DECL_NONLOCAL, DECL_P, DECL_TEMPLATE_PARM_P, DECL_TEMPLATE_RESULT, dependent_template_p(), dependent_type_p(), dk_no_check, error(), error_mark_node, finish_class_member_access_expr(), finish_non_static_data_member(), finish_qualified_id_expr(), get_first_fn(), IDENTIFIER_TYPENAME_P, INTEGRAL_OR_ENUMERATION_TYPE_P, is_overloaded_fn(), mark_used(), maybe_dummy_object(), maybe_note_name_used_in_class(), NULL, NULL_TREE, OVL_CURRENT, OVL_NEXT, path, perform_or_defer_access_check(), pop_deferring_access_checks(), print_candidates(), processing_template_decl, push_deferring_access_checks(), qualified_name_lookup_error(), r, really_overloaded_fn(), shared_member_p(), TEMPLATE_PARM_DECL, TREE_CODE, TREE_DEPRECATED, TREE_OPERAND, TREE_STATIC, TREE_TYPE, TYPE_BINFO, type_dependent_expression_p(), TYPE_P, used_types_insert(), and warn_deprecated_use().
Definition at line 651 of file semantics.c.
References add_stmt(), do_poplevel(), ELSE_CLAUSE, empty_body_warning(), finish_stmt(), NULL, THEN_CLAUSE, and TREE_CHAIN.
Definition at line 257 of file semantics.c.
References add_stmt(), finish_cond(), FINISH_COND, IF_COND, maybe_convert_cond(), push_stmt_list(), and THEN_CLAUSE.
Referenced by begin_destructor_body(), build_vec_init(), construct_virtual_base(), cp_parser_selection_statement(), do_static_initialization_or_destruction(), expand_static_init(), finish_destructor_body(), finish_for_cond(), finish_while_stmt_cond(), one_static_initialization_or_destruction(), simplify_loop_decl_cond(), start_static_initialization_or_destruction(), and tsubst_expr().
Definition at line 1319 of file semantics.c.
References build_x_unary_op(), resolve_offset_ref(), and TREE_CODE.
Referenced by cp_parser_postfix_expression().
Definition at line 988 of file semantics.c.
References add_decl_expr(), add_decl_stmt(), and declare_local_label().
Referenced by cp_parser_label_declaration(), and tsubst_expr().
Definition at line 976 of file semantics.c.
References add_stmt(), build_stmt(), define_label(), error_mark_node, input_filename, input_location, and lineno.
Referenced by cp_parser_label_for_labeled_statement(), cp_parser_labeled_statement(), and tsubst_expr().
Definition at line 1112 of file semantics.c.
References add_stmt(), build_min_nt(), emit_mem_initializers(), nreverse(), and processing_template_decl.
Referenced by cp_parser_ctor_initializer_opt(), cp_parser_mem_initializer_list(), do_build_copy_constructor(), synthesize_method(), and tsubst_expr().
Definition at line 1809 of file semantics.c.
References access_private_node, access_protected_node, add_method(), chainon(), current_access_specifier, current_class_type, DECL_CONTEXT, DECL_DEPENDENT_P, DECL_FUNCTION_TEMPLATE_P, DECL_LANG_SPECIFIC, DECL_LANGUAGE, DECL_TEMPLATE_RESULT, error_mark_node, gcc_assert, lang_c, lang_cplusplus, maybe_add_class_template_decl_list(), my_friendly_assert, note_decl_for_pch(), NULL_TREE, pch_file, pushdecl_class_level(), SET_DECL_LANGUAGE, TREE_CHAIN, TREE_CODE, TREE_PRIVATE, TREE_PROTECTED, TREE_TYPE, TYPE_FIELDS, TYPE_METHODS, and void_type_node.
Referenced by build_enumerator(), build_self_reference(), cp_parser_member_declaration(), cp_parser_template_declaration_after_export(), cp_parser_using_declaration(), grok_x_components(), instantiate_class_template(), maybe_process_template_type_declaration(), and pushtag().
Definition at line 270 of file pt.c.
References check_member_template(), CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_SPECIALIZATION, CLASSTYPE_TI_TEMPLATE, DECL_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_SPECIALIZATION, DECL_TI_TEMPLATE, error(), error_mark_node, gcc_assert, IS_AGGR_TYPE, NULL_TREE, TREE_CODE, TREE_TYPE, TREE_VALUE, and void_type_node.
Referenced by cp_parser_template_declaration_after_export(), and finish_member_class_template().
Definition at line 15281 of file decl.c.
References CLASSTYPE_INLINE_FRIENDS, current_binding_level, current_class_type, DECL_CONTEXT, DECL_FRIEND_P, DECL_INITIAL, DECL_NAME, gcc_assert, my_friendly_assert, NULL_TREE, pop_binding(), poplevel(), TREE_CHAIN, TREE_CODE, tree_cons, VEC_safe_push, and void_type_node.
Referenced by cp_parser_save_member_function_body().
Definition at line 1323 of file semantics.c.
References build_class_member_access_expr(), build_min(), build_qualified_name(), build_scoped_ref(), context_for_name_lookup(), cp_build_qualified_type, cp_error_at(), cp_type_quals(), current_class_ptr, current_class_ref, current_function_decl, DECL_CONTEXT, DECL_MUTABLE_P, DECL_NAME, DECL_P, DECL_STATIC_FUNCTION_P, DERIVED_FROM_P, error(), error_mark_node, gcc_assert, NULL_TREE, perform_or_defer_access_check(), processing_template_decl, TREE_CODE, TREE_TYPE, TREE_USED, TYPE_BINFO, TYPE_CONTEXT, and TYPE_QUAL_CONST.
Definition at line 2915 of file semantics.c.
References error(), error_mark_node, fold_offsetof(), NULL_TREE, TREE_CODE, TREE_OPERAND, TREE_TYPE, and UNKNOWN_TYPE.
Referenced by cp_parser_builtin_offsetof(), and tsubst_copy_and_build().
Definition at line 3879 of file semantics.c.
References add_stmt(), build2, build_non_dependent_expr(), c_finish_omp_atomic(), error_mark_node, NULL_TREE, OMP_ATOMIC_CODE, OMP_ATOMIC_DEPENDENT_P, processing_template_decl, type_dependent_expression_p(), and void_type_node.
Referenced by cp_parser_omp_atomic(), and tsubst_expr().
Definition at line 3919 of file semantics.c.
References built_in_decls, finish_call_expr(), finish_expr_stmt(), and NULL.
Referenced by cp_parser_omp_barrier().
Definition at line 3330 of file semantics.c.
References AGGREGATE_TYPE_P, ansi_assopname, bitmap_bit_p(), bitmap_default_obstack, bitmap_head, bitmap_initialize(), bitmap_obstack_initialize(), bitmap_obstack_release(), bitmap_set_bit(), build1, build_int_cst(), build_pointer_type(), build_special_member_call(), build_tree_list, c, c_kind, CLASS_TYPE_P, complete_ctor_identifier, complete_dtor_identifier, CP_OMP_CLAUSE_INFO, cxx_omp_predetermined_sharing(), DECL_THREAD_LOCAL_P, DECL_UID, error(), error_mark_node, errorcount, FLOAT_TYPE_P, gcc_unreachable, get_callee_fndecl(), info, INTEGRAL_TYPE_P, LOOKUP_NORMAL, make_tree_vec, maybe_convert_cond(), NULL, NULL_TREE, OMP_CLAUSE_CHAIN, OMP_CLAUSE_CODE, OMP_CLAUSE_COPYIN, OMP_CLAUSE_COPYPRIVATE, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT, OMP_CLAUSE_DEFAULT_PRIVATE, OMP_CLAUSE_DEFAULT_SHARED, OMP_CLAUSE_DEFAULT_UNSPECIFIED, OMP_CLAUSE_FIRSTPRIVATE, OMP_CLAUSE_IF, OMP_CLAUSE_IF_EXPR, OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_NOWAIT, OMP_CLAUSE_NUM_THREADS, OMP_CLAUSE_NUM_THREADS_EXPR, OMP_CLAUSE_ORDERED, OMP_CLAUSE_PRIVATE, OMP_CLAUSE_REDUCTION, OMP_CLAUSE_REDUCTION_CODE, OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_SCHEDULE_CHUNK_EXPR, OMP_CLAUSE_SHARED, operator_name_info, pc, POINTER_TYPE_P, processing_template_decl, require_complete_type(), TREE_CODE, TREE_OPERAND, TREE_TYPE, TREE_VEC_ELT, type_dependent_expression_p(), TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_HAS_TRIVIAL_ASSIGN_REF, and TYPE_HAS_TRIVIAL_INIT_REF.
Referenced by cp_parser_omp_all_clauses(), and tsubst_omp_clauses().
Definition at line 3927 of file semantics.c.
References built_in_decls, finish_call_expr(), finish_expr_stmt(), and NULL.
Referenced by cp_parser_omp_flush().
Definition at line 3794 of file semantics.c.
References add_stmt(), build2, build_modify_expr(), c_finish_omp_for(), DECL_P, error(), IS_EMPTY_STMT, make_node, NULL, OMP_FOR_BODY, OMP_FOR_COND, OMP_FOR_INCR, OMP_FOR_INIT, OMP_FOR_PRE_BODY, processing_template_decl, SET_EXPR_LOCATION, TREE_CODE, TREE_OPERAND, TREE_TYPE, type_dependent_expression_p(), and void_type_node.
Referenced by cp_parser_omp_for_loop(), and tsubst_expr().
Definition at line 3772 of file semantics.c.
References add_stmt(), finish_omp_structured_block(), make_node, OMP_PARALLEL_BODY, OMP_PARALLEL_CLAUSES, TREE_TYPE, and void_type_node.
Referenced by cp_parser_omp_parallel(), and tsubst_expr().
Definition at line 3757 of file semantics.c.
References do_poplevel().
Referenced by cp_parser_omp_for(), cp_parser_omp_sections_scope(), cp_parser_omp_structured_block(), finish_omp_parallel(), and tsubst_expr().
Definition at line 3699 of file semantics.c.
References COMPLETE_TYPE_P, CP_DECL_CONTEXT, CP_DECL_THREADPRIVATE_P, decl_default_tls_model(), DECL_DISCRIMINATOR_P, DECL_EXTERNAL, DECL_LANG_SPECIFIC, DECL_RTL_SET_P, DECL_THREAD_LOCAL_P, DECL_TLS_MODEL, error(), make_decl_rtl(), NULL, retrofit_lang_decl(), TREE_CHAIN, TREE_PURPOSE, TREE_STATIC, TREE_TYPE, TREE_USED, and TYPE_P.
Referenced by cp_parser_omp_threadprivate().
Definition at line 1135 of file semantics.c.
References C_SET_EXP_ORIGINAL_CODE, EXPR_P, IS_EXPR_CODE_CLASS, PAREN_STRING_LITERAL_P, PTRMEM_OK_P, TREE_CODE, TREE_CODE_CLASS, and TREE_NO_WARNING.
Referenced by cp_parser_primary_expression().
Definition at line 1879 of file semantics.c.
References build3, check_dtor_name(), error(), error_mark_node, gcc_assert, processing_template_decl, same_type_ignoring_top_level_qualifiers_p, TREE_TYPE, TYPE_P, and void_type_node.
Definition at line 1548 of file semantics.c.
References BASELINK_ACCESS_BINFO, BASELINK_FUNCTIONS, BASELINK_P, build_class_member_access_expr(), build_offset_ref(), check_template_keyword(), current_class_ref, current_class_type, DECL_P, DERIVED_FROM_P, error_mark_node, error_operand_p, finish_non_static_data_member(), gcc_assert, mark_used(), maybe_dummy_object(), NULL, processing_template_decl, shared_member_p(), TREE_CODE, TREE_OPERAND, and TYPE_P.
Definition at line 384 of file repo.c.
References args, DECL_ASSEMBLER_NAME, dir, errorcount, fclose(), flag_random_seed, flag_use_repository, fprintf(), getenv(), getpwd(), IDENTIFIER_POINTER, IDENTIFIER_REPO_CHOSEN, IDENTIFIER_REPO_USED, main_input_filename, NULL, out, reopen_repo_file_for_write(), sorrycount, strcmp(), strstr(), TREE_CHAIN, TREE_PURPOSE, TREE_VALUE, and val.
Referenced by cp_finish_file(), and finish_file().
Definition at line 397 of file semantics.c.
References add_stmt(), build_stmt(), cdtor_label, gcc_target::cxx::cdtor_returns_this, check_omp_return(), check_return_expr(), current_function_decl, gcc_target::cxx, DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P, dtor_label, error_mark_node, finish_goto_stmt(), finish_stmt(), flag_openmp, maybe_cleanup_point_expr_void(), processing_template_decl, r, targetm, and TREE_NO_WARNING.
Referenced by cp_parser_jump_statement(), do_build_assign_ref(), finish_function(), tsubst_expr(), and use_thunk().
Definition at line 1161 of file decl.c.
References poplevel().
Referenced by end_specialization(), and end_template_decl().
Definition at line 717 of file decl2.c.
References cp_finish_decl(), CP_TYPE_CONST_P, current_class_type, DECL_CONTEXT, DECL_IN_AGGR_P, DECL_INITIAL, error(), LOCAL_CLASS_P, NULL_TREE, pedwarn(), processing_template_decl, TREE_TYPE, TREE_USED, TYPE_NEEDS_CONSTRUCTING, and VEC_safe_push.
Definition at line 15427 of file decl.c.
References last_expr_type, and NULL_TREE.
Referenced by cp_parser_declaration_statement(), cp_parser_expression_statement(), finish_compound_stmt(), finish_do_stmt(), finish_expr_stmt(), finish_for_stmt(), finish_if_stmt(), finish_return_stmt(), finish_switch_stmt(), and finish_while_stmt().
Definition at line 1616 of file semantics.c.
References build_min(), CLASS_TYPE_P, error_mark_node, error_operand_p, force_target_expr(), gcc_assert, pop_stmt_list(), processing_template_decl, result, STMT_EXPR_NO_SCOPE, TARGET_EXPR_INITIAL, TREE_CODE, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_P, and void_type_node.
Definition at line 1535 of file semantics.c.
References add_stmt(), build2, build_stmt(), build_target_expr_with_type(), CLASS_TYPE_P, decay_conversion(), dependent_type_p(), error_mark_node, error_operand_p, EXPR_STMT_STMT_EXPR_RESULT, finish_expr_stmt(), force_rvalue(), force_target_expr(), maybe_cleanup_point_expr(), NULL_TREE, processing_template_decl, TARGET_EXPR_INITIAL, TARGET_EXPR_SLOT, TREE_CODE, TREE_TYPE, TYPE_HAS_TRIVIAL_INIT_REF, and VOID_TYPE_P.
Definition at line 5511 of file class.c.
References add_stmt(), at_function_scope_p(), ATTR_FLAG_TYPE_IN_PLACE, bitsize_zero_node, build_min(), CLASSTYPE_PURE_VIRTUALS, complete_vars(), cplus_decl_attributes(), current_class_type, DECL_PURE_VIRTUAL_P, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, error(), finish_struct_1(), finish_struct_methods(), input_filename, input_location, lineno, NULL, popclass(), processing_template_decl, size_zero_node, TREE_CHAIN, TYPE_BEING_DEFINED, TYPE_METHODS, TYPE_NAME, TYPE_SIZE, TYPE_SIZE_UNIT, unreverse_member_declarations(), VEC_safe_push, and x.
Definition at line 5292 of file class.c.
References abort, add_fields_to_record_type(), add_fields_to_vec(), gcc_target::cxx::adjust_class_at_definition, BINFO_NEW_VTABLE_MARKED, BINFO_OFFSET, BINFO_TYPE, BINFO_VIRTUALS, BINFO_VTABLE, build_int_cst(), build_primary_vtable(), build_tree_list, build_vtt(), BV_FN, chainon(), check_bases_and_members(), CLASSTYPE_AS_BASE, CLASSTYPE_CONTAINS_EMPTY_CLASS_P, CLASSTYPE_DESTRUCTORS, CLASSTYPE_EMPTY_P, CLASSTYPE_FRIEND_CLASSES, CLASSTYPE_GOT_SEMICOLON, CLASSTYPE_HAS_PRIMARY_BASE_P, CLASSTYPE_KEY_METHOD, CLASSTYPE_METHOD_VEC, CLASSTYPE_NEARLY_EMPTY_P, CLASSTYPE_PRIMARY_BINFO, CLASSTYPE_VFIELDS, COMPLETE_TYPE_P, complete_vars(), compute_record_mode(), constrain_class_visibility(), copy_decl(), count_fields(), gcc_target::cxx, DECL_FIELD_CONTEXT, DECL_FIELD_OFFSET, DECL_FRIENDLIST, DECL_LANG_SPECIFIC, DECL_MODE, DECL_SORTED_FIELDS, DECL_THUNK_P, DECL_VINDEX, DECL_VIRTUAL_P, determine_key_method(), dtor(), dump_class_hierarchy(), error(), error_mark_node, field_decl_cmp(), finish_struct_bits(), finish_vtbls(), fixup_inline_methods(), gcc_assert, GGC_NEWVAR, integer_zerop(), IS_AGGR_TYPE, key_method(), gcc_target::cxx::key_method_may_be_inline, keyed_classes, layout_class_type(), LOCAL_CLASS_P, make_tree_vec, maybe_suppress_debug_info(), modify_all_vtables(), my_friendly_assert, nreverse(), NULL_TREE, popclass(), qsort(), rest_of_type_compilation(), retrofit_lang_decl(), same_type_p, TARGET_VTABLE_USES_DESCRIPTORS, targetm, TREE_ADDRESSABLE, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PRIVATE, TREE_STATIC, TREE_TYPE, TREE_VEC_ELT, TYPE_BINFO, TYPE_BINFO_VIRTUALS, TYPE_BINFO_VTABLE, TYPE_CONTAINS_VPTR_P, TYPE_FIELDS, TYPE_FOR_JAVA, TYPE_HAS_CONSTRUCTOR, TYPE_HAS_DESTRUCTOR, TYPE_MAIN_DECL, TYPE_MAIN_VARIANT, TYPE_MODE, TYPE_POLYMORPHIC_P, TYPE_SIZE, TYPE_VFIELD, VF_BINFO_VALUE, warn_hidden(), warn_nonvdtor, warn_overloaded_virtual, warning, and x.
Referenced by finish_struct(), and instantiate_class_template().
Definition at line 546 of file semantics.c.
References add_stmt(), build1, build_expr_type_conversion(), default_conversion(), error(), error_mark_node, finish_cond(), FINISH_COND, fold(), get_unwidened(), index(), maybe_cleanup_point_expr(), NULL, NULL_TREE, perform_integral_promotions(), processing_template_decl, push_stmt_list(), push_switch(), SWITCH_COND, SWITCH_STMT_BODY, SWITCH_STMT_COND, SWITCH_STMT_TYPE, SWITCH_TYPE, TREE_TYPE, TREE_UNSIGNED, TYPE_UNSIGNED, WANT_ENUM, and WANT_INT.
Referenced by cp_parser_selection_statement(), and tsubst_expr().
Definition at line 590 of file semantics.c.
References add_stmt(), do_poplevel(), finish_stmt(), NULL, pop_stmt_list(), pop_switch(), RECHAIN_STMTS, SWITCH_BODY, SWITCH_STMT_BODY, and TREE_CHAIN.
Referenced by cp_parser_selection_statement(), and tsubst_expr().
Definition at line 1983 of file semantics.c.
References end_specialization(), and end_template_decl().
Referenced by cp_parser_template_declaration_after_export().
Definition at line 1628 of file semantics.c.
References build_decl, build_lang_decl(), current_template_parms, DECL_ARTIFICIAL, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, end_template_decl(), finish_template_type_parm(), gcc_assert, my_friendly_assert, and NULL_TREE.
Referenced by cp_parser_type_parameter().
Definition at line 1998 of file semantics.c.
References error_mark_node, lookup_template_class(), NULL_TREE, tf_error, tf_user, tf_warning, tf_warning_or_error, and TYPE_STUB_DECL.
Referenced by cp_parser_template_id().
Definition at line 1611 of file semantics.c.
References build_tree_list, class_type_node, and pedwarn().
Referenced by cp_parser_type_parameter(), and finish_template_template_parm().
Definition at line 269 of file semantics.c.
References pop_stmt_list(), RECHAIN_STMTS, and THEN_CLAUSE.
Referenced by begin_destructor_body(), build_vec_init(), construct_virtual_base(), cp_parser_selection_statement(), do_static_initialization_or_destruction(), expand_static_init(), finish_destructor_body(), finish_for_cond(), finish_static_initialization_or_destruction(), finish_while_stmt_cond(), one_static_initialization_or_destruction(), simplify_loop_decl_cond(), and tsubst_expr().
Definition at line 1336 of file semantics.c.
References current_class_ptr, current_function_decl, DECL_STATIC_FUNCTION_P, error(), error_mark_node, and result.
Referenced by cp_parser_primary_expression().
Definition at line 180 of file method.c.
References BINFO_VPTR_FIELD, DECL_NAME, DECL_RESULT_THUNK_P, DECL_THIS_THUNK_P, DECL_THUNK_P, DECL_THUNKS, function, gcc_assert, mangle_thunk(), SET_DECL_ASSEMBLER_NAME, ssize_int, THUNK_ALIAS, THUNK_FIXED_OFFSET, THUNK_TARGET, THUNK_VIRTUAL_OFFSET, and TREE_CHAIN.
Definition at line 1593 of file semantics.c.
References current_namespace, finish_file(), finish_fname_decls(), global_namespace, pop_everything(), and pop_namespace().
Referenced by cp_parser_translation_unit().
Definition at line 676 of file semantics.c.
References pop_stmt_list(), push_stmt_list(), RECHAIN_STMTS, TRY_HANDLERS, and TRY_STMTS.
Referenced by cp_parser_try_block(), finish_function_try_block(), and tsubst_expr().
Definition at line 2104 of file semantics.c.
References error(), error_mark_node, make_aggr_type(), processing_template_decl, resolve_offset_ref(), TREE_CODE, TREE_TYPE, type_dependent_expression_p(), TYPE_FIELDS, TYPEOF_TYPE_EXPR, unknown_type_node, and unlowered_expr_type().
Referenced by cp_parser_simple_type_specifier(), and tsubst().
Definition at line 1437 of file semantics.c.
References build_x_unary_op(), copy_node, INT_CST_LT, integer_zero_node, overflow_warning(), result, TREE_CODE, TREE_NEGATED_INT, TREE_TYPE, TREE_UNSIGNED, and TYPE_UNSIGNED.
Referenced by cp_parser_unary_expression().
Definition at line 352 of file semantics.c.
References do_poplevel(), finish_stmt(), RECHAIN_STMTS, and WHILE_BODY.
Referenced by cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 319 of file semantics.c.
References begin_if_stmt(), boolean_true_node, build_unary_op(), finish_break_stmt(), finish_cond(), FINISH_COND, finish_if_stmt(), finish_if_stmt_cond(), finish_then_clause(), getdecls(), maybe_convert_cond(), NULL_TREE, processing_template_decl, simplify_loop_decl_cond(), WHILE_BODY, and WHILE_COND.
Referenced by cp_parser_iteration_statement(), and tsubst_expr().
Definition at line 7478 of file decl.c.
References CLASS_TYPE_P, cp_error_at(), DECL_ARTIFICIAL, error(), q, TREE_CHAIN, TREE_CODE, TREE_TYPE, TYPE_FIELDS, TYPE_HAS_ASSIGN_REF, TYPE_HAS_COMPLEX_ASSIGN_REF, TYPE_HAS_CONST_ASSIGN_REF, TYPE_HAS_CONST_INIT_REF, TYPE_HAS_CONSTRUCTOR, TYPE_HAS_DEFAULT_CONSTRUCTOR, TYPE_HAS_INIT_REF, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_MAIN_DECL, TYPE_METHODS, and TYPE_NEEDS_CONSTRUCTING.
Referenced by cp_parser_member_declaration(), grok_x_components(), and shadow_tag().
Definition at line 8108 of file pt.c.
References coerce_template_parms(), DECL_INNERMOST_TEMPLATE_PARMS, DECL_NONSTATIC_MEMBER_FUNCTION_P, error_mark_node, gcc_assert, i, my_friendly_assert, NULL_TREE, NUM_TMPL_ARGS, processing_template_decl, result, skip_artificial_parms_for(), tf_none, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, tsubst(), TYPE_ARG_TYPES, and type_unification_real().
Referenced by add_template_candidate_real(), get_bindings(), get_bindings_real(), and resolve_address_of_overloaded_function().
Definition at line 2285 of file tree.c.
References fold(), fold_convert(), processing_template_decl, TREE_CODE, TREE_OPERAND, and TREE_TYPE.
Definition at line 3284 of file pt.c.
References HOST_WIDE_INT, NULL_TREE, processing_template_decl, tf_error, tsubst_copy_and_build(), type_dependent_expression_p(), and value_dependent_expression_p().
Definition at line 593 of file cvt.c.
References CONV_FORCE_TEMP, CONV_IMPLICIT, decay_conversion(), IS_AGGR_TYPE, LOOKUP_NORMAL, ocp_convert(), TREE_CODE, and TREE_TYPE.
Referenced by build_conditional_expr(), build_target_expr_with_type(), and finish_stmt_expr_expr().
Definition at line 348 of file tree.c.
References build_local_temp(), build_target_expr(), gcc_assert, and VOID_TYPE_P.
Definition at line 1058 of file tree.c.
References BASELINK_FUNCTIONS, BASELINK_P, gcc_assert, is_overloaded_fn(), my_friendly_assert, OVL_CURRENT, TREE_CODE, and TREE_OPERAND.
Referenced by baselink_for_fns(), build_call_from_tree(), build_method_call(), build_new_method_call(), build_unary_op(), cp_parser_postfix_expression(), cp_parser_template_name(), do_class_using_decl(), do_friend(), dump_decl(), dump_expr(), finish_call_expr(), finish_class_member_access_expr(), finish_id_expression(), grokdeclarator(), perform_koenig_lookup(), pushdecl_class_level(), resolve_scoped_fn_name(), tsubst_baselink(), tsubst_copy(), tsubst_copy_and_build(), and validate_nonmember_using_decl().
Definition at line 2066 of file decl2.c.
References build_decl, gcc_target::cxx, DECL_ARTIFICIAL, DECL_COMMON, DECL_IGNORED_P, DECL_ONE_ONLY, DECL_WEAK, gcc_target::cxx::guard_type, IDENTIFIER_GLOBAL_VALUE, long_long_integer_type_node, mangle_guard_variable(), NULL_TREE, pushdecl_top_level_and_finish(), targetm, TREE_PUBLIC, TREE_STATIC, and TREE_USED.
Referenced by expand_static_init(), one_static_initialization_or_destruction(), and start_static_initialization_or_destruction().
Definition at line 2122 of file decl2.c.
References convert(), cp_build_binary_op, gcc_target::cxx, get_guard_bits(), gcc_target::cxx::guard_mask_bit, integer_one_node, integer_zero_node, same_type_p, targetm, and TREE_TYPE.
Referenced by expand_static_init(), one_static_initialization_or_destruction(), and start_static_initialization_or_destruction().
Definition at line 626 of file pt.c.
References gcc_assert, i, make_tree_vec, my_friendly_assert, SET_TMPL_ARGS_LEVEL, TMPL_ARGS_DEPTH, and TMPL_ARGS_LEVEL.
Referenced by instantiate_decl(), regenerate_decl_from_template(), and tsubst_decl().
Definition at line 2547 of file typeck.c.
References abort, ba_check, build(), build1, build2, build_addr_func(), build_base_path(), build_conditional_expr(), build_indirect_ref(), build_pointer_type(), build_ptrmemfunc_access_expr(), build_unary_op(), convert(), cp_build_binary_op, delta_identifier, error(), error_mark_node, fold(), fold_build2, gcc_unreachable, idx, integer_one_node, lookup_base(), NULL, PFN_FROM_PTRMEMFUNC, pfn_from_ptrmemfunc(), PTRMEM_CST_MEMBER, ptrmemfunc_vbit_in_delta, ptrmemfunc_vbit_in_pfn, same_type_ignoring_top_level_qualifiers_p, save_expr(), TARGET_PTRMEMFUNC_VBIT_LOCATION, TARGET_VTABLE_USES_DESCRIPTORS, TREE_CODE, TREE_CONSTANT, TREE_INVARIANT, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_METHOD_BASETYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, vtable_index_type, and vtbl_ptr_type_node.
Referenced by build_addr_func(), build_offset_ref_call_from_tree(), convert_member_func_to_ptr(), cp_convert_to_pointer(), and resolve_offset_ref().
Definition at line 10769 of file pt.c.
References DECL_NTPARMS, DECL_TEMPLATE_PARMS, DECL_TI_ARGS, DECL_TI_TEMPLATE, flag_access_control, gcc_assert, i, make_tree_vec, most_general_template(), my_friendly_assert, NULL_TREE, pop_access_scope(), processing_template_decl, push_access_scope(), SET_TMPL_ARGS_LEVEL, tf_error, TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, TMPL_PARMS_DEPTH, TREE_TYPE, TREE_VEC_LENGTH, tsubst(), and tsubst_template_parms().
Referenced by write_encoding(), and write_unqualified_name().
Definition at line 2275 of file search.c.
References BINFO_VIRTUALS, BV_FN, CLASSTYPE_PURE_VIRTUALS, CLASSTYPE_VBASECLASSES, DECL_NEEDS_FINAL_OVERRIDER_P, dfs_get_pure_virtuals(), dfs_marked_real_bases_queue_p(), dfs_unmark(), dfs_unmarked_real_bases_queue_p(), dfs_walk(), dfs_walk_once(), error(), nreverse(), NULL, NULL_TREE, TREE_CHAIN, TREE_VALUE, and TYPE_BINFO.
Referenced by finish_struct_bits().
| tree get_scope_of_declarator | ( | const cp_declarator * | ) |
Definition at line 6185 of file decl.c.
References cdk_id, cp_declarator::declarator, cp_declarator::id, cp_declarator::kind, NULL_TREE, and cp_declarator::u.
Definition at line 380 of file tree.c.
References build_target_expr_with_type(), and TREE_TYPE.
Referenced by build_conditional_expr(), build_functional_cast(), build_new_1(), build_throw(), build_up_reference(), build_vec_delete(), expand_static_init(), initialize_reference(), and stabilize_expr().
Definition at line 315 of file rtti.c.
References build_function_type(), build_lang_decl(), CLASS_TYPE_P, CLASSTYPE_TYPEINFO_VAR, COMPLETE_TYPE_P, d, DECL_ARTIFICIAL, DECL_COMDAT, DECL_EXTERNAL, DECL_IGNORED_P, DECL_NOT_REALLY_EXTERN, DECL_TINFO_P, error(), error_mark_node, get_pseudo_ti_desc(), get_pseudo_ti_index(), IDENTIFIER_GLOBAL_VALUE, mangle_typeinfo_for_type(), NULL_TREE, pushdecl_top_level_and_finish(), SET_DECL_ASSEMBLER_NAME, set_linkage_according_to_type(), ti, TINFO_PSEUDO_TYPE, tinfo_s, TREE_CHAIN, TREE_CODE, TREE_READONLY, TREE_STATIC, TREE_TYPE, TYPE_ARG_TYPES, TYPE_MAIN_VARIANT, TYPE_SIZE, unemitted_tinfo_decls, variably_modified_type_p(), VEC_index, and VEC_safe_push.
Referenced by build_dynamic_cast_1(), build_eh_type_type(), build_rtti_vtbl_entries(), eh_type_info(), emit_support_tinfos(), and get_tinfo_ptr().
Definition at line 1595 of file tree.c.
References abort, error_mark_node, gcc_assert, TREE_CODE, TYPE_P, and TYPE_STUB_DECL.
Referenced by pushtag().
Definition at line 1350 of file init.c.
References error_mark_node, IDENTIFIER_HAS_TYPE_VALUE, IDENTIFIER_TYPE_VALUE, and NULL_TREE.
Referenced by check_dtor_name().
Definition at line 391 of file rtti.c.
References build_indirect_ref(), build_min(), build_min_nt(), complete_type_or_else, const_type_info_type_node, error_mark_node, get_tinfo_ptr(), non_reference(), NULL, NULL_TREE, processing_template_decl, TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, typeid_ok_p(), and VOID_TYPE_P.
Referenced by build_expr_from_tree(), cp_parser_postfix_expression(), and tsubst_copy_and_build().
Definition at line 599 of file class.c.
References build_vtable(), CLASSTYPE_VTABLES, cp_finish_decl(), DECL_ALIGN, DECL_EXTERNAL, double_type_node, finish_decl(), get_vtable_name(), MAX, NULL_TREE, TYPE_ALIGN, void_type_node, and vtbl_type_node.
Referenced by build_primary_vtable(), and tinfo_base_init().
Definition at line 6774 of file class.c.
References BINFO_VTABLE, gcc_assert, my_friendly_assert, TREE_CODE, and TREE_OPERAND.
Referenced by build_primary_vtable(), build_vtable_entry_ref(), build_vtbl_address(), debug_binfo(), initialize_vtable(), layout_vtable_decl(), and output_vtable_inherit().
Definition at line 431 of file decl2.c.
References build_array_ref(), build_expr_type_conversion(), build_min(), build_min_non_dep(), build_min_nt(), build_new_op(), build_non_dependent_expr(), build_opfncall(), error(), error_mark_node, error_operand_p, gcc_assert, i1, i2, IS_AGGR_TYPE, LOOKUP_NORMAL, non_reference(), NULL, NULL_TREE, p1, p2, processing_template_decl, TREE_CODE, TREE_TYPE, type_dependent_expression_p(), WANT_ENUM, WANT_INT, and WANT_POINTER.
Referenced by build_expr_from_tree(), and cp_parser_postfix_open_square_expression().
Definition at line 13130 of file decl.c.
References copy_fn_p(), DECL_NAME, error(), and SET_IDENTIFIER_ERROR_LOCUS.
Referenced by grokfndecl(), and tsubst_decl().
Definition at line 13190 of file decl.c.
References abort, ambi_op_p(), build_reference_type(), class_type, CLASS_TYPE_P, coerce_delete_type(), coerce_new_type(), COMPLETE_TYPE_P, CP_DECL_CONTEXT, current_class_type, DECL_ASSIGNMENT_OPERATOR_P, DECL_CONTEXT, DECL_CONV_FN_P, DECL_NAME, DECL_NAMESPACE_SCOPE_P, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_INFO, DERIVED_FROM_P, error(), error_mark_node, gcc_assert, gcc_unreachable, global_namespace, IDENTIFIER_TYPENAME_P, integer_type_node, IS_AGGR_TYPE, my_friendly_assert, non_reference(), NULL_TREE, ok(), p, pedantic, pedwarn(), processing_template_decl, ret, revert_static_member_fn(), same_type_p, SET_OVERLOADED_OPERATOR_CODE, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_GETS_DELETE, TYPE_HAS_ARRAY_NEW_OPERATOR, TYPE_HAS_NEW_OPERATOR, TYPE_MAIN_VARIANT, TYPE_OVERLOADS_ARRAY_REF, TYPE_OVERLOADS_ARROW, TYPE_OVERLOADS_CALL_EXPR, unary_op_p(), void_list_node, warn_conversion, warn_ecpp, and warning.
Referenced by grokfndecl(), and tsubst_decl().
Definition at line 13080 of file decl.c.
References class_type, copy_fn_p(), ctor(), DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_OVERLOADED_OPERATOR_P, DECL_PURE_VIRTUAL_P, FUNCTION_FIRST_USER_PARMTYPE, sufficient_parms_p(), TYPE_HAS_ABSTRACT_ASSIGN_REF, TYPE_HAS_ASSIGN_REF, TYPE_HAS_CONST_ASSIGN_REF, TYPE_HAS_CONST_INIT_REF, TYPE_HAS_CONSTRUCTOR, TYPE_HAS_DEFAULT_CONSTRUCTOR, and TYPE_HAS_INIT_REF.
Referenced by add_method(), grokfield(), implicitly_declare_fn(), instantiate_class_template(), and start_method().
| tree grokbitfield | ( | const cp_declarator * | , | |
| cp_decl_specifier_seq * | , | |||
| tree | ||||
| ) |
Definition at line 1020 of file decl2.c.
References BITFIELD, constant_expression_warning(), cp_finish_decl(), DECL_CONTEXT, DECL_IN_AGGR_P, DECL_INITIAL, DECL_NAME, dependent_type_p(), error(), error_mark_node, finish_decl(), grokdeclarator(), INTEGRAL_TYPE_P, NULL, NULL_TREE, POINTER_TYPE_P, SET_DECL_C_BIT_FIELD, TREE_CODE, TREE_STATIC, TREE_TYPE, and void_type_node.
Definition at line 264 of file decl2.c.
References DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_DESTRUCTOR_P, DECL_NAME, DTOR_FLAG, error(), get_identifier(), lang_cplusplus, maybe_retrofit_in_chrg(), NULL_TREE, and SET_DECL_LANGUAGE.
| tree grokfield | ( | const cp_declarator * | , | |
| cp_decl_specifier_seq * | , | |||
| tree | , | |||
| bool | , | |||
| tree | , | |||
| tree | ||||
| ) |
Definition at line 763 of file decl2.c.
References cp_finish_decl(), cplus_decl_attributes(), current_class_type, DECL_CONTEXT, DECL_EXTERNAL, DECL_FRIEND_P, DECL_IN_AGGR_P, DECL_INITIAL, DECL_NAME, DECL_NONLOCAL, DECL_P, DECL_PURE_VIRTUAL_P, digest_init(), error(), error_mark_node, error_operand_p, FIELD, finish_static_data_member_decl(), flags, gcc_assert, gcc_unreachable, grokdeclarator(), IDENTIFIER_POINTER, integer_zerop(), integral_constant_value(), LOOKUP_ONLYCONVERTING, NULL_TREE, pedantic, processing_template_decl, push_template_decl(), set_user_assembler_name(), sorry(), strcmp(), TREE_CHAIN, TREE_CODE, TREE_CONSTANT, TREE_STATIC, TREE_STRING_POINTER, TREE_TYPE, TREE_VALUE, and void_type_node.
| tree groktypename | ( | cp_decl_specifier_seq * | , | |
| const cp_declarator * | ||||
| ) |
Definition at line 3543 of file decl.c.
References cp_decl_specifier_seq::attributes, cplus_decl_attributes(), grokdeclarator(), NULL_TREE, and TYPENAME.
| union lang_tree_node GTY | ( | (desc("cp_tree_node_structure (&%h)"),chain_next("(union lang_tree_node *)TREE_CHAIN (&%h.generic)")) | ) | [write] |
Definition at line 467 of file cp-tree.h.
References h, TS_CP_BASELINK, TS_CP_DEFAULT_ARG, TS_CP_IDENTIFIER, TS_CP_OVERLOAD, TS_CP_PTRMEM, TS_CP_TINST_LEVEL, and TS_CP_TPI.
| struct lang_identifier GTY | ( | () | ) | [read, write] |
Definition at line 877 of file tree.c.
References hash_tree_cons(), and NULL_TREE.
Referenced by hash_chainon(), implicitly_declare_fn(), and maybe_retrofit_in_chrg().
Definition at line 851 of file tree.c.
References htab_find_slot_with_hash(), INSERT, list_hash_pieces(), PTR, and tree_cons.
Referenced by copy_default_args_to_explicit_spec(), copy_default_args_to_explicit_spec_1(), hash_tree_chain(), tsubst(), and tsubst_arg_types().
Definition at line 1927 of file decl2.c.
References at_eof, gcc_target::cxx::class_data_always_comdat, class_type, CLASS_TYPE_P, CLASSTYPE_EXPLICIT_INSTANTIATION, CLASSTYPE_IMPLICIT_INSTANTIATION, CLASSTYPE_INTERFACE_KNOWN, CLASSTYPE_INTERFACE_ONLY, CLASSTYPE_KEY_METHOD, CLASSTYPE_USE_TEMPLATE, comdat_linkage(), gcc_target::cxx, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_FUNCTION_MEMBER_P, DECL_IMPLICIT_INSTANTIATION, DECL_INTERFACE_KNOWN, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_NOT_REALLY_EXTERN, DECL_REALLY_EXTERN, DECL_TEMPLATE_INSTANTIATION, DECL_TINFO_P, DECL_VINDEX, DECL_VTABLE_OR_VTT_P, flag_implement_inlines, flag_implicit_inline_templates, flag_implicit_templates, flag_rtti, flag_weak, FOR_EACH_CLONE, gcc_assert, import_export_class(), mark_needed(), maybe_make_one_only(), NULL_TREE, repo_emit_p(), TARGET_WEAK_NOT_IN_ARCHIVE_TOC, targetm, TREE_CODE, TREE_PUBLIC, TREE_TYPE, TYPE_FOR_JAVA, and TYPE_POLYMORPHIC_P.
Referenced by cp_finish_file(), emit_tinfo_decl(), expand_body(), expand_or_defer_fn(), finish_file(), instantiate_decl(), maybe_emit_vtables(), synthesize_method(), tinfo_base_init(), and write_out_vars().
Definition at line 4817 of file call.c.
References abort, base_ctor_identifier, base_dtor_identifier, complete_ctor_identifier, complete_dtor_identifier, deleting_dtor_identifier, gcc_unreachable, integer_one_node, integer_three_node, integer_two_node, integer_zero_node, and NULL_TREE.
Referenced by maybe_clone_body().
Definition at line 5715 of file class.c.
References access_default_node, access_default_virtual_node, access_private_node, access_private_virtual_node, access_protected_node, access_protected_virtual_node, access_public_node, access_public_virtual_node, ak_private, ak_protected, ak_public, build_int_2, class_roots, current_class_depth, current_class_stack_size, fields_ident, gcc_obstack_init, get_identifier(), info_ident, int, local_classes, Pmode, RID_PRIVATE, RID_PROTECTED, RID_PUBLIC, ridpointers, size_zero_node, temporary_obstack, VARRAY_TREE_INIT, VEC_alloc, xmalloc(), and XNEWVEC.
Referenced by cxx_init_decl_processing(), and java_init_decl_processing().
Definition at line 127 of file error.c.
References cp_diagnostic_finalizer(), cp_diagnostic_starter(), cp_printer(), cxx_pp, diagnostic_finalizer, diagnostic_format_decoder, diagnostic_starter, global_dc, init_output_buffer(), NULL, pp_base, pp_construct(), and pp_cxx_pretty_printer_init().
Referenced by cxx_init().
Definition at line 61 of file except.c.
References gcc_target::arm_eabi_unwinder, build_cp_library_fn_ptr(), build_eh_type_type(), build_function_type(), call_unexpected_node, cp_protect_cleanup_actions(), default_init_unwind_resume_libfunc(), eh_personality_libfunc, get_identifier(), init_one_libfunc(), lang_eh_runtime_type, lang_protect_cleanup_actions, NULL_TREE, pop_namespace(), ptr_type_node, push_namespace(), push_throw_library_fn(), std_identifier, targetm, terminate_node, tmp, tree_cons, TREE_NOTHROW, TREE_THIS_VOLATILE, unwind_resume_libfunc, USING_SJLJ_EXCEPTIONS, void_list_node, and void_type_node.
Referenced by cxx_init_decl_processing().
Definition at line 2383 of file mangle.c.
References G, gcc_obstack_init, get_identifier(), name_obstack, NULL, obstack_alloc, SUBID_ALLOCATOR, SUBID_BASIC_IOSTREAM, SUBID_BASIC_ISTREAM, SUBID_BASIC_OSTREAM, SUBID_BASIC_STRING, SUBID_CHAR_TRAITS, subst_identifiers, and VARRAY_TREE_INIT.
Referenced by init_method().
Definition at line 154 of file repo.c.
References afgets(), buf, error(), fclose(), flag_use_repository, gcc_obstack_init, get_identifier(), ggc_strdup, IDENTIFIER_REPO_CHOSEN, init_repo(), lang_post_pch_load, main_input_filename, obstack_free, open_repo_file(), and temporary_obstack.
Definition at line 595 of file lex.c.
References ARRAY_SIZE, C_IS_RESERVED_WORD, C_RID_CODE, D_ASM, D_EXT, D_OBJC, flag_no_asm, flag_no_gnu_keywords, get_identifier(), ggc_calloc(), GGC_CNEWVEC, i, int, reswords, RID_MAX, ridpointers, resword::word, and xcalloc().
Referenced by cxx_init().
Definition at line 113 of file rtti.c.
References build_pointer_type(), build_qualified_type(), class_type, create_tinfo_types(), get_identifier(), NULL_TREE, pop_namespace(), push_namespace(), std_identifier, type_info_ptr_type, type_info_type_node, TYPE_QUAL_CONST, and xref_tag().
Referenced by cxx_init_decl_processing().
Definition at line 256 of file cp-objcp-common.c.
References htab_create_ggc, tree_map_eq(), and tree_map_hash().
Referenced by cp_init_ts().
Definition at line 2430 of file tree.c.
References cp_statement_code_p(), htab_create_ggc, list_hash(), list_hash_eq(), and NULL.
Referenced by cxx_init().
Definition at line 4695 of file decl.c.
References build_constructor(), build_constructor_from_list(), DECL_ARTIFICIAL, DECL_INITIAL, DECL_INITIALIZED_P, determine_visibility(), gcc_assert, layout_var_decl(), make_rtl_for_nonlocal_decl(), maybe_commonize_var(), NULL, NULL_TREE, and TREE_CODE.
Definition at line 6089 of file call.c.
References add_decl_expr(), add_decl_stmt(), at_eof, at_function_scope_p(), conversion::bad_p, build(), build2, build_address(), build_nop(), build_pointer_type(), build_stmt(), build_unary_op(), check_constructor_callable(), conversion::check_copy_constructor_p, ck_base, ck_ref_bind, conversion_obstack, conversion_obstack_alloc(), convert_like, convert_like_real(), convert_to_base(), cxx_maybe_build_cleanup(), error(), error_mark_node, error_operand_p, gcc_assert, get_target_expr(), ICS_BAD_FLAG, conversion::kind, layout_decl(), LOOKUP_NORMAL, make_temporary_var_for_ref_to_temp(), my_friendly_assert, NEED_TEMPORARY_P, conversion::next, NULL, NULL_TREE, obstack_free, p, perform_implicit_conversion(), real_lvalue_p(), real_non_cast_lvalue_p(), reference_binding(), rest_of_decl_compilation(), static_aggregates, TREE_CODE, tree_cons, TREE_OPERAND, TREE_TYPE, conversion::type, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_QUAL_CONST, TYPE_QUALS, and conversion::u.
Referenced by convert_for_initialization(), and grok_reference_init().
Definition at line 138 of file init.c.
References build_tree_list, dfs_initialize_vtbl_ptrs(), dfs_marked_real_bases_queue_p(), dfs_unmark(), dfs_unmarked_real_bases_queue_p(), dfs_walk(), dfs_walk_once(), dfs_walk_real(), NULL, TREE_TYPE, and TYPE_BINFO.
Referenced by begin_destructor_body(), and emit_mem_initializers().
Definition at line 1721 of file typeck.c.
References build1, build_pointer_type(), TREE_CODE, and TREE_TYPE.
Referenced by build_function_call(), build_function_call_real(), and build_over_call().
Definition at line 736 of file c-decl.c.
References blocks, binding_level::blocks, chainon(), current_binding_level, current_scope(), SCOPE_LIST_APPEND, and TREE_USED.
Referenced by GOTO_TABLE::Move_Into_Else().
Definition at line 5202 of file pt.c.
References access, access_private_node, access_private_virtual_node, access_protected_node, access_protected_virtual_node, access_public_node, access_public_virtual_node, add_friend(), ANON_AGGR_TYPE_P, args, base, BINFO_BASE_ACCESS, BINFO_BASE_ITERATE, BINFO_N_BASE_BINFOS, BINFO_TYPE, BINFO_VIRTUAL_P, bitsize_zero_node, can_complete_type_without_circularity(), check_static_variable_definition(), CLASSTYPE_DECL_LIST, CLASSTYPE_GOT_SEMICOLON, CLASSTYPE_INTERFACE_ONLY, CLASSTYPE_INTERFACE_UNKNOWN, CLASSTYPE_IS_TEMPLATE, CLASSTYPE_KEY_METHOD, CLASSTYPE_NESTED_UDTS, CLASSTYPE_TI_ARGS, CLASSTYPE_TI_TEMPLATE, CLASSTYPE_USE_TEMPLATE, CLASSTYPE_VBASECLASSES, CLASSTYPE_VISIBILITY, CLASSTYPE_VISIBILITY_SPECIFIED, complete_type(), COMPLETE_TYPE_P, copy_node, cp_error_at(), cxx_incomplete_type_error, DECL_ARTIFICIAL, DECL_CLASS_SCOPE_P, DECL_CLASS_TEMPLATE_P, DECL_FUNCTION_TEMPLATE_P, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_INITIALIZED_IN_CLASS_P, decl_namespace_context(), DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, DECL_TEMPLATE_INFO, DECL_TEMPLATE_SPECIALIZATIONS, dependent_type_p(), dk_no_check, dk_no_deferred, error(), error_mark_node, finish_member_declaration(), finish_static_data_member_decl(), finish_struct_1(), flag_alt_external_templates, flag_external_templates, gcc_assert, get_class_bindings(), global_namespace, grok_special_member_properties(), hidden_name_p(), i, in_system_header, input_filename, input_location, integer_type_node, interface_only, interface_unknown, keyed_classes, lineno, make_friend_class(), maybe_push_to_top_level(), member(), most_general_template(), most_specialized_class(), my_friendly_assert, nreverse(), NULL_TREE, PARTIAL_INSTANTIATION_P, pattern, pedantic, pop_deferring_access_checks(), pop_from_top_level(), pop_nested_namespace(), pop_scope(), pop_tinst_level(), popclass(), PRIMARY_TEMPLATE_P, processing_template_decl, push_deferring_access_checks(), push_nested_namespace(), push_scope(), push_tinst_level(), push_to_top_level(), pushclass(), pushtag(), r, repo_template_used(), SET_ANON_AGGR_TYPE_P, SET_CLASSTYPE_INTERFACE_UNKNOWN, SET_CLASSTYPE_INTERFACE_UNKNOWN_X, set_current_access_from_decl(), SET_IDENTIFIER_TYPE_VALUE, SET_TMPL_ARGS_LEVEL, str, tag, tf_error, tf_warning, tf_warning_or_error, TMPL_ARGS_DEPTH, TMPL_ARGS_HAVE_MULTIPLE_LEVELS, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, TREE_VIA_PROTECTED, TREE_VIA_PUBLIC, TREE_VIA_VIRTUAL, ts_current, ts_global, tsubst(), tsubst_default_arguments(), tsubst_expr(), tsubst_friend_class(), tsubst_friend_function(), TYPE_ALIGN, TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_BEING_DEFINED, TYPE_BINFO, TYPE_BINFO_BASETYPES, TYPE_CONTAINS_VPTR_P, TYPE_CONTEXT, TYPE_FIELDS, TYPE_FOR_JAVA, TYPE_GETS_DELETE, TYPE_HAS_ABSTRACT_ASSIGN_REF, TYPE_HAS_ARRAY_NEW_OPERATOR, TYPE_HAS_ASSIGN_REF, TYPE_HAS_CONST_ASSIGN_REF, TYPE_HAS_CONST_INIT_REF, TYPE_HAS_CONSTRUCTOR, TYPE_HAS_CONVERSION, TYPE_HAS_DEFAULT_CONSTRUCTOR, TYPE_HAS_DESTRUCTOR, TYPE_HAS_INIT_REF, TYPE_HAS_NEW_OPERATOR, TYPE_IDENTIFIER, TYPE_LANG_SPECIFIC, TYPE_MAIN_DECL, TYPE_METHODS, TYPE_NAME, TYPE_OVERLOADS_ARRAY_REF, TYPE_OVERLOADS_ARROW, TYPE_OVERLOADS_CALL_EXPR, TYPE_P, TYPE_PACKED, TYPE_SIZE, TYPE_USER_ALIGN, TYPE_USES_MULTIPLE_INHERITANCE, TYPE_USES_VIRTUAL_BASECLASSES, unreverse_member_declarations(), uses_template_parms(), xref_basetypes(), and xref_tag_from_type().
Referenced by build_new_op(), complete_type(), instantiate_pending_templates(), and prep_operand().
Definition at line 11362 of file pt.c.
References add_pending_template(), args, at_eof, cfun, cp_finish_decl(), DECL_ARGUMENTS, DECL_CLONED_FUNCTION, DECL_CLONED_FUNCTION_P, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_EXPLICIT_INSTANTIATION, DECL_EXTERNAL, DECL_IN_AGGR_P, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_INITIALIZED_IN_CLASS_P, DECL_INITIALIZED_P, DECL_INLINE, DECL_INTERFACE_KNOWN, decl_namespace_context(), DECL_NAMESPACE_SCOPE_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_NOT_REALLY_EXTERN, DECL_REALLY_EXTERN, DECL_SAVED_TREE, DECL_SOURCE_LOCATION, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, DECL_TEMPLATE_SPECIALIZATION, DECL_TI_ARGS, DECL_TI_TEMPLATE, dk_no_deferred, eq_local_specializations(), expand_or_defer_fn(), finish_decl(), finish_function(), flag_inline_trees, gcc_assert, get_innermost_template_args(), global_bindings_p(), hash_local_specialization(), htab_create(), htab_delete(), in_system_header, input_location, LOOKUP_ONLYCONVERTING, mark_definable(), most_general_template(), NULL, NULL_RTX, NULL_TREE, out, pch_file, pedwarn(), pop_access_scope(), pop_deferring_access_checks(), pop_from_top_level(), pop_nested_class(), pop_nested_namespace(), pop_tinst_level(), push_access_scope(), push_deferring_access_checks(), push_nested_class(), push_nested_namespace(), push_tinst_level(), push_to_top_level(), regenerate_decl_from_template(), register_local_specialization(), repo_emit_p(), retrieve_specialization(), SET_DECL_IMPLICIT_INSTANTIATION, SET_DECL_RTL, SF_PRE_PARSED, skip_artificial_parms_for(), start_preparsed_function(), template_for_substitution(), tf_error, tf_warning, tf_warning_or_error, TI_PENDING_TEMPLATE_FLAG, timevar_pop, timevar_push, TMPL_PARMS_DEPTH, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_TYPE, tsubst(), tsubst_expr(), and TYPE_RAISES_EXCEPTIONS.
| void instantiate_pending_templates | ( | int | ) |
Definition at line 11675 of file pt.c.
References CLASSTYPE_TEMPLATE_INSTANTIATION, COMPLETE_TYPE_P, cp_error_at(), DECL_ARTIFICIAL, DECL_INITIAL, DECL_TEMPLATE_INSTANTIATED, DECL_TEMPLATE_SPECIALIZATION, error(), error_mark_node, in_system_header, input_location, instantiate_class_template(), instantiate_decl(), last, NULL_TREE, reopen_tinst_level(), TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_VALUE, TYPE_METHODS, and TYPE_P.
| tree instantiate_template | ( | tree | , | |
| tree | , | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 8947 of file pt.c.
References add_outermost_template_args(), check_instantiated_args(), clone_function_decl(), DECL_CLONED_FUNCTION, DECL_CLONED_FUNCTION_P, DECL_NAME, DECL_TEMPLATE_RESULT, DECL_TI_ARGS, DECL_TI_TEMPLATE, dk_deferred, error_mark_node, FOR_EACH_CLONE, gcc_assert, gcc_unreachable, HOST_WIDE_INT, INNERMOST_TEMPLATE_ARGS, instantiate_template(), most_general_template(), NULL_TREE, perform_deferred_access_checks(), pop_access_scope(), pop_deferring_access_checks(), processing_template_decl, push_access_scope(), push_deferring_access_checks(), retrieve_specialization(), TREE_CHAIN, TREE_CODE, and tsubst().
| tree instantiate_type | ( | tree | , | |
| tree | , | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 6309 of file class.c.
References abort, args, BASELINK_ACCESS_BINFO, BASELINK_FUNCTIONS, BASELINK_P, build2, build_pointer_type(), COMPARE_NO_ATTRIBUTES, COMPARE_STRICT, comptypes(), copy_node, error(), error_mark_node, flag_ms_extensions, gcc_assert, gcc_unreachable, instantiate_type(), member(), my_friendly_assert, NULL_TREE, PTRMEM_OK_P, really_overloaded_fn(), resolve_address_of_overloaded_function(), same_type_p, tf_error, tf_no_attributes, tf_ptrmem_ok, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_PTRMEMFUNC_P, type_unknown_p(), UNKNOWN_TYPE, and unknown_type_node.
Referenced by build_binary_op(), build_ptrmemfunc(), convert_for_assignment(), convert_like_real(), convert_nontype_argument(), convert_nontype_argument_function(), convert_to_reference(), cp_convert_to_pointer(), instantiate_type(), reference_binding(), and standard_conversion().
Definition at line 1570 of file init.c.
References constant_value_1(), CP_TYPE_CONST_NON_VOLATILE_P, DECL_INITIAL, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_INTEGRAL_CONSTANT_VAR_P, error_mark_node, fold_non_dependent_expr(), INTEGRAL_OR_ENUMERATION_TYPE_P, mark_used(), TREE_CODE, and TREE_TYPE.
Definition at line 5860 of file class.c.
References IDENTIFIER_CLASS_VALUE, NULL, NULL_TREE, previous_class_level, previous_class_type, previous_class_values, record_layout_info_s::t, TREE_CHAIN, and TREE_PURPOSE.
Referenced by pop_from_top_level(), and pushclass().
| int is_aggr_type | ( | tree | , | |
| int | ||||
| ) |
Definition at line 1299 of file init.c.
References error(), error_mark_node, IS_AGGR_TYPE, and TREE_CODE.
Referenced by build_member_call(), build_offset_ref(), build_scoped_method_call(), finish_base_specifier(), grokdeclarator(), and lookup_qualified_name().
Definition at line 1420 of file typeck.c.
References DECL_BIT_FIELD_TYPE, DECL_C_BIT_FIELD, is_bitfield_expr_with_lowered_type(), NULL_TREE, same_type_ignoring_top_level_qualifiers_p, TREE_CODE, TREE_OPERAND, and TREE_TYPE.
Referenced by build_throw(), convert_bitfield_to_declared_type(), is_bitfield_expr_with_lowered_type(), perform_integral_promotions(), standard_conversion(), and unlowered_expr_type().
| int is_dummy_object | ( | tree | ) |
Definition at line 1948 of file tree.c.
References TREE_CODE, TREE_OPERAND, and void_zero_node.
Referenced by build_member_call(), build_new_method_call(), dump_expr(), resolve_offset_ref(), and unary_complex_lvalue().
| int is_empty_class | ( | tree | ) |
Definition at line 6619 of file class.c.
References abi_version_at_least, CLASSTYPE_EMPTY_P, CLASSTYPE_SIZE, error_mark_node, integer_zerop(), and IS_AGGR_TYPE.
Referenced by build_base_field(), build_base_path(), build_call(), check_bases(), check_subobject_offset(), contains_empty_class_p(), cp_expr_size(), Create_TY_For_Tree(), do_build_assign_ref(), do_build_copy_constructor(), dump_class_hierarchy_r(), empty_base_at_nonzero_offset_p(), end_of_base(), GTY(), layout_empty_base(), record_subobject_offset(), and record_subobject_offsets().
Definition at line 36 of file friend.c.
References CLASSTYPE_FRIEND_CLASSES, DECL_CONTEXT, DECL_FRIENDLIST, decl_function_context(), DECL_FUNCTION_MEMBER_P, DECL_NAME, DECL_P, FRIEND_DECLS, FRIEND_NAME, is_friend(), is_specialization_of(), is_specialization_of_friend(), NULL_TREE, same_type_p, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_CLASS_SCOPE_P, TYPE_CONTEXT, TYPE_MAIN_DECL, and TYPE_P.
Referenced by check_explicit_specialization(), dfs_accessible_p(), dfs_accessible_post(), dfs_accessible_queue_p(), dfs_walk_once_accessible_r(), friend_of_associated_class_p(), and is_friend().
| int is_overloaded_fn | ( | tree | ) |
Definition at line 1014 of file tree.c.
References BASELINK_FUNCTIONS, BASELINK_P, DECL_FUNCTION_TEMPLATE_P, OVL_CHAIN, OVL_CURRENT, TREE_CODE, and TREE_OPERAND.
Referenced by add_function(), ambiguous_decl(), build_member_call(), build_non_dependent_expr(), check_explicit_specialization(), check_template_keyword(), convert_nontype_argument(), convert_to_void(), cp_parser_postfix_expression(), cp_parser_template_argument(), cxx_alignof_expr(), cxx_sizeof_expr(), cxx_sizeof_or_alignof_expr(), decay_conversion(), determine_specialization(), do_friend(), do_identifier(), do_local_using_decl(), do_nonmember_using_decl(), do_scoped_id(), dump_decl(), expr_sizeof(), finish_call_expr(), finish_id_expression(), get_first_fn(), grokdeclarator(), handle_using_decl(), lookup_arg_dependent(), lookup_member(), lookup_template_function(), perform_koenig_lookup(), push_class_level_binding(), push_overloaded_decl(), pushdecl(), pushdecl_maybe_friend(), really_overloaded_fn(), resolve_address_of_overloaded_function(), set_decl_namespace(), setup_class_bindings(), shared_member_p(), tsubst_copy(), tsubst_copy_and_build(), and validate_nonmember_using_decl().
Definition at line 5172 of file call.c.
References DERIVED_FROM_P, IS_AGGR_TYPE_CODE, same_type_ignoring_top_level_qualifiers_p, and TREE_CODE.
Referenced by compare_ics(), push_class_binding(), set_inherited_value_binding_p(), and standard_conversion().
Definition at line 915 of file pt.c.
References CLASSTYPE_TI_TEMPLATE, CLASSTYPE_USE_TEMPLATE, DECL_TEMPLATE_INFO, DECL_TI_TEMPLATE, gcc_assert, my_friendly_assert, NULL_TREE, same_type_ignoring_top_level_qualifiers_p, TREE_CODE, and TREE_TYPE.
Referenced by is_friend(), and is_specialization_of_friend().
Definition at line 943 of file pt.c.
References add_to_template_args(), args, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TI_TEMPLATE, comp_template_parms(), compparms(), DECL_CLASS_SCOPE_P, DECL_CONTEXT, DECL_NAME, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_PARMS, DECL_TI_TEMPLATE, DECL_USE_TEMPLATE, error_mark_node, gcc_assert, is_specialization_of(), NULL_TREE, PRIMARY_TEMPLATE_P, same_type_p, template_class_depth(), tf_none, TREE_CHAIN, TREE_CODE, TREE_TYPE, tsubst_function_type(), tsubst_template_parms(), TYPE_ARG_TYPES, TYPE_CONTEXT, TYPE_NAME, and TYPE_TI_ARGS.
| void lang_check_failed | ( | const char * | , | |
| int | , | |||
| const char * | ||||
| ) |
| const char* lang_decl_name | ( | tree | , | |
| int | ||||
| ) |
Definition at line 2188 of file error.c.
References CP_DECL_CONTEXT, cxx_pp, decl_as_string(), DECL_CLASS_SCOPE_P, DECL_NAME, dump_decl(), dump_function_name(), dump_type(), output_finalize_message(), pp_cxx_colon_colon(), pp_formatted_text, print_scope_operator, reinit_cxx_pp(), reinit_global_formatting_buffer, TFF_DECL_SPECIFIERS, TFF_PLAIN_IDENTIFIER, and TREE_CODE.
Referenced by cxx_printable_name().
| const char* language_to_string | ( | enum | languages | ) |
Definition at line 2016 of file error.c.
References gcc_unreachable, lang_c, lang_cplusplus, lang_java, and NULL.
| tree lazily_declare_fn | ( | special_function_kind | , | |
| tree | ||||
| ) |
Definition at line 1099 of file method.c.
References abi_version_at_least, add_method(), chainon(), check_for_override(), CLASSTYPE_LAZY_ASSIGNMENT_OP, CLASSTYPE_LAZY_COPY_CTOR, CLASSTYPE_LAZY_DEFAULT_CTOR, CLASSTYPE_LAZY_DESTRUCTOR, clone_function_decl(), DECL_VIRTUAL_P, implicitly_declare_fn(), maybe_add_class_template_decl_list(), NULL_TREE, sfk_assignment_operator, sfk_constructor, sfk_copy_constructor, sfk_destructor, TREE_CHAIN, TYPE_HAS_CONST_ASSIGN_REF, TYPE_HAS_CONST_INIT_REF, TYPE_METHODS, warn_abi, and warning.
| int local_variable_p | ( | tree | ) |
Definition at line 12764 of file decl.c.
References CP_DECL_CONTEXT, DECL_NAMESPACE_SCOPE_P, TREE_CODE, and TYPE_P.
Referenced by cp_parser_primary_expression(), local_variable_p_walkfn(), nonstatic_local_decl_p(), and tsubst_copy().
Definition at line 2095 of file search.c.
References BINFO_BASE_ITERATE, BINFO_BASETYPES, BINFO_TYPE, look_for_overrides_r(), TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_BINFO, and TYPE_POLYMORPHIC_P.
Referenced by check_for_override(), and look_for_overrides_r().
Definition at line 2118 of file search.c.
References CLASSTYPE_DESTRUCTOR_SLOT, CLASSTYPE_METHOD_VEC, compparms(), DECL_CONTEXT, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_STATIC_FUNCTION_P, DECL_VIRTUAL_P, lookup_fnfields_1(), NULL_TREE, OVL_CURRENT, OVL_NEXT, same_signature_p(), TREE_CHAIN, TREE_TYPE, TREE_VEC_ELT, TYPE_ARG_TYPES, and VEC_index.
Referenced by build_vtbl_initializer(), dfs_find_final_overrider(), dfs_find_final_overrider_1(), GTY(), look_for_overrides_r(), and update_vtable_entry_for_fn().
Definition at line 1554 of file typeck.c.
References ANON_AGGR_TYPE_P, DECL_ARTIFICIAL, DECL_NAME, lookup_anon_field(), NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_STATIC, TREE_TYPE, TYPE_FIELDS, and TYPE_MAIN_VARIANT.
| tree lookup_base | ( | tree | , | |
| tree | , | |||
| base_access | , | |||
| base_kind * | ||||
| ) |
Definition at line 290 of file search.c.
References accessible_base_p(), lookup_base_data_s::ambiguous, ba_any, ba_check_bit, ba_ignore, ba_ignore_scope, ba_quiet, lookup_base_data_s::base, lookup_base_data_s::binfo, BINFO_TYPE, bk_ambig, bk_inaccessible, bk_not_base, bk_proper_base, bk_same_type, bk_via_virtual, CLASSTYPE_REPEATED_BASE_P, complete_type(), COMPLETE_TYPE_P, dfs_lookup_base(), dfs_walk_once(), error(), error_mark_node, gcc_assert, lookup_base_r(), my_friendly_assert, NULL, NULL_TREE, lookup_base_data_s::repeated_base, lookup_base_data_s::t, TYPE_BINFO, TYPE_MAIN_VARIANT, TYPE_P, lookup_base_data_s::via_virtual, and lookup_base_data_s::want_any.
Referenced by adjust_result_of_qualified_name_lookup(), binfo_or_else(), build_class_member_access_expr(), build_dynamic_cast_1(), build_m_component_ref(), build_over_call(), build_scoped_ref(), build_static_cast(), build_static_cast_1(), build_unary_op(), build_up_reference(), build_vtbl_ref_1(), check_final_overrider(), convert_to_base(), convert_to_pointer_force(), covariant_return_p(), cp_convert_to_pointer(), do_class_using_decl(), expand_member_init(), finish_class_member_access_expr(), get_delta_difference(), get_member_function_from_ptrfunc(), handle_using_decl(), is_base_of_enclosing_class(), maybe_dummy_object(), resolve_offset_ref(), and warn_about_ambiguous_bases().
Definition at line 2891 of file search.c.
References add_conversions(), bfs_walk(), complete_type(), conversions, DECL_NAME, IDENTIFIER_MARKED, lookup_conversions_r(), next, NULL_TREE, OVL_CURRENT, TREE_CHAIN, TREE_VALUE, and TYPE_BINFO.
Referenced by add_builtin_candidates(), build_expr_type_conversion(), build_object_call(), build_user_type_conversion_1(), and convert_class_to_reference().
Definition at line 1564 of file search.c.
References BASELINK_P, error_operand_p, lookup_member(), NULL_TREE, and lookup_field_info::rval.
Definition at line 451 of file search.c.
References ANON_AGGR_TYPE_P, DECL_CLASS_TEMPLATE_P, DECL_DEPENDENT_P, DECL_LANG_SPECIFIC, DECL_NAME, DECL_P, DECL_SORTED_FIELDS, gcc_assert, i, lo, lookup_field_1(), my_friendly_assert, NULL_TREE, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_FIELDS, TYPE_NAME, TYPE_POLYMORPHIC_P, TYPE_VFIELD, and vptr_identifier.
Definition at line 1581 of file search.c.
References BASELINK_P, error_operand_p, lookup_member(), NULL_TREE, and lookup_field_info::rval.
Referenced by build_dtor_call(), build_member_call(), build_method_call(), build_new_1(), build_new_op(), build_object_call(), build_op_delete_call(), build_special_member_call(), build_throw(), build_user_type_conversion_1(), tsubst_baselink(), and type_requires_array_cookie().
Definition at line 1718 of file search.c.
References ansi_assopname, base_ctor_identifier, base_dtor_identifier, CLASS_TYPE_P, CLASSTYPE_CONSTRUCTOR_SLOT, CLASSTYPE_CONSTRUCTORS, CLASSTYPE_DESTRUCTOR_SLOT, CLASSTYPE_DESTRUCTORS, CLASSTYPE_FIRST_CONVERSION_SLOT, CLASSTYPE_LAZY_ASSIGNMENT_OP, CLASSTYPE_LAZY_COPY_CTOR, CLASSTYPE_LAZY_DEFAULT_CTOR, CLASSTYPE_LAZY_DESTRUCTOR, CLASSTYPE_METHOD_VEC, complete_ctor_identifier, complete_dtor_identifier, COMPLETE_TYPE_P, ctor_identifier, DECL_CONV_FN_P, DECL_NAME, deleting_dtor_identifier, dtor_identifier, i, IDENTIFIER_TYPENAME_P, lazily_declare_fn(), len, lo, lookup_conversion_operator(), OVL_CURRENT, sfk_assignment_operator, sfk_constructor, sfk_copy_constructor, sfk_destructor, tmp, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, VEC, VEC_index, VEC_iterate, and VEC_length.
Referenced by check_classfn(), check_explicit_specialization(), class_method_index_for_fn(), get_basefndecls(), locate_copy(), look_for_overrides_here(), and lookup_field_r().
Definition at line 1457 of file search.c.
References abort, lookup_field_info::ambiguous, bfs_walk(), BINFO_INHERITANCE_CHAIN, BINFO_TYPE, build_baselink(), complete_type(), current_class_type, DECL_CLASS_TEMPLATE_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, dfs_walk_all(), enforce_access(), error(), error_mark_node, lookup_field_info::errstr, gcc_assert, IDENTIFIER_CLASS_VALUE, IDENTIFIER_TYPENAME_P, IS_AGGR_TYPE_CODE, is_overloaded_fn(), lookup_field_queue_p(), lookup_field_r(), memset, my_friendly_assert, lookup_field_info::name, NULL, NULL_TREE, perform_or_defer_access_check(), print_candidates(), PTR, really_overloaded_fn(), lookup_field_info::rval, lookup_field_info::rval_binfo, TREE_CODE, TREE_TYPE, lookup_field_info::type, TYPE_BEING_DEFINED, TYPE_BINFO, TYPE_STUB_DECL, and lookup_field_info::want_type.
Referenced by build_call_from_tree(), build_expr_from_tree(), build_method_call(), build_offset_ref(), build_ptrmemfunc_access_expr(), cp_parser_lookup_name(), do_class_using_decl(), finish_class_member_access_expr(), get_class_binding(), handle_using_decl(), lookup_destructor(), lookup_field(), lookup_fnfields(), lookup_name_real(), lookup_qualified_name(), make_friend_class(), maybe_note_name_used_in_class(), pushdecl(), pushdecl_maybe_friend(), resolve_scoped_fn_name(), resolve_typename_type(), and setup_class_bindings().
Definition at line 4081 of file pt.c.
References a, add_outermost_template_args(), add_pending_template(), add_to_template_args(), bind_template_template_parm(), check_instantiated_args(), CLASSTYPE_DECLARED_CLASS, CLASSTYPE_GOT_SEMICOLON, CLASSTYPE_INTERFACE_KNOWN, CLASSTYPE_INTERFACE_ONLY, classtype_mangled_name(), CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_SPECIALIZATION, CLASSTYPE_TI_TEMPLATE, CLASSTYPE_VISIBILITY, CLASSTYPE_VISIBILITY_SPECIFIED, coerce_template_parms(), comp_template_args(), CP_DECL_CONTEXT, cp_error_at(), create_implicit_typedef(), current_class_type, current_function_decl, current_template_args(), current_template_parms, DECL_CONTEXT, DECL_IGNORED_P, DECL_IN_SYSTEM_HEADER, DECL_INNERMOST_TEMPLATE_PARMS, DECL_NAME, DECL_SOURCE_LOCATION, DECL_TEMPLATE_INSTANTIATIONS, DECL_TEMPLATE_PARM_P, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, DECL_TEMPLATE_TEMPLATE_PARM_P, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, determine_visibility(), error(), error_mark_node, flag_external_templates, FROB_CONTEXT, gcc_assert, global_namespace, i, IDENTIFIER_VALUE, innermost_non_namespace_value(), INNERMOST_TEMPLATE_ARGS, INNERMOST_TEMPLATE_PARMS, IS_AGGR_TYPE, lookup_name(), make_aggr_type(), make_node, make_tree_vec, maybe_get_template_decl_from_type_decl(), most_general_template(), my_friendly_assert, NULL_TREE, pop_decl_namespace(), POP_TIMEVAR_AND_RETURN, PRIMARY_TEMPLATE_P, push_decl_namespace(), pushtag(), retrieve_specialization(), same_type_p, SET_CLASSTYPE_IMPLICIT_INSTANTIATION, set_current_access_from_decl(), SET_TMPL_ARGS_LEVEL, SET_TYPE_TEMPLATE_INFO, start_enum(), tf_error, tf_user, timevar_pop, timevar_push, TMPL_ARGS_DEPTH, TMPL_PARMS_DEPTH, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PRIVATE, TREE_PROTECTED, TREE_PUBLIC, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TREE_VEC_LENGTH, ts_current, ts_global, tsubst(), tsubst_enum(), TYPE_CONTEXT, TYPE_FOR_JAVA, TYPE_IDENTIFIER, TYPE_NAME, TYPE_P, TYPE_STUB_DECL, TYPE_TI_ARGS, TYPE_TI_TEMPLATE, uses_template_parms(), and xref_tag_from_type().
Referenced by finish_template_type(), lookup_namespace_name(), make_typename_type(), resolve_typename_type(), tsubst(), and tsubst_aggr_type().
Definition at line 4003 of file pt.c.
References BASELINK_FUNCTIONS, BASELINK_P, build(), build2, error(), error_mark_node, gcc_assert, is_overloaded_fn(), my_friendly_assert, NULL_TREE, TREE_CODE, TREE_TYPE, and unknown_type_node.
Referenced by build_expr_from_tree(), check_explicit_specialization(), cp_parser_template_id(), finish_class_member_access_expr(), lookup_namespace_name(), tsubst_copy(), tsubst_copy_and_build(), tsubst_friend_function(), and tsubst_qualified_id().
| int lvalue_or_else | ( | tree | , | |
| enum | lvalue_use | |||
| ) |
Definition at line 5898 of file c-common.c.
References error(), gcc_unreachable, lv_addressof, lv_asm, lv_assign, lv_decrement, lv_increment, lvalue_error(), and lvalue_p().
| int lvalue_p | ( | tree | ) |
Definition at line 3171 of file c-typeck.c.
References clk_none, lvalue_p(), lvalue_p_1(), TREE_CODE, TREE_OPERAND, and TREE_TYPE.
Referenced by build_array_ref(), build_conditional_expr(), build_modify_expr(), build_new_1(), build_unary_op(), build_up_reference(), c_expand_expr_stmt(), c_process_expr_stmt(), convert_for_assignment(), convert_like_real(), convert_to_reference(), decay_conversion(), default_function_array_conversion(), finish_expr_stmt(), lvalue_or_else(), lvalue_p(), reference_binding(), and standard_conversion().
Definition at line 1845 of file tree.c.
References TREE_CODE, TREE_TYPE, and unknown_type_node.
Referenced by add_builtin_candidates(), add_conv_candidate(), add_function_candidate(), build_unary_op(), convert_to_reference(), and error_type().
| tree make_aggr_type | ( | enum | tree_code | ) |
Definition at line 1561 of file lex.c.
References cxx_make_type(), IS_AGGR_TYPE_CODE, and SET_IS_AGGR_TYPE.
Referenced by begin_class_definition(), bind_template_template_parm(), build_ptrmemfunc_type(), create_pseudo_type_info(), create_tinfo_types(), cxx_init_decl_processing(), finish_typeof(), GTY(), lookup_template_class(), make_unbound_class_template(), process_template_parm(), VPARAMS(), and xref_tag().
Referenced by build_java_method_aliases(), and make_alias_for_thunk().
Definition at line 3161 of file decl.c.
References ANON_AGGRNAME_FORMAT, anon_cnt, buf, get_identifier(), and sprintf().
Referenced by begin_class_definition(), cp_parser_class_head(), cp_parser_enum_specifier(), finish_compound_literal(), grokdeclarator(), layout_class_type(), and start_enum().
Definition at line 197 of file friend.c.
References class_type, CLASS_TYPE_P, CLASSTYPE_BEFRIENDING_CLASSES, CLASSTYPE_FRIEND_CLASSES, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_SPECIALIZATION, CLASSTYPE_TI_TEMPLATE, cp_error_at(), current_template_parms, DECL_CLASS_TEMPLATE_P, error(), error_mark_node, IS_AGGR_TYPE, lookup_member(), make_typename_type(), make_unbound_class_template(), maybe_add_class_template_decl_list(), NULL_TREE, pedwarn(), processing_template_decl, same_type_p, template_class_depth(), tf_error, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_CONTEXT, TYPE_IDENTIFIER, TYPENAME_TYPE_FULLNAME, uses_template_parms(), uses_template_parms_level(), and warning.
Definition at line 2154 of file tree.c.
References make_node, PTRMEM_CST_MEMBER, TREE_CONSTANT, and TREE_TYPE.
Referenced by build_ptrmemfunc(), build_unary_op(), convert_nontype_argument(), and unary_complex_lvalue().
Definition at line 6045 of file call.c.
References build_decl, create_temporary_var(), current_function_decl, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_IGNORED_P, DECL_NAME, mangle_ref_init_variable(), maybe_push_cleanup_level(), NULL_TREE, pushdecl_top_level(), SET_DECL_ASSEMBLER_NAME, TREE_STATIC, and TREE_USED.
Referenced by build_up_reference(), and initialize_reference().
Definition at line 90 of file method.c.
References build_decl, comdat_linkage(), convert(), cxx_dup_lang_specific_decl(), d, DECL_ARTIFICIAL, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_DEFERRED_FN, DECL_DESTRUCTOR_P, DECL_EXTERNAL, DECL_INLINE, DECL_INTERFACE_KNOWN, DECL_LANG_SPECIFIC, DECL_NO_STATIC_CHAIN, DECL_NOT_REALLY_EXTERN, DECL_PENDING_INLINE_P, DECL_RESULT_THUNK_P, DECL_SAVED_FUNCTION_DATA, DECL_TEMPLATE_INFO, DECL_THIS_THUNK_P, DECL_THUNKS, DECL_USE_TEMPLATE, flag_weak, gcc_assert, HOST_WIDE_INT, NULL, NULL_TREE, SET_DECL_THUNK_P, size_binop(), ssizetype, THUNK_ALIAS, THUNK_FIXED_OFFSET, THUNK_TARGET, THUNK_VIRTUAL_OFFSET, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_int_cst_equal(), tree_low_cst(), TREE_PUBLIC, TREE_READONLY, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_BEING_DEFINED, TYPE_SIZE, TYPE_SIZE_UNIT, and vtable_entry_type.
| tree make_typename_type | ( | tree | , | |
| tree | , | |||
| enum | tag_types, | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 2533 of file decl.c.
References build_nt(), CLASSTYPE_IS_TEMPLATE, CLASSTYPE_TI_ARGS, CLASSTYPE_TI_TEMPLATE, CLASSTYPE_USE_TEMPLATE, currently_open_class(), DECL_ARTIFICIAL, DECL_CLASS_TEMPLATE_P, DECL_NAME, dependent_type_p(), error(), error_mark_node, gcc_assert, IS_AGGR_TYPE, lookup_field(), lookup_template_class(), NULL_TREE, perform_or_defer_access_check(), tf_error, tf_keep_type_decl, tf_user, tf_warning, tf_warning_or_error, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_BINFO, TYPE_IDENTIFIER, TYPE_LANG_SPECIFIC, and TYPE_P.
| tree make_unbound_class_template | ( | tree | , | |
| tree | , | |||
| tree | , | |||
| tsubst_flags_t | ||||
| ) |
Definition at line 2653 of file decl.c.
References build_decl, comp_template_parms(), cp_error_at(), currently_open_class(), d, DECL_ARTIFICIAL, DECL_CLASS_TEMPLATE_P, DECL_CONTEXT, DECL_NAME, DECL_P, DECL_TEMPLATE_PARMS, dependent_type_p(), error(), error_mark_node, FROB_CONTEXT, gcc_assert, IS_AGGR_TYPE, lookup_field(), make_aggr_type(), NULL_TREE, perform_or_defer_access_check(), tf_error, TREE_CODE, TREE_TYPE, TYPE_BINFO, TYPE_CONTEXT, TYPE_IDENTIFIER, TYPE_NAME, TYPE_P, and TYPE_STUB_DECL.
Definition at line 2654 of file mangle.c.
References build_tree_list, compare_type(), error_mark_node, get_identifier(), htab_create_ggc, htab_elements, htab_find_slot_with_hash(), htab_hash_pointer, IDENTIFIER_OPNAME_P, IDENTIFIER_TYPENAME_P, INSERT, NULL, sprintf(), TREE_TYPE, TREE_VALUE, and TYPE_UID.
Referenced by cp_parser_conversion_function_id(), grokoptypename(), tsubst_copy(), tsubst_copy_and_build(), and tsubst_decl().
Definition at line 2556 of file mangle.c.
References BINFO_OFFSET, BINFO_TYPE, DEBUG_MANGLE, finish_mangling(), fprintf(), get_identifier(), get_identifier_nocopy(), result, start_mangling(), write_char, write_integer_cst(), write_string, and write_type().
Referenced by build_ctor_vtbl_group().
Definition at line 2441 of file mangle.c.
References get_identifier(), get_identifier_nocopy(), mangle_decl_string(), and SET_DECL_ASSEMBLER_NAME.
Referenced by build_java_class_ref(), finish_anon_union(), grokvardecl(), note_decl_for_pch(), and set_mangled_name_for_decl().
Definition at line 2688 of file mangle.c.
References DECL_NAME, finish_mangling(), get_identifier(), get_identifier_nocopy(), IDENTIFIER_POINTER, start_mangling(), strncmp(), write_name(), and write_string.
Referenced by get_guard().
Definition at line 2707 of file mangle.c.
References finish_mangling(), get_identifier(), get_identifier_nocopy(), start_mangling(), write_name(), and write_string.
Referenced by make_temporary_var_for_ref_to_temp().
Definition at line 2735 of file mangle.c.
References BINFO_VPTR_FIELD, DEBUG_MANGLE, DECL_THUNK_P, finish_mangling(), fprintf(), get_identifier_nocopy(), integer_zero_node, mangle_call_offset(), NULL_TREE, result, ssize_int, start_mangling(), THUNK_FIXED_OFFSET, THUNK_TARGET, THUNK_VIRTUAL_OFFSET, write_char, write_encoding(), and write_string.
| const char* mangle_type_string | ( | tree | ) |
Definition at line 2452 of file mangle.c.
References DEBUG_MANGLE, finish_mangling(), fprintf(), result, start_mangling(), and write_type().
Referenced by mangle_type(), and tinfo_name().
Definition at line 2507 of file mangle.c.
References mangle_special_for_type().
Referenced by get_tinfo_decl().
Definition at line 2517 of file mangle.c.
References mangle_special_for_type().
Referenced by tinfo_base_init().
Definition at line 2526 of file mangle.c.
References mangle_special_for_type().
Referenced by get_vtable_name().
Definition at line 2535 of file mangle.c.
References mangle_special_for_type().
Referenced by build_vtt(), and get_vtt_name().
Definition at line 9453 of file pt.c.
References comdat_linkage(), DECL_ARTIFICIAL, DECL_COMDAT, DECL_INTERFACE_KNOWN, DECL_NOT_REALLY_EXTERN, defer_fn(), flag_weak, mark_definable(), maybe_make_one_only(), SET_DECL_EXPLICIT_INSTANTIATION, TREE_ASM_WRITTEN, TREE_CODE, and TREE_PUBLIC.
Referenced by do_decl_instantiation(), do_type_instantiation(), instantiate_class_member(), and repo_template_used().
Definition at line 1495 of file decl2.c.
References DECL_ASSEMBLER_NAME, mark_decl_referenced(), and TREE_SYMBOL_REFERENCED.
Definition at line 4860 of file decl2.c.
References assemble_external(), BASELINK_FUNCTIONS, cfun, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TI_ARGS, cp_function_chain, current_function_decl, DECL_ARTIFICIAL, DECL_CLASS_SCOPE_P, DECL_CLONED_FUNCTION, DECL_CLONED_FUNCTION_P, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_DEFERRED_FN, DECL_EXPLICIT_INSTANTIATION, DECL_INITIAL, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_INLINE, DECL_LANG_SPECIFIC, DECL_NON_THUNK_FUNCTION_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_SOURCE_LOCATION, DECL_TEMPLATE_INFO, DECL_TEMPLATE_RESULT, DECL_THUNK_P, defer_fn(), dependent_type_p(), flag_exceptions, HOST_WIDE_INT, input_location, instantiate_decl(), note_vague_linkage_fn(), OVL_CURRENT, processing_template_decl, really_overloaded_fn(), skip_evaluation, synthesize_method(), template_for_substitution(), TREE_ASM_WRITTEN, TREE_CODE, TREE_NOTHROW, TREE_USED, and uses_template_parms().
Definition at line 2796 of file class.c.
References CLASSTYPE_DECL_LIST, CLASSTYPE_TEMPLATE_INFO, NULL_TREE, and tree_cons.
Referenced by add_friend(), add_implicitly_declared_members(), finish_member_declaration(), lazily_declare_fn(), make_friend_class(), maybe_process_template_type_declaration(), and pushtag().
Definition at line 449 of file pt.c.
References DECL_TEMPLATE_PARMS, DECL_TEMPLATE_SPECIALIZATION, inline_needs_template_parms(), most_general_template(), processing_template_decl, push_inline_template_parms_recursive(), TMPL_PARMS_DEPTH, TREE_CHAIN, VARRAY_GROW, VARRAY_INT, VARRAY_INT_INIT, and VEC_safe_push.
Referenced by cp_parser_class_specifier(), cp_parser_late_parsing_for_member(), do_pending_defargs(), start_function(), and start_preparsed_function().
Definition at line 140 of file optimize.c.
References BLOCK_ABSTRACT_ORIGIN, gcc_target::cxx::cdtor_returns_this, clone_body(), cp_function_chain, gcc_target::cxx, debug_hooks, DECL_ABSTRACT_ORIGIN, DECL_ARGUMENTS, DECL_ARTIFICIAL, DECL_CLONED_FUNCTION_P, DECL_COMDAT, DECL_DECLARED_INLINE_P, DECL_EXTERNAL, DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, DECL_INITIAL, DECL_INLINE, DECL_INTERFACE_KNOWN, decl_map, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_NOT_REALLY_EXTERN, DECL_NUM_STMTS, DECL_ONE_ONLY, DECL_RESULT, DECL_SECTION_NAME, DECL_SOURCE_LOCATION, DECL_USE_TEMPLATE, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, DECL_WEAK, gcc_debug_hooks::deferred_inline_function, DID_INLINE_FUNC, expand_body(), expand_or_defer_fn(), finish_function(), first, FOR_EACH_CLONE, in_charge_arg_for_name(), NULL, null_pointer_node, NULL_TREE, pop_from_top_level(), push_to_top_level(), SF_PRE_PARSED, splay_tree_compare_pointers(), splay_tree_delete(), splay_tree_insert(), splay_tree_new(), start_function(), start_preparsed_function(), targetm, TREE_CHAIN, TREE_NOTHROW, TREE_PUBLIC, TREE_USED, update_cloned_parm(), and vtt_parm_identifier.
Referenced by expand_body(), and expand_or_defer_fn().
Definition at line 1911 of file tree.c.
References ba_ignore, ba_quiet, ba_unique, build_dummy_object(), current_class_ref, current_class_type, lookup_base(), NULL, same_type_p, TREE_TYPE, TYPE_BINFO, and TYPE_MAIN_VARIANT.
Referenced by build_member_call(), build_offset_ref(), convert_member_func_to_ptr(), cp_convert_to_pointer(), finish_call_expr(), finish_id_expression(), finish_qualified_id_expr(), and hack_identifier().
Definition at line 482 of file pt.c.
References current_template_parms, i, last, poplevel(), processing_template_decl, TREE_CHAIN, VARRAY_INT, VEC_length, and VEC_pop.
Referenced by cp_parser_class_specifier(), cp_parser_late_parsing_for_member(), do_pending_defargs(), and finish_function().
Definition at line 4250 of file pt.c.
References CLASS_TYPE_P, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TI_TEMPLATE, DECL_ARTIFICIAL, NULL_TREE, TREE_CODE, and TREE_TYPE.
Definition at line 1664 of file decl2.c.
References DECL_ASSEMBLER_NAME, DECL_COMDAT, DECL_EXPLICIT_INSTANTIATION, DECL_TEMPLATE_SPECIALIZATION, flag_weak, make_decl_one_only(), mark_decl_referenced(), TARGET_WEAK_NOT_IN_ARCHIVE_TOC, TREE_CODE, and TREE_SYMBOL_REFERENCED.
Referenced by import_export_decl(), mark_decl_instantiated(), start_function(), and start_preparsed_function().
Definition at line 6712 of file class.c.
References current_class_depth, current_class_type, IDENTIFIER_CLASS_VALUE, innermost_scope_is_class_p(), innermost_scope_kind(), lookup_member(), class_stack_node::names_used, sk_class, splay_tree_compare_pointers(), splay_tree_insert(), splay_tree_new(), and TYPE_BEING_DEFINED.
Referenced by cp_parser_simple_type_specifier(), cp_parser_type_name(), do_identifier(), and finish_id_expression().
Definition at line 776 of file pt.c.
References check_specialization_namespace(), CLASS_TYPE_P, CLASSTYPE_IMPLICIT_INSTANTIATION, CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TEMPLATE_INSTANTIATION, CLASSTYPE_TI_ARGS, CLASSTYPE_TI_TEMPLATE, CLASSTYPE_USE_TEMPLATE, COMPLETE_TYPE_P, cp_pedwarn_at(), current_namespace, decl_namespace_context(), DECL_TEMPLATE_INSTANTIATIONS, error(), error_mark_node, INNERMOST_TEMPLATE_ARGS, most_general_template(), NULL_TREE, pedwarn(), processing_specialization, processing_template_decl, push_template_decl(), SET_CLASSTYPE_TEMPLATE_SPECIALIZATION, TREE_CHAIN, TREE_CODE, TREE_VALUE, TYPE_CONTEXT, TYPE_MAIN_DECL, TYPE_NAME, and TYPE_P.
Referenced by begin_class_definition(), cp_parser_class_head(), finish_member_class_template(), and shadow_tag().
Definition at line 1121 of file decl.c.
References add_scope_stmt(), begin_scope(), clear_last_expr(), current_binding_level, error_mark_node, keep_next_level(), NULL, push_stmt_list(), pushlevel(), sk_cleanup, and TYPE_HAS_NONTRIVIAL_DESTRUCTOR.
Referenced by make_temporary_var_for_ref_to_temp(), and start_decl_1().
Definition at line 4744 of file decl.c.
References DECL_CONTEXT, DECL_TEMPLATE_SPECIALIZATION, error_mark_node, namespace_bindings_p(), NULL_TREE, pushdecl(), TREE_CODE, TREE_TYPE, and UNKNOWN_TYPE.
Referenced by start_decl(), and tsubst_expr().
Definition at line 15334 of file decl.c.
References CLASS_TYPE_P, COMPLETE_TYPE_P, DECL_EXTERNAL, error_mark_node, gcc_assert, my_friendly_assert, processing_template_decl, TREE_CODE, tree_cons, TREE_TYPE, TYPE_BEING_DEFINED, TYPE_LANG_SPECIFIC, and TYPE_MAIN_VARIANT.
Referenced by layout_class_type(), pushdecl(), and pushdecl_maybe_friend().
Definition at line 286 of file decl2.c.
References arg_types, build_artificial_parm(), build_cplus_method_type(), build_exception_variant(), build_method_type_directly(), CLASSTYPE_VBASECLASSES, DECL_ARGUMENTS, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, hash_tree_chain(), in_charge_identifier, integer_type_node, processing_template_decl, TREE_CHAIN, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_RAISES_EXCEPTIONS, TYPE_USES_VIRTUAL_BASECLASSES, uses_template_parms(), vtt_parm_identifier, and vtt_parm_type.
Referenced by grokclassfn(), and tsubst_decl().
Definition at line 2485 of file search.c.
References CLASSTYPE_INTERFACE_KNOWN, CLASSTYPE_INTERFACE_ONLY, DWARF_DEBUG, NO_DEBUG, TYPE_CONTAINS_VPTR_P, TYPE_DECL_SUPPRESS_DEBUG, TYPE_MAIN_DECL, and write_symbols.
Referenced by finish_struct_1().
| int member_p | ( | tree | ) |
Definition at line 1888 of file tree.c.
References DECL_CONTEXT, and TYPE_P.
Referenced by one_static_initialization_or_destruction(), and start_static_initialization_or_destruction().
Definition at line 1329 of file typeck2.c.
References build_tree_list, NULL_TREE, same_type_p, TREE_CHAIN, and TREE_VALUE.
Referenced by synthesize_exception_spec().
Definition at line 569 of file typeck.c.
References attribute_list_equal(), attributes, base, build_cplus_array_type(), build_cplus_method_type(), build_exception_variant(), build_function_type(), build_method_type_directly(), build_offset_type(), build_pointer_type(), build_ptrmem_type(), build_ptrmemfunc_type(), build_reference_type(), build_type_attribute_variant(), commonparms(), cp_build_qualified_type, cp_build_type_attribute_variant(), cp_type_quals(), error_mark_node, gcc_target::merge_type_attributes, merge_types(), NULL_TREE, original_type(), p1, p2, t3, target, targetm, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_ATTRIBUTES, TYPE_DOMAIN, TYPE_OFFSET_BASETYPE, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_POINTED_TO_TYPE, TYPE_PTRMEMFUNC_FN_TYPE, TYPE_PTRMEMFUNC_P, TYPE_RAISES_EXCEPTIONS, and void_type_node.
Referenced by commonparms(), duplicate_decls(), merge_type_state(), merge_types(), and verify_jvm_instructions().
Definition at line 10433 of file pt.c.
References build_pointer_type(), cp_type_quals(), DECL_CONV_FN_P, DECL_FUNCTION_MEMBER_P, DECL_INNERMOST_TEMPLATE_PARMS, DECL_NONSTATIC_MEMBER_FUNCTION_P, DECL_NTPARMS, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_RESULT, make_tree_vec, NULL_TREE, processing_template_decl, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_MAIN_VARIANT, unify(), and UNIFY_ALLOW_NONE.
Definition at line 9760 of file pt.c.
References CLASS_TYPE_P, CLASSTYPE_TEMPLATE_SPECIALIZATION, DECL_CONTEXT, DECL_NAMESPACE_SCOPE_P, DECL_TEMPLATE_INFO, DECL_TI_TEMPLATE, NULL_TREE, TREE_CODE, and TREE_TYPE.
Referenced by check_explicit_specialization(), classtype_mangled_name(), dump_function_decl(), get_mostly_instantiated_function_type(), inline_needs_template_parms(), instantiate_class_template(), instantiate_decl(), instantiate_template(), lookup_template_class(), maybe_begin_member_template_processing(), maybe_process_partial_specialization(), most_specialized_class(), pp_cxx_template_declaration(), push_template_decl_real(), regenerate_decl_from_template(), try_class_unification(), tsubst_decl(), tsubst_friend_function(), WFE_Expand_Decl(), and WFE_Process_Template_Decl().
Definition at line 9681 of file pt.c.
References DECL_TEMPLATE_RESULT, DEDUCE_EXACT, error_mark_node, get_bindings(), get_bindings_real(), more_specialized(), NULL_TREE, processing_template_decl, TREE_CHAIN, TREE_PURPOSE, and TREE_VALUE.
Referenced by determine_specialization(), most_specialized(), and resolve_address_of_overloaded_function().
Definition at line 1045 of file tree.c.
References CLASS_TYPE_P, decl_function_context(), no_linkage_check(), NULL_TREE, processing_template_decl, r, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_TYPE, TREE_VALUE, TYPE_ANONYMOUS_P, TYPE_ARG_TYPES, TYPE_MAIN_DECL, TYPE_METHOD_BASETYPE, TYPE_PTRMEM_CLASS_TYPE, TYPE_PTRMEM_POINTED_TO_TYPE, TYPE_PTRMEMFUNC_P, and void_list_node.
| int nonstatic_local_decl_p | ( | tree | ) |
Definition at line 12784 of file decl.c.
References local_variable_p(), TREE_CODE, and TREE_STATIC.
Referenced by clear_decl_rtl(), copy_body_r(), cp_auto_var_in_fn_p(), cp_unsave_r(), and mark_local_for_remap_r().
Definition at line 2559 of file search.c.
References dfs_debug_mark(), dfs_debug_unmarkedp(), dfs_walk(), dfs_walk_all(), NULL, rest_of_type_compilation(), toplevel_bindings_p(), TYPE_BINFO, TYPE_DECL_SUPPRESS_DEBUG, and TYPE_NAME.
Referenced by genrtl_finish_function(), layout_var_decl(), and maybe_emit_vtables().
Definition at line 2235 of file semantics.c.
References comdat_linkage(), DECL_DECLARED_INLINE_P, DECL_IMPLICIT_INSTANTIATION, DECL_INTERFACE_KNOWN, gcc_assert, mangle_decl(), pch_file, processing_template_decl, TREE_CODE, and TREE_PUBLIC.
Definition at line 6741 of file class.c.
References cp_error_at(), current_class_depth, DECL_NAME, error(), n, class_stack_node::names_used, OVL_CURRENT, splay_tree_lookup(), and splay_tree_node_s::value.
Referenced by push_class_binding(), and push_class_level_binding().
Definition at line 736 of file decl2.c.
References DECL_DEFER_OUTPUT, DECL_DEFERRED_FN, VARRAY_PUSH_TREE, VARRAY_TREE_INIT, and VEC_safe_push.
| int nothrow_libfn_p | ( | tree | ) |
Definition at line 874 of file except.c.
References DECL_ASSEMBLER_NAME, DECL_EXTERN_C_P, DECL_EXTERNAL, DECL_NAME, DECL_NAMESPACE_SCOPE_P, IDENTIFIER_LENGTH, IDENTIFIER_POINTER, libc_name_p(), and TREE_PUBLIC.
Referenced by grokfndecl().
Definition at line 647 of file call.c.
References CP_INTEGRAL_TYPE_P, integer_zerop(), integral_constant_value(), null_node, STRIP_NOPS, TREE_CONSTANT_OVERFLOW, and TREE_TYPE.
Referenced by add_builtin_candidate(), build_binary_op(), build_conditional_expr(), build_expr_type_conversion(), build_non_dependent_expr(), check_return_expr(), composite_pointer_type(), and standard_conversion().
Definition at line 618 of file cvt.c.
References abstract_virtuals_error(), ARITHMETIC_TYPE_P, build1, build_cplus_new(), build_nop(), build_special_member_call(), build_tree_list, build_type_conversion(), build_user_type_conversion(), complete_ctor_identifier, complete_type(), COMPLEX_TYPE, CONV_FORCE_TEMP, CONV_STATIC, convert_to_complex(), convert_to_integer(), convert_to_real(), convert_to_vector(), convert_to_void(), cp_convert_to_pointer(), cp_truthvalue_conversion(), ctor(), decl_constant_value(), DECL_WEAK, DERIVED_FROM_P, error(), error_mark_node, error_operand_p, flag_pedantic_errors, fold(), fold_if_not_in_template(), gcc_assert, INTEGRAL_CODE_P, integral_constant_value(), INTEGRAL_OR_ENUMERATION_TYPE_P, gcc_target::invalid_conversion, IS_AGGR_TYPE, IS_AGGR_TYPE_CODE, LOOKUP_COMPLAIN, LOOKUP_ONLYCONVERTING, LOOKUP_SPECULATIVELY, NULL, NULL_TREE, pedwarn(), POINTER_TYPE_P, resolve_offset_ref(), same_type_p, TARGET_EXPR_SLOT, targetm, TREE_ADDRESSABLE, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_BINFO, TYPE_HAS_CONSTRUCTOR, TYPE_MAIN_VARIANT, TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEMFUNC_P, and warning.
Referenced by build_static_cast_1(), convert(), convert_for_initialization(), convert_force(), convert_like_real(), convert_nontype_argument(), cp_convert(), expand_default_init(), force_rvalue(), get_tinfo_ptr(), and initialize_handler_parm().
Definition at line 2541 of file search.c.
References BINFO_BASE_BINFO, binfo_for_vbase(), BINFO_INHERITANCE_CHAIN, BINFO_TYPE, BINFO_VIRTUAL_P, CLASSTYPE_VBASECLASSES, NULL, NULL_TREE, original_binfo(), result, and SAME_BINFO_TYPE_P.
Definition at line 1082 of file tree.c.
References make_node, OVL_FUNCTION, result, TREE_CHAIN, TREE_TYPE, and unknown_type_node.
Referenced by build_offset_ref(), build_overload(), build_x_unary_op(), check_explicit_specialization(), do_nonmember_using_decl(), push_overloaded_decl(), and resolve_offset_ref().
| void perform_access_checks | ( | VEC(deferred_access_check, gc)* | ) |
Definition at line 274 of file semantics.c.
References deferred_access_check, enforce_access(), i, and VEC_iterate.
Referenced by cp_parser_perform_template_parameter_access_checks(), perform_deferred_access_checks(), and pop_to_parent_deferring_access_checks().
Definition at line 295 of file semantics.c.
References enforce_access(), get_deferred_access_checks(), perform_access_checks(), TREE_CHAIN, TREE_PURPOSE, and TREE_VALUE.
Definition at line 6365 of file call.c.
References conversion::bad_p, build_cplus_new(), build_special_member_call(), build_tree_list, CLASS_TYPE_P, complete_ctor_identifier, conversion_obstack, conversion_obstack_alloc(), convert_like_real(), error_mark_node, error_operand_p, implicit_conversion(), LOOKUP_NORMAL, NULL_TREE, obstack_free, p, and TREE_TYPE.
Definition at line 5984 of file call.c.
References build_nop(), conversion_obstack, conversion_obstack_alloc(), convert_like, error(), error_mark_node, error_operand_p, implicit_conversion(), LOOKUP_NORMAL, obstack_free, p, processing_template_decl, and TREE_TYPE.
Referenced by build_conditional_expr(), build_unary_op(), condition_conversion(), convert_for_assignment(), convert_like_real(), finish_enum(), and initialize_reference().
Definition at line 1652 of file semantics.c.
References any_type_dependent_arguments_p(), DECL_NAME, DECL_P, get_first_fn(), is_overloaded_fn(), lookup_arg_dependent(), NULL_TREE, TREE_CODE, and unqualified_fn_lookup_error().
Definition at line 312 of file semantics.c.
References deferred_access_check, dk_no_deferred, enforce_access(), gcc_assert, i, ptr, TREE_CODE, VEC_iterate, VEC_last, and VEC_safe_push.
Definition at line 1196 of file cvt.c.
References build1, build_nop(), comp_ptr_ttypes(), error_mark_node, same_type_p, TREE_CODE, TREE_TYPE, TYPE_PTR_P, TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEM_CLASS_TYPE, and TYPE_PTRMEM_POINTED_TO_TYPE.
Referenced by convert_nontype_argument().
| int pod_type_p | ( | tree | ) |
Definition at line 1960 of file tree.c.
References CLASS_TYPE_P, CLASSTYPE_NON_POD_P, error_mark_node, FLOAT_TYPE_P, INTEGRAL_TYPE_P, strip_array_types(), TREE_CODE, TYPE_PTR_P, TYPE_PTR_TO_MEMBER_P, TYPE_PTRMEM_P, and TYPE_PTRMEMFUNC_P.
Referenced by build_x_va_arg(), check_field_decls(), convert_arg_to_ellipsis(), cp_finish_decl(), and decl_jump_unsafe().
Definition at line 5567 of file class.c.
References current_class_depth, and class_stack_node::hidden.
Referenced by pop_from_top_level().
Definition at line 6016 of file class.c.
References current_lang_base, current_lang_name, VARRAY_POP, VARRAY_TOP_TREE, and VEC_pop.
Referenced by cp_finish_file(), cp_parser_declaration_seq_opt(), cp_parser_explicit_specialization(), cp_parser_linkage_specification(), cp_parser_template_declaration_after_export(), cp_parser_translation_unit(), do_pending_lang_change(), finish_file(), get_atexit_node(), and start_cleanup_fn().
Definition at line 5959 of file class.c.
References CLASS_TYPE_P, current_class_type, DECL_CONTEXT, pop_nested_class(), popclass(), and TYPE_MAIN_DECL.
Referenced by cp_finish_decl(), do_pending_defargs(), finish_function(), grokdeclarator(), grokfield(), instantiate_decl(), pop_access_scope(), pop_everything(), pop_nested_class(), pop_scope(), and tsubst_friend_class().
Definition at line 5564 of file decl.c.
References c_do_switch_warnings(), cp_switch::cases, cs, EXPR_HAS_LOCATION, EXPR_LOCATION, free(), input_location, c_switch::next, cp_switch::next, processing_template_decl, splay_tree_delete(), switch_stack, cp_switch::switch_stmt, SWITCH_STMT_COND, and SWITCH_STMT_TYPE.
Referenced by finish_switch_stmt().
Definition at line 232 of file semantics.c.
References deferred_access, deferred_access_check, dk_no_deferred, enforce_access(), i, next, perform_access_checks(), ptr, TREE_CHAIN, TREE_PURPOSE, TREE_VALUE, VEC, VEC_iterate, VEC_last, VEC_pop, and VEC_safe_push.
Definition at line 5876 of file class.c.
References class_stack_node::access, current_access_specifier, current_class_depth, current_class_name, current_class_type, class_stack_node::name, pop_class_decls(), poplevel_class(), splay_tree_delete(), and class_stack_node::type.
Referenced by finish_struct(), finish_struct_1(), instantiate_class_template(), pop_inner_scope(), pop_nested_class(), and pop_scope().
| tree poplevel | ( | int | , | |
| int | , | |||
| int | ||||
| ) |
Definition at line 514 of file c-decl.c.
References abort, add_scope_stmt(), add_stmt(), BINDING_LEVEL, BINDING_VALUE, BLOCK, BLOCK_SUBBLOCKS, BLOCK_SUPERCONTEXT, BLOCK_VARS, binding_level::blocks, c_build_bind_expr(), cfun, chainon(), class_binding_level, clear_limbo_values(), COMPLETE_TYPE_P, cp_class_binding, current_binding_level, current_function_decl, d, DECL_ABSTRACT_ORIGIN, DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_DEAD_FOR_LOCAL, DECL_EXTERNAL, decl_function_context(), DECL_HAS_SHADOWED_FOR_VAR_P, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, decl_jump_unsafe(), DECL_NAME, DECL_P, DECL_SAVED_INSNS, DECL_SHADOWED_FOR_VAR, decls, define_label(), doing_semantic_analysis_p, binding_level::end_pc, error(), error_mark_node, flag_new_for_scope, fprintf(), gcc_assert, getdecls(), htab_traverse(), IDENTIFIER_BINDING, IDENTIFIER_LABEL_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_NAMESPACE_VALUE, IDENTIFIER_POINTER, indent, input_filename, LARGEST_PC, leave_scope(), binding_level::level_chain, lineno, make_node, my_friendly_assert, named_label_uses, named_labels, binding_level::names, nreverse(), NULL_TREE, outer_binding(), OVL_FUNCTION, pop_binding(), pop_binding_level(), pop_function_context(), pop_label(), pop_labels(), pop_local_label(), pop_stmt_list(), POP_TIMEVAR_AND_RETURN, poplevel(), poplevel_named_label_1(), processing_template_decl, push_function_context(), SCOPE_STMT_BLOCK, SET_DECL_SHADOWED_FOR_VAR, SET_IDENTIFIER_TYPE_VALUE, binding_level::shadowed, sk_catch, sk_class, sk_cleanup, sk_for, sk_try, binding_level::this_block, timevar_push, tmp, TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PURPOSE, TREE_USED, TREE_VALUE, TYPE_CONTEXT, TYPE_NAME, VEC_length, warn_about_unused_variables(), warn_unused_label, warn_unused_variable, and warning.
Referenced by bison_rule_compstmt_(), build_tmp_function_decl(), common_type(), compile_resource_file(), continue_method_def(), do_pending_defargs(), do_poplevel(), emit_register_classes(), end_java_method(), finish_cdtor(), finish_function(), finish_method(), finish_scope(), force_poplevels(), hack_method_prototype(), java_lang_expand_expr(), lhd_clear_binding_stack(), maybe_end_member_template_processing(), maybe_poplevels(), pop_everything(), and poplevel().
Definition at line 1093 of file pt.c.
References cp_error_at(), error(), f, NULL_TREE, OVL_CURRENT, OVL_NEXT, str, TREE_CHAIN, and TREE_VALUE.
Referenced by build_method_call(), build_new_1(), cp_parser_class_name(), cp_parser_lookup_name(), cp_parser_nested_name_specifier_opt(), determine_specialization(), finish_id_expression(), hack_identifier(), lookup_member(), qualified_name_lookup_error(), and resolve_address_of_overloaded_function().
Definition at line 6572 of file class.c.
References fprintf().
Referenced by cxx_print_statistics().
Definition at line 2583 of file error.c.
References current_instantiation(), diagnostic_flush_buffer, global_dc, input_filename, input_location, lineno, and print_instantiation_partial_context().
Referenced by push_tinst_level().
Definition at line 2347 of file decl.c.
References fprintf(), global_scope_p, HOST_PTR_PRINTF, and print_binding_level().
Referenced by print_binding_stack().
Definition at line 2800 of file search.c.
References fprintf().
Referenced by cxx_print_statistics().
| int problematic_instantiation_changed | ( | void | ) |
Definition at line 2278 of file pt.c.
References build_decl, build_template_parm_index(), build_tree_list, chainon(), DECL_ARTIFICIAL, DECL_INITIAL, DECL_NAME, DECL_TEMPLATE_RESULT, error_mark_node, gcc_assert, idx, invalid_nontype_parm_type_p(), make_aggr_type(), p, processing_template_decl, pushdecl(), SET_DECL_TEMPLATE_PARM_P, TEMPLATE_PARM_IDX, TEMPLATE_TYPE_IDX, TEMPLATE_TYPE_PARM_INDEX, TREE_CODE, TREE_CONSTANT, TREE_INVARIANT, tree_last(), TREE_PURPOSE, TREE_READONLY, TREE_TYPE, TREE_VALUE, TYPE_MAIN_VARIANT, TYPE_NAME, TYPE_STUB_DECL, and void_type_node.
Definition at line 6543 of file typeck.c.
References COMPARE_BASE, COMPARE_DERIVED, COMPARE_RELAXED, comptypes(), TREE_CODE, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_OFFSET_BASETYPE, TYPE_PRECISION, and vector_types_convertible_p().
Referenced by standard_conversion().
Definition at line 3222 of file init.c.
References base_dtor_identifier, BINFO_BASE_ITERATE, BINFO_BASETYPES, BINFO_TYPE, BINFO_VIRTUAL_P, build(), build2, build3, build_class_member_access_expr(), build_delete(), build_special_member_call(), CLASSTYPE_N_BASECLASSES, CLASSTYPE_VBASECLASSES, cond, condition_conversion(), current_class_ref, current_class_type, current_in_charge_parm, DECL_ARTIFICIAL, error_mark_node, finish_decl_cleanup(), i, integer_two_node, integer_type_node, LOOKUP_DESTRUCTOR, LOOKUP_NONVIRTUAL, LOOKUP_NORMAL, member(), NULL_TREE, sfk_complete_destructor, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VIA_VIRTUAL, TYPE_BINFO, TYPE_FIELDS, TYPE_HAS_NONTRIVIAL_DESTRUCTOR, TYPE_HAS_TRIVIAL_DESTRUCTOR, TYPE_USES_VIRTUAL_BASECLASSES, VEC, VEC_iterate, void_type_node, and void_zero_node.
Referenced by begin_destructor_body().
Definition at line 5558 of file class.c.
References current_class_depth, and class_stack_node::hidden.
Referenced by push_to_top_level().
| void push_deferring_access_checks | ( | deferring_kind | ) |
Definition at line 5980 of file class.c.
References current_lang_base, current_lang_name, DECL_IGNORED_P, error(), IDENTIFIER_POINTER, java_boolean_type_node, java_byte_type_node, java_char_type_node, java_double_type_node, java_float_type_node, java_int_type_node, java_long_type_node, java_short_type_node, lang_name_c, lang_name_cplusplus, lang_name_java, TYPE_NAME, VARRAY_PUSH_TREE, and VEC_safe_push.
Referenced by cp_finish_file(), cp_parser_declaration_seq_opt(), cp_parser_explicit_specialization(), cp_parser_linkage_specification(), cp_parser_template_declaration_after_export(), do_pending_lang_change(), finish_file(), get_atexit_node(), and start_cleanup_fn().
Definition at line 7406 of file decl.c.
References build_library_fn(), and pushdecl_top_level().
Referenced by do_allocate_exception(), do_begin_catch(), do_get_exception_ptr(), expand_static_init(), push_throw_library_fn(), and push_void_library_fn().
Definition at line 5517 of file class.c.
References CLASS_TYPE_P, DECL_CONTEXT, error_mark_node, IS_AGGR_TYPE, NULL_TREE, push_nested_class(), pushclass(), TREE_CODE, and TYPE_MAIN_DECL.
Definition at line 5551 of file decl.c.
References case_compare(), cp_switch::cases, current_binding_level, cp_switch::level, cp_switch::next, NULL, p, splay_tree_new(), switch_stack, cp_switch::switch_stmt, xmalloc(), and XNEW.
Referenced by finish_switch_cond().
Definition at line 2956 of file pt.c.
References push_template_decl_real().
Referenced by build_self_reference(), cp_parser_class_head(), do_friend(), finish_handler_parms(), grokfield(), handle_class_head(), maybe_process_partial_specialization(), start_decl(), start_function(), start_method(), and start_preparsed_function().
Definition at line 2699 of file pt.c.
References a, add_outermost_template_args(), ANON_AGGRNAME_P, args, build_template_decl(), check_default_tmpl_args(), CLASS_TYPE_P, classtype_mangled_name(), CLASSTYPE_TEMPLATE_SPECIALIZATION, CP_DECL_CONTEXT, current_class_type, current_lang_name, current_namespace, current_scope(), current_template_args(), current_template_parms, DECL_ANTICIPATED, DECL_CLASS_SCOPE_P, DECL_CONTEXT, DECL_CONV_FN_P, DECL_DESTRUCTOR_P, DECL_FRIEND_P, DECL_FUNCTION_TEMPLATE_P, DECL_IMPLICIT_TYPEDEF_P, DECL_LANG_SPECIFIC, DECL_MEMBER_TEMPLATE_P, DECL_NAME, DECL_PRIMARY_TEMPLATE, DECL_TEMPLATE_CONV_FN_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT, DECL_TEMPLATE_SPECIALIZATION, DECL_TI_ARGS, DECL_TI_TEMPLATE, error(), error_mark_node, for_each_template_parm(), FROB_CONTEXT, i, IDENTIFIER_TEMPLATE, info, INNERMOST_TEMPLATE_PARMS, IS_AGGR_TYPE_CODE, is_member_template(), lang_name_c, most_general_template(), NEW_DELETE_OPNAME_P, NULL, NULL_TREE, template_parm_data::parms, process_partial_specialization(), pushdecl_namespace_level(), redeclare_class_template(), register_specialization(), SET_DECL_TEMPLATE_SPECIALIZATION, SET_TYPE_TEMPLATE_INFO, template_class_depth(), template_parm_scope_p(), template_parm_this_level_p(), TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, TMPL_PARMS_DEPTH, TREE_CHAIN, TREE_CODE, tree_cons, TREE_TYPE, TREE_VEC_LENGTH, TYPE_ARG_TYPES, TYPE_BEING_DEFINED, TYPE_CONTEXT, TYPE_TEMPLATE_INFO, TYPE_TI_TEMPLATE, uses_template_parms_level(), and void_list_node.
Referenced by do_friend(), maybe_process_template_type_declaration(), and push_template_decl().
Definition at line 7444 of file decl.c.
References push_library_fn(), TREE_NOTHROW, and TREE_THIS_VOLATILE.
Referenced by build_throw(), init_exception_processing(), throw_bad_cast(), and throw_bad_typeid().
Definition at line 7433 of file decl.c.
References build_function_type(), push_library_fn(), and void_type_node.
Referenced by do_end_catch(), and do_free_exception().
Definition at line 5392 of file class.c.
References class_stack_node::access, access_private_node, access_public_node, CLASSTYPE_DECLARED_CLASS, current_access_specifier, current_class_depth, current_class_name, current_class_stack_size, current_class_type, DECL_NAME, class_stack_node::hidden, invalidate_class_lookup_cache(), class_stack_node::name, class_stack_node::names_used, previous_class_level, pushlevel_class(), restore_class_cache(), TREE_CODE, class_stack_node::type, TYPE_MAIN_VARIANT, TYPE_NAME, xrealloc(), and XRESIZEVEC.
Definition at line 1714 of file c-decl.c.
References abort, add_decl_to_level(), assert, b, B_IN_EXTERNAL_SCOPE, B_IN_FILE_SCOPE, B_IN_SCOPE, bind(), build_type_attribute_variant(), build_type_copy(), build_variant_type_copy(), c_begin_vm_scope(), C_TYPE_INCOMPLETE_VARS, cfun, chain_member(), check_default_args(), check_template_shadow(), clone_underlying_type(), COMPLETE_TYPE_P, composite_type(), comptypes(), CP_DECL_CONTEXT, cp_error_at(), cp_pedwarn_at(), cp_warning_at(), current_binding_level, current_class_ptr, current_class_type, current_function_decl, current_scope(), d, DECL_ABSTRACT_ORIGIN, DECL_ARGUMENTS, DECL_ARTIFICIAL, DECL_BUILT_IN, DECL_BUILT_IN_CLASS, DECL_BUILT_IN_NONANSI, DECL_CONTEXT, DECL_DEAD_FOR_LOCAL, DECL_DECLARED_INLINE_P, DECL_EXTERN_C_FUNCTION_P, DECL_EXTERNAL, DECL_FILE_SCOPE_P, DECL_FROM_INLINE, DECL_FUNCTION_CODE, DECL_FUNCTION_MEMBER_P, DECL_FUNCTION_TEMPLATE_P, DECL_IN_SYSTEM_HEADER, DECL_INITIAL, DECL_INLINE, DECL_IS_BUILTIN, DECL_LANG_SPECIFIC, DECL_LOCAL_FUNCTION_P, DECL_MAIN_P, DECL_NAME, DECL_NAMESPACE_SCOPE_P, DECL_NON_THUNK_FUNCTION_P, DECL_NUM_STMTS, DECL_ORIGINAL_TYPE, DECL_P, DECL_RESULT, DECL_SAVED_INSNS, DECL_SHADOWED_FOR_VAR, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_TEMPLATE_PARM_P, DECL_UID, decls_match(), doing_semantic_analysis_p, duplicate_decls(), element, err, error(), error_mark_node, gcc_assert, ggc_alloc_cleared, GGC_CNEW, global_binding_level, I_SYMBOL_BINDING, IDENTIFIER_CLASS_VALUE, IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_IMPLICIT_DECL, IDENTIFIER_INVENTED, IDENTIFIER_LIMBO_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_NAMESPACE_VALUE, IDENTIFIER_POINTER, IDENTIFIER_VALUE, innermost_non_namespace_value(), integer_type_node, integer_zerop(), is_overloaded_fn(), lang_c, binding_level::level_chain, lookup_member(), lookup_name_current_level(), lookup_name_innermost_nonclass_level(), maybe_register_incomplete_var(), member(), my_friendly_assert, binding_level::names, namespace_binding(), namespace_bindings_p(), NAMESPACE_LEVEL, NULL_TREE, OVL_CURRENT, OVL_FUNCTION, OVL_NEXT, pedantic, pedwarn(), POP_TIMEVAR_AND_RETURN, PUSH_GLOBAL, PUSH_LOCAL, push_local_binding(), push_overloaded_decl(), pushdecl_maybe_friend(), retrofit_lang_decl(), same_translation_unit_p(), same_type_p, SET_DECL_LANGUAGE, SET_IDENTIFIER_NAMESPACE_VALUE, SET_IDENTIFIER_TYPE_VALUE, set_identifier_type_value(), set_identifier_type_value_with_scope(), shadow_warning(), binding_level::shadowed, sk_function_parms, timevar_push, TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, TREE_OPERAND, TREE_PUBLIC, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, TREE_USED, TYPE_ARG_TYPES, TYPE_ATTRIBUTES, TYPE_DOMAIN, TYPE_IDENTIFIER, TYPE_MAIN_VARIANT, TYPE_MAX_VALUE, TYPE_NAME, TYPE_STUB_DECL, variably_modified_type_p(), warn_extern_redeclared_static(), warn_if_shadowing(), warn_nested_externs, warn_shadow, warning, and wchar_decl_node.
Referenced by build_anon_union_vars(), build_compound_literal(), build_enumerator(), build_module_descriptor(), build_utf8_ref(), builtin_function(), builtin_function_1(), c_init_decl_processing(), c_register_builtin_type(), compile_resource_file(), create_builtin_decl(), declare_global_var(), define_builtin(), do_friend(), do_namespace_alias(), ffecom_f2c_make_type_(), ffecom_init_0(), finish_anon_union(), finish_compound_literal(), finish_handler_parms(), finish_named_return_value(), grokdeclarator(), handle_class_ref(), implicitly_declare(), initialize_handler_parm(), java_init_decl_processing(), java_lang_expand_expr(), lookup_label(), maybe_push_decl(), process_template_parm(), push_class(), push_cp_library_fn(), push_inline_template_parms_recursive(), push_namespace(), push_namespace_with_attribs(), push_parm_decl(), push_promoted_type(), pushdecl_top_level(), pushdecl_with_scope(), pushtag(), record_builtin_type(), record_unknown_type(), start_cleanup_fn(), start_decl(), start_function(), start_method_def(), start_preparsed_function(), store_parm_decls(), store_parm_decls_oldstyle(), and synth_module_prologue().
Definition at line 572 of file name-lookup.c.
References add_decl_to_level(), b, build_variant_type_copy(), check_default_args(), check_template_shadow(), CP_DECL_CONTEXT, cp_function_chain, current_binding_level, current_class_ptr, current_class_type, current_function_decl, cxx_int_tree_map_eq(), cxx_int_tree_map_hash(), d, DECL_ABSTRACT_ORIGIN, DECL_ANTICIPATED, DECL_ARTIFICIAL, DECL_CONTEXT, DECL_DEAD_FOR_LOCAL, DECL_EXTERN_C_FUNCTION_P, DECL_EXTERNAL, DECL_FROM_INLINE, DECL_FUNCTION_MEMBER_P, DECL_FUNCTION_TEMPLATE_P, DECL_HIDDEN_FRIEND_P, DECL_IN_SYSTEM_HEADER, DECL_IS_BUILTIN, DECL_LANG_SPECIFIC, DECL_LOCAL_FUNCTION_P, DECL_MAIN_P, DECL_NAME, DECL_NAMESPACE_SCOPE_P, DECL_NON_THUNK_FUNCTION_P, DECL_ORIGINAL_TYPE, DECL_P, DECL_SHADOWED_FOR_VAR, DECL_TEMPLATE_PARM_P, DECL_UID, decls_match(), duplicate_decls(), err, error(), error_mark_node, FUNCTION_NEEDS_BODY_BLOCK, gcc_assert, GGC_NEW, h, htab_create_ggc, htab_find_slot_with_hash(), IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_NAMESPACE_VALUE, innermost_non_namespace_value(), INSERT, is_overloaded_fn(), lang_c, lookup_member(), lookup_name_innermost_nonclass_level(), maybe_register_incomplete_var(), member(), namespace_binding(), namespace_bindings_p(), NAMESPACE_LEVEL, NULL, NULL_TREE, OVL_CURRENT, OVL_FUNCTION, OVL_NEXT, pedantic, pedwarn(), POP_TIMEVAR_AND_RETURN, PUSH_GLOBAL, PUSH_LOCAL, push_local_binding(), push_overloaded_decl(), retrofit_lang_decl(), same_type_p, SET_DECL_LANGUAGE, SET_IDENTIFIER_NAMESPACE_VALUE, SET_IDENTIFIER_TYPE_VALUE, set_identifier_type_value(), sk_function_parms, timevar_push, TREE_CODE, TREE_OPERAND, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TYPE_IDENTIFIER, TYPE_NAME, TYPE_STUB_DECL, warn_extern_redeclared_static(), warn_shadow, warning, and wchar_decl_node.
Referenced by do_friend(), pushdecl(), and pushdecl_with_scope().
Definition at line 3440 of file name-lookup.c.
References NULL, and pushdecl_top_level_1().
Referenced by tsubst_friend_class().
Definition at line 4588 of file name-lookup.c.
References ANON_AGGRNAME_P, binding_table_insert(), binding_table_new(), build_decl, CLASSTYPE_NESTED_UTDS, COMPLETE_TYPE_P, create_implicit_typedef(), cs, current_binding_level, current_class_type, current_lang_name, current_namespace, current_scope(), DECL_ANTICIPATED, DECL_CONTEXT, DECL_FRIEND_P, decl_function_context(), DECL_IGNORED_P, determine_visibility(), error_mark_node, finish_member_declaration(), FROB_CONTEXT, gcc_assert, get_type_decl(), IDENTIFIER_TYPE_VALUE, lang_name_java, local_classes, maybe_add_class_template_decl_list(), maybe_process_template_type_declaration(), NULL, NULL_TREE, POP_TIMEVAR_AND_RETURN, PROCESSING_REAL_TEMPLATE_DECL_P, pushdecl_class_level(), pushdecl_with_scope(), retrofit_lang_decl(), SCOPE_DEFAULT_HT_SIZE, set_identifier_type_value_with_scope(), sk_class, sk_cleanup, sk_template_parms, timevar_push, TREE_CODE, TREE_PUBLIC, ts_current, ts_global, ts_within_enclosing_non_class, TYPE_CONTEXT, TYPE_FOR_JAVA, TYPE_NAME, TYPE_P, TYPE_STUB_DECL, VARRAY_PUSH_TREE, and VEC_safe_push.
Definition at line 2329 of file semantics.c.
References COMPLETE_TYPE_P, error(), error_mark_node, global_namespace, print_candidates(), TREE_CODE, and TYPE_P.
Definition at line 77 of file typeck2.c.
References ATTRIBUTE_GCC_CXXDIAG, DECL_IN_AGGR_P, DECL_LANG_SPECIFIC, error(), PARAMS, pedwarn(), TREE_CODE, TREE_OPERAND, TREE_STATIC, TREE_TYPE, TYPE_READONLY, and void.
Referenced by build_asm_expr(), build_modify_expr(), build_unary_op(), c_expand_asm_operands(), finish_asm_stmt(), and readonly_error().
| cp_lvalue_kind real_lvalue_p | ( | tree | ) |
Definition at line 222 of file tree.c.
References lvalue_p_1().
Referenced by add_builtin_candidates(), build_c_cast(), build_conditional_expr(), build_const_cast(), build_const_cast_1(), build_reinterpret_cast(), build_reinterpret_cast_1(), build_static_cast_1(), build_up_reference(), conditional_conversion(), convert_like_real(), convert_nontype_argument(), convert_to_reference(), error_type(), initialize_reference(), reference_binding(), rvalue(), and stabilize_expr().
Definition at line 1029 of file tree.c.
References BASELINK_FUNCTIONS, BASELINK_P, DECL_FUNCTION_TEMPLATE_P, is_overloaded_fn(), OVL_CHAIN, OVL_CURRENT, TREE_CODE, and TREE_OPERAND.
Referenced by build_binary_op(), build_expr_from_tree(), build_new_1(), build_new_function_call(), build_offset_ref(), build_throw(), build_unary_op(), convert_nontype_argument(), finish_id_expression(), hack_identifier(), identifier_type(), instantiate_type(), lookup_member(), lookup_name_real(), lookup_namespace_name(), mark_used(), and tsubst_baselink().
Definition at line 2969 of file pt.c.
References cp_error_at(), DECL_INNERMOST_TEMPLATE_PARMS, error(), error_mark_node, i, INNERMOST_TEMPLATE_PARMS, NULL_TREE, PRIMARY_TEMPLATE_P, same_type_p, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_TEMPLATE_INFO, and TYPE_TI_TEMPLATE.
Referenced by push_template_decl_real(), tsubst_friend_class(), and xref_tag().
Definition at line 9293 of file decl.c.
References args, BCS_FN_BODY, begin_compound_stmt(), build_cleanup(), build_function_call(), build_unary_op(), cleanup(), gcc_target::cxx, cxx_mark_addressable(), dk_no_check, end_cleanup_fn(), finish_compound_stmt(), finish_expr_stmt(), flag_access_control, flag_use_cxa_atexit, get_atexit_node(), get_dso_handle_node(), mark_used(), null_pointer_node, NULL_TREE, pop_deferring_access_checks(), push_deferring_access_checks(), start_cleanup_fn(), targetm, tree_cons, TREE_TYPE, TYPE_HAS_TRIVIAL_DESTRUCTOR, gcc_target::cxx::use_aeabi_atexit, and void_zero_node.
Referenced by do_static_initialization(), expand_static_init(), and one_static_initialization_or_destruction().
| int repo_emit_p | ( | tree | ) |
Definition at line 265 of file repo.c.
References CLASSTYPE_TEMPLATE_INSTANTIATION, DECL_ASSEMBLER_NAME, DECL_CLASS_SCOPE_P, DECL_CONTEXT, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_NAME, DECL_REALLY_EXTERN, DECL_REPO_AVAILABLE_P, DECL_TEMPLATE_INSTANTIATION, DECL_TINFO_P, DECL_VTABLE_OR_VTT_P, flag_use_repository, FOR_EACH_CLONE, gcc_assert, IDENTIFIER_REPO_CHOSEN, NULL_TREE, repo_emit_p(), TREE_CODE, tree_cons, TREE_PUBLIC, TREE_TYPE, and TYPE_LANG_SPECIFIC.
Definition at line 328 of file repo.c.
References CLASSTYPE_VTABLES, DECL_ASSEMBLER_NAME, flag_use_repository, and IDENTIFIER_REPO_CHOSEN.
Definition at line 1368 of file typeck2.c.
References COMPLETE_TYPE_P, DECL_ARTIFICIAL, error(), TREE_CHAIN, TREE_VALUE, and TYPE_RAISES_EXCEPTIONS.
Referenced by build_call().
Definition at line 94 of file c-typeck.c.
References c_incomplete_type_error(), complete_type_or_else, COMPLETE_TYPE_P, current_class_ref, error_mark_node, processing_template_decl, require_complete_type(), resolve_offset_ref(), TREE_CODE, TREE_OPERAND, TREE_TYPE, and unknown_type_node.
Referenced by build_array_ref(), build_cxx_call(), build_function_call(), build_modify_expr(), build_over_call(), c_finish_omp_clauses(), convert_arg_to_ellipsis(), convert_arguments(), convert_for_initialization(), finish_omp_clauses(), and require_complete_type().
Definition at line 1233 of file pt.c.
References DECL_TEMPLATE_SPECIALIZATIONS, NULL_TREE, s, TREE_CHAIN, and TREE_VALUE.
Definition at line 739 of file pt.c.
References processing_specialization.
Referenced by begin_class_definition(), begin_function_definition(), cp_parser_function_definition_from_specifiers_and_declarator(), end_specialization(), and end_template_decl().
Definition at line 4712 of file decl.c.
References BRACE_ENCLOSED_INITIALIZER_P, constructor_elt, CONSTRUCTOR_ELTS, reshape_iterator_t::cur, d, reshape_iterator_t::end, error(), error_mark_node, gcc_assert, reshape_init_r(), VEC, VEC_empty, VEC_index, and VEC_length.
Definition at line 12493 of file pt.c.
References args, CLASSTYPE_PRIMARY_TEMPLATE_TYPE, cp_build_qualified_type, cp_type_quals(), currently_open_class(), DECL_CLASS_TEMPLATE_P, error_mark_node, gcc_assert, lookup_member(), lookup_template_class(), NULL_TREE, pop_scope(), push_scope(), resolve_typename_type(), tf_error, tf_user, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_CONTEXT, TYPE_IDENTIFIER, and TYPENAME_TYPE_FULLNAME.
| int resolves_to_fixed_type_p | ( | tree | , | |
| int * | ||||
| ) |
Definition at line 5696 of file class.c.
References fixed, fixed_type_or_null(), NULL_TREE, POINTER_TYPE_P, same_type_ignoring_top_level_qualifiers_p, record_layout_info_s::t, and TREE_TYPE.
Referenced by build_base_path(), build_new_method_call(), build_typeid(), get_tinfo_decl_dynamic(), and GTY().
| void resort_type_method_vec | ( | void * | , | |
| void * | , | |||
| gt_pointer_operator | , | |||
| void * | ||||
| ) |
Definition at line 1397 of file lex.c.
References abort, CAN_HAVE_FULL_LANG_DECL_P, current_lang_name, DECL_LANG_SPECIFIC, decl_linkage(), gcc_unreachable, ggc_alloc_cleared, GGC_CNEWVAR, int, lang_c, lang_cplusplus, lang_java, lang_name_c, lang_name_cplusplus, lang_name_java, lk_none, SET_DECL_LANGUAGE, size, TREE_CODE, tree_node_counts, and tree_node_sizes.
Referenced by alter_access(), build_lang_decl(), duplicate_decls(), finish_omp_threadprivate(), finish_struct_1(), push_local_name(), pushdecl(), pushdecl_maybe_friend(), and pushtag().
Definition at line 15439 of file decl.c.
References args, build_exception_variant(), build_function_type(), build_qualified_type(), cp_type_quals(), DECL_ARGUMENTS, DECL_STATIC_FUNCTION_P, error(), function, tmp, TREE_CHAIN, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_RAISES_EXCEPTIONS, and TYPE_UNQUALIFIED.
Referenced by check_explicit_specialization(), grok_op_properties(), grokfndecl(), start_function(), and start_preparsed_function().
Definition at line 370 of file tree.c.
References build1, build_nop(), CLASS_TYPE_P, cp_type_quals(), error_operand_p, processing_template_decl, real_lvalue_p(), TREE_TYPE, and TYPE_MAIN_VARIANT.
Definition at line 2198 of file class.c.
References compparms(), DECL_CONV_FN_P, DECL_CONV_FN_TYPE, DECL_DESTRUCTOR_P, DECL_NAME, same_type_p, special_function_p(), TREE_CHAIN, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_QUALS, and types.
Referenced by add_vcall_offset(), get_vcall_index(), look_for_overrides_here(), and warn_hidden().
Definition at line 2139 of file decl2.c.
References build_modify_expr(), convert(), get_guard_bits(), integer_one_node, same_type_p, and TREE_TYPE.
Referenced by expand_static_init(), one_static_initialization_or_destruction(), and start_static_initialization_or_destruction().
Definition at line 650 of file class.c.
References DECL_INTERFACE_KNOWN, no_linkage_check(), and TREE_PUBLIC.
Referenced by build_vtable(), get_tinfo_decl(), implicitly_declare_fn(), and tinfo_base_init().
| tree shadow_tag | ( | cp_decl_specifier_seq * | ) |
Definition at line 3502 of file decl.c.
References ANON_AGGR_TYPE_P, cp_decl_specifier_seq::attributes, check_tag_decl(), class_key_or_enum_as_string(), cp_warning_at(), error_mark_node, finish_anon_union(), fixup_anonymous_aggr(), grokdeclarator(), maybe_process_partial_specialization(), NORMAL, NULL, NULL_TREE, TYPE_FIELDS, and warning.
| int shared_member_p | ( | tree | ) |
Definition at line 989 of file search.c.
References DECL_NONSTATIC_MEMBER_FUNCTION_P, is_overloaded_fn(), OVL_CURRENT, OVL_NEXT, and TREE_CODE.
Definition at line 2811 of file semantics.c.
References addr(), AGGR_INIT_VIA_CTOR_P, args, build1, build2, build3, build_aggr_init(), build_pointer_type(), CALL_EXPR_HAS_RETURN_SLOT_ADDR, CALL_EXPR_RETURN_SLOT_OPT, convert(), ctor(), cxx_mark_addressable(), DIRECT_BIND, dk_no_check, gcc_assert, LOOKUP_ONLYCONVERTING, NULL_TREE, pop_deferring_access_checks(), push_deferring_access_checks(), TREE_ADDRESSABLE, TREE_CHAIN, TREE_CODE, tree_cons, TREE_OPERAND, and TREE_TYPE.
Definition at line 1147 of file method.c.
References DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, DECL_NONSTATIC_MEMBER_FUNCTION_P, and TREE_CHAIN.
Referenced by add_function_candidate(), build_over_call(), determine_specialization(), fn_type_unification(), get_bindings(), instantiate_decl(), locate_copy(), locate_ctor(), and regenerate_decl_from_template().
| special_function_kind special_function_p | ( | tree | ) |
Definition at line 2548 of file tree.c.
References DECL_BASE_DESTRUCTOR_P, DECL_COMPLETE_DESTRUCTOR_P, DECL_CONSTRUCTOR_P, DECL_CONV_FN_P, DECL_COPY_CONSTRUCTOR_P, DECL_DELETING_DESTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, DECL_OVERLOADED_OPERATOR_P, sfk_assignment_operator, sfk_base_destructor, sfk_complete_destructor, sfk_constructor, sfk_conversion, sfk_copy_constructor, sfk_deleting_destructor, sfk_destructor, and sfk_none.
Definition at line 2213 of file tree.c.
References add_stmt_to_compound(), error_mark_node, gcc_assert, NULL_TREE, stabilize_expr(), TREE_CHAIN, TREE_CODE, TREE_OPERAND, TREE_SIDE_EFFECTS, and TREE_VALUE.
Definition at line 2650 of file tree.c.
References build_indirect_ref(), build_unary_op(), gcc_assert, get_target_expr(), init_expr(), NULL_TREE, real_lvalue_p(), TARGET_EXPR_SLOT, TREE_SIDE_EFFECTS, TREE_TYPE, TYPE_NEEDS_CONSTRUCTING, and void_zero_node.
Referenced by build_modify_expr(), stabilize_call(), stabilize_init(), and stabilize_throw_expr().
Definition at line 2241 of file tree.c.
References CONSTRUCTOR_ELTS, EMPTY_CONSTRUCTOR_P, error_mark_node, expr_last(), NULL_TREE, stabilize_call(), stabilize_expr(), TARGET_EXPR_INITIAL, TREE_CODE, TREE_OPERAND, and TREE_SIDE_EFFECTS.
| tree start_decl | ( | const cp_declarator * | , | |
| cp_decl_specifier_seq * | , | |||
| int | , | |||
| tree | , | |||
| tree | , | |||
| tree * | ||||
| ) |
Definition at line 3572 of file decl.c.
References chainon(), check_classfn(), CLASSTYPE_TEMPLATE_INSTANTIATION, CLASSTYPE_TEMPLATE_SPECIALIZATION, complete_type(), COMPLETE_TYPE_P, cp_type_readonly(), cplus_decl_attributes(), current_template_parms, DECL_ARTIFICIAL, DECL_ATTRIBUTES, DECL_COMMON, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_DLLIMPORT_P, DECL_EXTERNAL, DECL_IN_AGGR_P, DECL_INITIAL, DECL_INITIALIZED_IN_CLASS_P, DECL_LANG_SPECIFIC, DECL_NAME, DECL_NAMESPACE_SCOPE_P, DECL_TEMPLATE_SPECIALIZATION, DECL_THIS_STATIC, DECL_THREAD_LOCAL, DECL_THREAD_LOCAL_P, DECL_UNINLINABLE, DECL_USE_TEMPLATE, DEPRECATED_NORMAL, deprecated_state, DEPRECATED_SUPPRESS, duplicate_decls(), error(), error_mark_node, flag_conserve_space, gcc_assert, grokdeclarator(), have_extern_spec, have_global_bss_p(), lookup_attribute(), lookup_field(), maybe_apply_pragma_weak(), maybe_push_decl(), NORMAL, NULL_TREE, pedwarn(), processing_specialization, processing_template_decl, push_scope(), push_template_decl(), same_type_p, sc_extern, SET_DECL_TEMPLATE_SPECIALIZATION, start_decl_1(), cp_decl_specifier_seq::storage_class, template_class_depth(), toplevel_bindings_p(), TREE_CODE, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, and warning.
Definition at line 4016 of file decl.c.
References complete_type(), COMPLETE_TYPE_P, DECL_EXTERNAL, DECL_LANG_SPECIFIC, DECL_TEMPLATE_INFO, error(), error_mark_node, error_operand_p, gcc_assert, IS_AGGR_TYPE, maybe_push_cleanup_level(), processing_template_decl, TREE_CODE, TREE_TYPE, and TYPE_NEEDS_CONSTRUCTING.
Definition at line 5749 of file c-decl.c.
References b, C_TYPE_BEING_DEFINED, cp_error_at(), current_binding_level, enum_next_value, enum_overflow, enum_type, error(), error_mark_node, flag_short_enums, gcc_assert, IDENTIFIER_POINTER, integer_zero_node, lookup_and_check_tag(), lookup_tag(), make_anon_name(), make_node, NULL_TREE, pushtag(), TREE_CODE, ts_current, TYPE_MAIN_DECL, TYPE_PACKED, and TYPE_VALUES.
Referenced by c_parser_enum_specifier(), cp_parser_enum_specifier(), and lookup_template_class().
| int start_function | ( | cp_decl_specifier_seq * | , | |
| const cp_declarator * | , | |||
| tree | ||||
| ) |
Definition at line 10265 of file decl.c.
References current_binding_level, DECL_MAIN_P, FUNCDEF, gcc_assert, global_scope_p, grokdeclarator(), have_extern_spec, integer_type_node, maybe_apply_pragma_weak(), NULL_TREE, same_type_p, sc_extern, SF_DEFAULT, start_preparsed_function(), cp_decl_specifier_seq::storage_class, TREE_CODE, and TREE_TYPE.
| tree start_method | ( | cp_decl_specifier_seq * | , | |
| const cp_declarator * | , | |||
| tree | ||||
| ) |
Definition at line 10831 of file decl.c.
References begin_scope(), check_template_shadow(), copy_node, cp_finish_decl(), cplus_decl_attributes(), DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_FRIEND_P, DECL_IN_AGGR_P, DECL_INLINE, DECL_TEMPLATE_SPECIALIZATION, error(), error_mark_node, finish_decl(), flag_default_inline, grok_special_member_properties(), grokdeclarator(), MEMFUNCDEF, NULL, NULL_TREE, processing_template_decl, push_template_decl(), sk_function_parms, TREE_CHAIN, TREE_CODE, and void_type_node.
Definition at line 9943 of file decl.c.
References adjust_clone_args(), allocate_struct_function(), announce_function(), begin_scope(), bl, build_decl, build_indirect_ref(), c_promoting_integer_type_p(), cdtor_label, gcc_target::cxx::cdtor_returns_this, cfun, check_default_args(), check_function_type(), comdat_linkage(), cp_apply_type_quals_to_decl(), cp_function_chain, cp_type_quals(), current_binding_level, current_function_decl, current_function_parms, current_in_charge_parm, current_vtt_parm, gcc_target::cxx, DECL_ARGUMENTS, DECL_ARTIFICIAL, DECL_CLONED_FUNCTION_P, DECL_CONSTRUCTOR_P, DECL_CONTEXT, DECL_DECLARED_INLINE_P, DECL_DEFER_OUTPUT, DECL_DESTRUCTOR_P, DECL_EXTERNAL, DECL_FRIEND_CONTEXT, DECL_FRIEND_P, decl_function_context(), DECL_FUNCTION_MEMBER_P, DECL_HAS_IN_CHARGE_PARM_P, DECL_HAS_VTT_PARM_P, DECL_IGNORED_P, DECL_INITIAL, DECL_INTERFACE_KNOWN, DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_NAME, DECL_NOT_REALLY_EXTERN, DECL_OVERLOADED_OPERATOR_P, DECL_PENDING_INLINE_P, DECL_RESULT, DECL_SAVED_FUNCTION_DATA, DECL_SAVED_TREE, DECL_SOURCE_LOCATION, DECL_STATIC_FUNCTION_P, DECL_TEMPLATE_INFO, DECL_TEMPLATE_INSTANTIATION, DECL_TI_TEMPLATE, DECL_USE_TEMPLATE, DECL_VINDEX, determine_visibility(), error_mark_node, flag_implement_inlines, function_depth, gcc_assert, get_fileinfo(), c_fileinfo::interface_only, c_fileinfo::interface_unknown, lbasename(), LOCATION_FILE, lookup_attribute(), mark_needed(), maybe_apply_pragma_weak(), maybe_begin_member_template_processing(), maybe_make_one_only(), NULL, NULL_TREE, PRIMARY_TEMPLATE_P, processing_template_decl, push_nested_class(), push_stmt_list(), push_template_decl(), pushdecl(), revert_static_member_fn(), SF_INCLASS_INLINE, SF_PRE_PARSED, sk_function_parms, start_fname_decls(), store_parm_decls(), targetm, TREE_CHAIN, TREE_CODE, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TREE_VALUE, TYPE_MAIN_VARIANT, TYPE_METHOD_BASETYPE, type_promotes_to(), void_list_node, vtt_parm_identifier, warn_ecpp, and warning.
| int stmts_are_full_exprs_p | ( | void | ) |
Definition at line 7181 of file c-decl.c.
References current_stmt_tree().
Referenced by add_stmt(), build_aggr_init(), build_vec_init(), check_initializer(), cp_gimplify_expr(), do_poplevel(), do_pushlevel(), emit_local_var(), expand_body(), expand_stmt(), finish_expr_stmt(), finish_function(), genrtl_expr_stmt_value(), initialize_local_var(), maybe_cleanup_point_expr(), and maybe_cleanup_point_expr_void().
Definition at line 193 of file semantics.c.
References deferred_access, dk_no_deferred, and VEC_last.
Definition at line 4488 of file c-typeck.c.
References abort, AGGREGATE_TYPE_P, build_compound_expr(), build_distinct_type_copy(), build_nt(), COMPOUND_LITERAL_EXPR_DECL, constant_expression_warning(), DECL_INITIAL, digest_init(), error(), error_mark_node, fold(), in_system_header, initializer_constant_valid_p(), IS_AGGR_TYPE, layout_decl(), layout_type(), nreverse(), NULL_TREE, pedantic, pedwarn(), STRIP_TYPE_NOPS, TREE_CHAIN, TREE_CODE, TREE_CONSTANT, TREE_OPERAND, TREE_STATIC, TREE_TYPE, TREE_VALUE, TYPE_DOMAIN, TYPE_HAS_TRIVIAL_INIT_REF, TYPE_MAIN_VARIANT, TYPE_NEEDS_CONSTRUCTING, unknown_type_node, warn_traditional, and warning.
Referenced by build_compound_literal(), check_initializer(), expand_aggr_init_1(), finish_decl(), and maybe_emit_vtables().
Definition at line 1734 of file typeck.c.
References build_pointer_type(), build_qualified_type(), char_type_node, flag_const_strings, same_type_p, STRIP_NOPS, TREE_CODE, TREE_OPERAND, TREE_TYPE, TYPE_MAIN_VARIANT, TYPE_QUAL_CONST, warn_write_strings, warning, and wchar_type_node.
Referenced by convert_like_real(), and standard_conversion().
Definition at line 726 of file call.c.
References cp_build_qualified_type, TREE_CODE, and TYPE_MAIN_VARIANT.
Referenced by convert_for_assignment(), and standard_conversion().
Definition at line 665 of file call.c.
References TREE_CHAIN, TREE_PURPOSE, and void_list_node.
Referenced by add_conv_candidate(), add_function_candidate(), grok_special_member_properties(), locate_copy(), and locate_ctor().
Definition at line 821 of file method.c.
References at_eof, BCS_FN_BODY, begin_compound_stmt(), begin_function_body(), clear_last_expr(), current_class_type, current_function_decl, DECL_CLONED_FUNCTION, DECL_CLONED_FUNCTION_P, DECL_CONSTRUCTOR_P, DECL_CONTEXT, decl_function_context(), DECL_OVERLOADED_OPERATOR_P, DECL_SOURCE_FILE, DECL_SOURCE_LINE, DECL_SOURCE_LOCATION, dk_no_deferred, do_build_assign_ref(), do_build_copy_constructor(), error_count, errorcount, expand_body(), expand_or_defer_fn(), extract_interface_info(), finish_compound_stmt(), finish_function(), finish_function_body(), finish_mem_initializers(), FUNCTION_FIRST_USER_PARMTYPE, import_export_decl(), inform(), input_filename, input_location, interface_unknown, lineno, NULL_TREE, pop_deferring_access_checks(), pop_from_top_level(), pop_function_context_from(), push_deferring_access_checks(), push_function_context_to(), push_to_top_level(), SF_DEFAULT, SF_PRE_PARSED, start_function(), start_preparsed_function(), synthesize_method(), TYPE_NAME, TYPE_NEEDS_CONSTRUCTING, void_list_node, warning, and warningcount.
Referenced by cp_finish_file(), finish_file(), mark_used(), and synthesize_method().
| int template_class_depth | ( | tree | ) |
Definition at line 369 of file pt.c.
References CLASSTYPE_TEMPLATE_INFO, CLASSTYPE_TI_ARGS, CLASSTYPE_TI_TEMPLATE, CP_DECL_CONTEXT, DECL_TEMPLATE_INFO, DECL_TI_ARGS, DECL_TI_TEMPLATE, PRIMARY_TEMPLATE_P, template_class_depth_real(), TREE_CODE, TYPE_CONTEXT, and uses_template_parms().
Referenced by add_method(), check_classfn(), check_default_tmpl_args(), determine_visibility(), do_friend(), grokdeclarator(), grokfndecl(), handle_class_head(), is_member_template(), is_specialization_of_friend(), make_friend_class(), push_template_decl_real(), start_decl(), and xref_tag().
Definition at line 11297 of file pt.c.
References DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION, DECL_IN_AGGR_P, DECL_INITIAL, DECL_TEMPLATE_INSTANTIATION, DECL_TEMPLATE_RESULT, DECL_TI_TEMPLATE, gcc_assert, and TREE_CODE.
Definition at line 8874 of file pt.c.
References adjust_result_of_qualified_name_lookup(), BASELINK_BINFO, baselink_for_fns(), BASELINK_FUNCTIONS, BASELINK_P, BASELINK_QUALIFIED_P, begin_stmt_expr(), BINFO_TYPE, build3, build_const_cast(), build_constructor(), build_dynamic_cast(), build_functional_cast(), build_new(), build_new_method_call(), build_nop(), build_nt(), build_offset_ref_call_from_tree(), build_reinterpret_cast(), build_static_cast(), build_throw(), build_typeid(), build_x_arrow(), build_x_binary_op(), build_x_compound_expr(), build_x_conditional_expr(), build_x_indirect_ref(), build_x_modify_expr(), build_x_unary_op(), build_x_va_arg(), cast_valid_in_integral_constant_expression_p(), CLASS_TYPE_P, constructor_elt, CONSTRUCTOR_ELTS, convert_from_reference(), cxx_sizeof_or_alignof_expr(), cxx_sizeof_or_alignof_type(), DECL_FUNCTION_MEMBER_P, DECL_INITIAL, DECL_NAME, DECL_P, DELETE_EXPR_USE_GLOBAL, DELETE_EXPR_USE_VEC, delete_sanity(), error(), error_mark_node, finish_call_expr(), finish_class_member_access_expr(), finish_compound_literal(), finish_id_expression(), finish_label_address_expr(), finish_non_static_data_member(), finish_offsetof(), finish_pseudo_destructor_expr(), finish_stmt_expr(), function, gcc_unreachable, get_first_fn(), get_typeid(), HOST_WIDE_INT, IDENTIFIER_TYPENAME_P, idx, IS_AGGR_TYPE, is_overloaded_fn(), KOENIG_LOOKUP_P, lookup_name(), LOOKUP_NONVIRTUAL, LOOKUP_NORMAL, lookup_qualified_name(), lookup_template_function(), mangle_conv_op_name_for_type(), mark_used(), member(), n, NEW_EXPR_USE_GLOBAL, non_reference(), NULL, NULL_TREE, objcp_tsubst_copy_and_build(), perform_koenig_lookup(), qualified_name_lookup_error(), r, RECUR, REFERENCE_REF_P, skip_evaluation, STMT_EXPR_STMT, subst(), tf_error, TREE_CHAIN, TREE_CODE, tree_cons, TREE_HAS_CONSTRUCTOR, TREE_NO_WARNING, TREE_OPERAND, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, tsubst(), tsubst_baselink(), tsubst_copy(), tsubst_copy_and_build(), tsubst_expr(), tsubst_non_call_postfix_expression(), tsubst_qualified_id(), tsubst_template_args(), TYPE_P, TYPE_PTRMEMFUNC_P, unqualified_name_lookup_error(), used_types_insert(), VEC, VEC_copy, VEC_iterate, void_list_node, and void_type_node.
Definition at line 5866 of file pt.c.
References cfun, check_default_argument(), cp_function_chain, current_class_ptr, current_class_ref, DECL_TI_ARGS, dk_no_deferred, function_depth, NULL_TREE, pop_access_scope(), pop_deferring_access_checks(), push_access_scope(), push_deferring_access_checks(), tf_error, tf_warning, tf_warning_or_error, and tsubst_expr().
Referenced by convert_default_arg(), and tsubst_default_arguments().
Definition at line 336 of file typeck.c.
References ARITHMETIC_TYPE_P, attributes, build_complex_type(), build_type_attribute_variant(), COMPLEX_TYPE, double_type_node, float_type_node, gcc_assert, long_double_type_node, long_integer_type_node, long_long_integer_type_node, long_long_unsigned_type_node, long_unsigned_type_node, gcc_target::merge_type_attributes, my_friendly_assert, same_type_p, targetm, TREE_CODE, TREE_TYPE, TREE_UNSIGNED, type_after_usual_arithmetic_conversions(), TYPE_IS_SIZETYPE, TYPE_MAIN_VARIANT, TYPE_PRECISION, type_promotes_to(), and TYPE_UNSIGNED.
Referenced by build_conditional_expr(), common_type(), and type_after_usual_arithmetic_conversions().
| const char* type_as_string | ( | tree | , | |
| int | ||||
| ) |
Definition at line 2138 of file error.c.
References cxx_pp, dump_type(), output_finalize_message(), pp_formatted_text, reinit_cxx_pp(), and reinit_global_formatting_buffer.
Referenced by args_to_string(), dump_class_hierarchy(), dump_class_hierarchy_1(), dump_class_hierarchy_r(), dump_thunk(), dump_vtable(), dump_vtt(), mangle_class_name_for_template(), and name_as_c_string().
Definition at line 2104 of file call.c.
References build_pointer_type(), TREE_CODE, and TREE_TYPE.
Referenced by add_builtin_candidates(), build_const_cast_1(), build_throw(), cxx_type_promotes_to(), regenerate_decl_from_template(), standard_conversion(), tsubst_arg_types(), and tsubst_decl().
Definition at line 12281 of file pt.c.
References any_dependent_template_arguments_p(), BASELINK_FUNCTIONS, DECL_LANG_SPECIFIC, DECL_TEMPLATE_INFO, DECL_TEMPLATE_TEMPLATE_PARM_P, DECL_TI_ARGS, dependent_scope_ref_p(), dependent_type_p(), error_mark_node, gcc_assert, INNERMOST_TEMPLATE_ARGS, OVL_CURRENT, OVL_NEXT, processing_template_decl, TREE_CODE, TREE_OPERAND, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, type_dependent_expression_p(), unknown_type_node, and value_dependent_expression_p().
Definition at line 4433 of file call.c.
References build_qualified_type(), build_reference_type(), gcc_target::calls, COMPLETE_TYPE_P, INT_CST_LT_UNSIGNED, integer_type_node, INTEGRAL_TYPE_P, gcc_target::calls::promote_prototypes, PROMOTE_PROTOTYPES, targetm, TREE_ADDRESSABLE, TYPE_PRECISION, TYPE_QUAL_RESTRICT, and TYPE_SIZE.
Referenced by cp_build_parm_decl(), require_complete_types_for_parms(), and tsubst_decl().
Definition at line 1141 of file cvt.c.
References boolean_type_node, c_common_type_for_size(), c_promoting_integer_type_p(), cp_build_qualified_type, cp_type_quals(), double_type_node, error_mark_node, float_type_node, int_fits_type_p(), integer_type_node, MAX, TREE_CODE, TREE_UNSIGNED, TYPE_MAIN_VARIANT, TYPE_MAX_VALUE, TYPE_PRECISION, TYPE_UNSIGNED, unsigned_type_node, and wchar_type_node.
Referenced by add_builtin_candidates(), build_conditional_expr(), cxx_type_promotes_to(), default_conversion(), perform_integral_promotions(), promoted_arithmetic_type_p(), standard_conversion(), start_function(), start_preparsed_function(), and type_after_usual_arithmetic_conversions().
| int type_unknown_p | ( | tree | ) |
Definition at line 192 of file typeck.c.
References TREE_CODE, TREE_TYPE, and unknown_type_node.
Referenced by arg_assoc(), build_binary_op(), build_offset_ref(), build_ptrmemfunc(), build_unary_op(), convert_like_real(), convert_nontype_argument(), convert_to_void(), cp_convert_to_pointer(), cxx_alignof_expr(), cxx_sizeof_expr(), cxx_sizeof_or_alignof_expr(), decay_conversion(), expr_sizeof(), finish_for_expr(), friend_of_associated_class_p(), instantiate_type(), reference_binding(), standard_conversion(), and type_unification_real().
Definition at line 4382 of file typeck.c.
References build(), build1, build2, build3, build_cplus_new(), build_pointer_type(), build_ptrmem_type(), build_unary_op(), current_function_decl, DECL_DESTRUCTOR_P, DECL_FIELD_CONTEXT, error(), error_mark_node, IS_AGGR_TYPE, is_dummy_object(), make_ptrmem_cst(), my_friendly_assert, NULL, NULL_TREE, processing_template_decl, PTRMEM_OK_P, rationalize_conditional_expr(), resolve_offset_ref(), stabilize_reference(), TREE_CODE, TREE_NO_UNUSED_WARNING, TREE_NO_WARNING, TREE_OPERAND, TREE_SIDE_EFFECTS, TREE_TYPE, and unary_complex_lvalue().
Definition at line 1459 of file typeck.c.
References is_bitfield_expr_with_lowered_type(), and TREE_TYPE.
Referenced by build_conditional_expr(), build_unary_op(), finish_typeof(), and type_unification_real().
Definition at line 605 of file lex.c.
References error(), flag_permissive, pedwarn(), processing_template_decl, and unqualified_name_lookup_error().
Definition at line 1144 of file lex.c.
References ansi_opname, build_decl, current_function_decl, DECL_CONTEXT, error(), error_mark_node, IDENTIFIER_ERROR_LOCUS, IDENTIFIER_NAMESPACE_VALUE, IDENTIFIER_OPNAME_P, push_local_binding(), SET_IDENTIFIER_ERROR_LOCUS, SET_IDENTIFIER_NAMESPACE_VALUE, TREE_USED, and undeclared_variable_notice.
Referenced by build_method_call(), cp_parser_postfix_expression(), do_identifier(), tsubst_copy_and_build(), and unqualified_fn_lookup_error().
Definition at line 5479 of file class.c.
References CLASSTYPE_DECL_LIST, next, nreverse(), NULL_TREE, prev, TREE_CHAIN, TREE_CODE, TYPE_FIELDS, TYPE_METHODS, and x.
Referenced by finish_struct(), and instantiate_class_template().
Definition at line 413 of file method.c.
References a, abort, alias, gcc_target::asm_out, asm_out_file, assemble_end_function(), assemble_start_function(), BINFO_VPTR_FIELD, BLOCK, BLOCK_VARS, boolean_type_node, build(), build1, build3, build_call(), build_cplus_new(), build_decl, build_pointer_type(), CALL_FROM_THUNK_P, gcc_target::asm_out::can_output_mi_thunk, cfun, comdat_linkage(), cond, copy_node, cp_convert(), current_function_decl, current_function_is_thunk, DECL_ARGUMENTS, DECL_ASSEMBLER_NAME, DECL_CONTEXT, DECL_EXTERNAL, DECL_HAS_VALUE_EXPR_P, DECL_IGNORED_P, DECL_INITIAL, DECL_NAME, DECL_ONE_ONLY, DECL_RESULT, DECL_RTL, DECL_SECTION_NAME, DECL_THIS_THUNK_P, DECL_THUNK_P, DECL_VISIBILITY, DECL_VISIBILITY_SPECIFIED, dk_no_check, error(), expand_body(), finish_expr_stmt(), finish_function(), finish_return_stmt(), flag_function_sections, flag_syntax_only, flag_weak, fold(), force_target_expr(), function, gcc_assert, gcc_target::have_named_sections, HOST_WIDE_INT, immediate_size_expand, init_function_start(), init_insn_lengths(), input_filename, integer_type_node, integer_zero_node, integer_zerop(), IS_AGGR_TYPE, lineno, make_alias_for_thunk(), make_decl_one_only(), make_node, mark_decl_referenced(), mark_used(), nreverse(), NULL, NULL_RTX, NULL_TREE, gcc_target::asm_out::output_mi_thunk, pop_deferring_access_checks(), pop_from_top_level(), push_deferring_access_checks(), push_to_top_level(), resolve_unique_section(), save_expr(), SET_DECL_RTL, SF_PRE_PARSED, ssize_int, start_function(), start_preparsed_function(), TARGET_USE_LOCAL_THUNK_ALIAS_P, targetm, thunk_adjust(), THUNK_ALIAS, THUNK_DELTA, THUNK_FIXED_OFFSET, THUNK_TARGET, THUNK_VCALL_OFFSET, THUNK_VIRTUAL_OFFSET, TREE_ADDRESSABLE, TREE_ASM_WRITTEN, TREE_CHAIN, TREE_CODE, tree_cons, tree_low_cst(), tree_lowering_passes(), TREE_OPERAND, TREE_PUBLIC, TREE_SYMBOL_REFERENCED, TREE_TYPE, use_thunk(), varargs_function_p(), VOID_TYPE_P, vtable_entry_type, x, XEXP, and XSTR.
Referenced by emit_associated_thunks(), mark_vtable_entries(), and use_thunk().
| int uses_template_parms | ( | tree | ) |
Definition at line 4755 of file pt.c.
References any_dependent_template_arguments_p(), CONSTANT_CLASS_P, DECL_P, dependent_type_p(), error_mark_node, EXPR_P, for_each_template_parm(), gcc_assert, NULL, processing_template_decl, TREE_CHAIN, TREE_CODE, TREE_TYPE, TREE_VALUE, type_dependent_expression_p(), TYPE_P, uses_template_parms(), and value_dependent_expression_p().
Referenced by add_binding(), add_builtin_candidate(), add_friend(), bt_instantiate_type_proc(), build_cplus_array_type_1(), build_offset_ref(), check_default_argument(), check_explicit_specialization(), constant_value_1(), convert_template_argument(), cp_parser_check_declarator_template_parameters(), dependent_base_p(), do_friend(), duplicate_decls(), expand_body(), explicit_class_specialization_p(), get_bindings(), get_bindings_real(), grokdeclarator(), grokoptypename(), instantiate_class_template(), lookup_name_real(), lookup_template_class(), make_friend_class(), make_typename_type(), make_unbound_class_template(), mark_used(), maybe_fold_nontype_arg(), maybe_retrofit_in_chrg(), push_tinst_level(), register_specialization(), start_decl_1(), supplement_binding(), template_class_depth(), template_class_depth_real(), try_one_overload(), tsubst(), tsubst_copy(), tsubst_decl(), tsubst_default_arguments(), type_unification_real(), unify(), uses_template_parms(), WFE_Expand_Decl(), WFE_Process_Template_Decl(), and xref_basetypes().
| int uses_template_parms_level | ( | tree | , | |
| int | ||||
| ) |
Definition at line 4977 of file pt.c.
References for_each_template_parm(), NULL, and template_parm_this_level_p().
Definition at line 12130 of file pt.c.
References args, DECL_INITIAL, DECL_P, DECL_TEMPLATE_PARM_P, dependent_scope_ref_p(), dependent_type_p(), EXPR_P, function, gcc_assert, gcc_unreachable, i, INTEGRAL_OR_ENUMERATION_TYPE_P, processing_template_decl, tcc_binary, tcc_comparison, tcc_expression, tcc_reference, tcc_statement, tcc_unary, TREE_CHAIN, TREE_CODE, TREE_CODE_CLASS, TREE_CODE_LENGTH, TREE_OPERAND, TREE_TYPE, TREE_VALUE, type_dependent_expression_p(), TYPE_P, and value_dependent_expression_p().
| int varargs_function_p | ( | tree | ) |
Definition at line 1875 of file tree.c.
References TREE_CHAIN, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, and void_type_node.
Referenced by build_new_1(), cp_cannot_inline_tree_fn(), and use_thunk().
| VEC | ( | deferred_access_check | , | |
| gc | ||||
| ) |
Definition at line 1293 of file tree.c.
References htab_create(), htab_delete(), htab_eq_pointer, htab_hash_pointer, NULL, verify_stmt_tree_r(), and walk_tree().
| int walk_namespaces | ( | walk_namespaces_fn | , | |
| void * | ||||
| ) |
Definition at line 2145 of file decl.c.
References global_namespace, and walk_namespaces_r().
Referenced by cp_finish_file(), finish_file(), walk_globals(), and walk_vtables().
Definition at line 987 of file decl.c.
References cp_pedwarn_at(), DECL_ARTIFICIAL, DECL_ASSEMBLER_NAME, DECL_STATIC_FUNCTION_P, DECL_THIS_STATIC, pedwarn(), and TREE_CODE.
Definition at line 2209 of file decl.c.
References check_global_declarations(), emit_debug_global_declarations(), len, NAMESPACE_LEVEL, VARRAY_ACTIVE_SIZE, VARRAY_TREE, varray_type, VEC, vec, VEC_address, VEC_length, and wrapup_global_declarations().
Referenced by cp_finish_file(), and finish_file().
Definition at line 13816 of file decl.c.
References access, access_default_node, access_default_virtual_node, access_private_node, access_private_virtual_node, access_protected_node, access_protected_virtual_node, access_public_node, access_public_virtual_node, base, BINFO_BASE_ACCESS_APPEND, BINFO_BASE_ACCESSES, BINFO_BASE_APPEND, BINFO_BASE_ITERATE, BINFO_BASETYPES, BINFO_INHERITANCE_CHAIN, BINFO_OFFSET, BINFO_TYPE, class_type, CLASS_TYPE_P, CLASSTYPE_DECLARED_CLASS, CLASSTYPE_DIAMOND_SHAPED_P, CLASSTYPE_MARKED, CLASSTYPE_NON_AGGREGATE, CLASSTYPE_REPEATED_BASE_P, CLASSTYPE_VBASECLASSES, CLEAR_CLASSTYPE_MARKED, complete_type(), complete_type_or_else, COMPLETE_TYPE_P, copy_binfo(), current_lang_depth(), current_template_parms, dependent_type_p(), error(), error_mark_node, gcc_assert, get_vbase_types(), i, len, list_length(), make_binfo(), make_tree_binfo, make_tree_vec, NULL, NULL_TREE, processing_template_decl, record_type, SET_CLASSTYPE_MARKED, size_zero_node, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TREE_VEC_ELT, TREE_VEC_LENGTH, TREE_VIA_PROTECTED, TREE_VIA_PUBLIC, TREE_VIA_VIRTUAL, TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_BINFO, TYPE_BINFO_VIRTUALS, TYPE_BINFO_VTABLE, TYPE_FOR_JAVA, TYPE_GETS_DELETE, TYPE_HAS_ARRAY_NEW_OPERATOR, TYPE_HAS_CONVERSION, TYPE_HAS_NEW_OPERATOR, TYPE_MAIN_VARIANT, TYPE_MARKED_P, TYPE_SIZE, TYPE_USES_MULTIPLE_INHERITANCE, TYPE_USES_VIRTUAL_BASECLASSES, unshare_base_binfos(), uses_template_parms(), VEC_alloc, VEC_length, and VEC_space.
Referenced by build_ptrmemfunc_type(), cp_parser_class_head(), cp_parser_class_specifier(), and instantiate_class_template().
Definition at line 9205 of file decl.c.
References ANON_AGGRNAME_P, class_type, CLASS_TYPE_P, CLASSTYPE_IS_TEMPLATE, current_class_type, current_template_parms, DECL_ANTICIPATED, DECL_FRIEND_P, enum_type, error(), error_mark_node, gcc_assert, gcc_unreachable, hidden_name_p(), IS_AGGR_TYPE, lookup_and_check_tag(), make_aggr_type(), NULL_TREE, POP_TIMEVAR_AND_RETURN, processing_template_decl, pushtag(), record_type, redeclare_class_template(), template_class_depth(), timevar_push, TREE_CODE, ts_current, ts_within_enclosing_non_class, TYPE_CONTEXT, TYPE_NAME, TYPE_TEMPLATE_INFO, TYPE_TI_TEMPLATE, and union_type.
Definition at line 9336 of file decl.c.
References class_type, CLASSTYPE_DECLARED_CLASS, NULL_TREE, record_type, TREE_CODE, TYPE_IDENTIFIER, union_type, and xref_tag().
| void yyerror | ( | const char * | ) |
| void yyhook | ( | int | ) |
| void yyungetc | ( | int | , | |
| int | ||||
| ) |
| int zero_init_p | ( | tree | ) |
Definition at line 1989 of file tree.c.
References CLASS_TYPE_P, CLASSTYPE_NON_ZERO_INIT_P, error_mark_node, strip_array_types(), and TYPE_PTRMEM_P.
Referenced by build_zero_init(), check_field_decls(), and process_init_constructor().
| const char ** assignop_tab |
| int at_eof |
Definition at line 48 of file class.c.
Referenced by currently_open_class(), currently_open_derived_class(), enter_scope_of(), finish_decl_parsing(), grokdeclarator(), grokfield(), init_class_processing(), maybe_note_name_used_in_class(), note_name_declared_in_class(), pop_class_stack(), popclass(), poplevel_class(), push_class_stack(), and pushclass().
Definition at line 4261 of file cp-tree.h.
Referenced by cp_parser_pre_parsed_nested_name_specifier(), cp_parser_template_declaration_after_export(), cp_parser_template_id(), GTY(), perform_access_checks(), perform_or_defer_access_check(), and pop_to_parent_deferring_access_checks().
| int function_depth |
| gc* local_classes |
| const char** opname_tab |
| bool statement_code_p[MAX_TREE_CODES] |
Definition at line 198 of file c-common.c.
Referenced by c_safe_from_p(), copy_tree_r(), cxx_init(), tsubst_expr(), verify_stmt_tree_r(), walk_stmt_tree(), and walk_tree().
Definition at line 4200 of file cp-tree.h.
Referenced by cp_finish_file(), get_tinfo_decl(), and VEC().
1.5.6