Home
last modified time | relevance | path

Searched refs:TYPE_DECL (Results 1 – 25 of 162) sorted by relevance

1234567

/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Ddecl.c360 pushdecl (build_decl (TYPE_DECL, get_identifier (name), type));
432 pushdecl (build_decl (TYPE_DECL, get_identifier ("byte"), byte_type_node)); in java_init_decl_processing()
434 pushdecl (build_decl (TYPE_DECL, get_identifier ("short"), short_type_node)); in java_init_decl_processing()
436 pushdecl (build_decl (TYPE_DECL, get_identifier ("int"), int_type_node)); in java_init_decl_processing()
438 pushdecl (build_decl (TYPE_DECL, get_identifier ("long"), long_type_node)); in java_init_decl_processing()
441 pushdecl (build_decl (TYPE_DECL, get_identifier ("unsigned byte"), in java_init_decl_processing()
444 pushdecl (build_decl (TYPE_DECL, get_identifier ("unsigned short"), in java_init_decl_processing()
447 pushdecl (build_decl (TYPE_DECL, get_identifier ("unsigned int"), in java_init_decl_processing()
450 pushdecl (build_decl (TYPE_DECL, get_identifier ("unsigned long"), in java_init_decl_processing()
487 pushdecl (build_decl (TYPE_DECL, get_identifier ("void"), void_type_node)); in java_init_decl_processing()
[all …]
/openbsd-src/gnu/gcc/gcc/objcp/
H A Dobjcp-decl.h59 (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL \
64 if(TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL) \
/openbsd-src/gnu/gcc/gcc/
H A Ddbxout.c1081 if (TREE_CODE (syms) == TYPE_DECL) in dbxout_typedefs()
1085 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_typedefs()
1406 if (TREE_CODE (tem) == TYPE_DECL in dbxout_type_fields()
1671 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1677 if (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1723 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL) in dbxout_type()
1769 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
2012 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
2136 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
2279 case TYPE_DECL: in dbxout_type_name()
[all …]
H A Dc-common.c1917 decl = build_decl (TYPE_DECL, get_identifier (name), type); in c_register_builtin_type()
3155 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3157 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3159 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3161 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3165 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, in c_common_nodes_and_builtins()
3169 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3171 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3173 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3175 lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
[all …]
H A Dc-pretty-print.c248 if (!TYPE_P (t) && TREE_CODE (t) != TYPE_DECL) in pp_c_pointer()
355 case TYPE_DECL: in pp_c_type_specifier()
548 case TYPE_DECL: in pp_c_direct_abstract_declarator()
577 if (TREE_CODE (t) == TYPE_DECL) in pp_c_storage_class_specifier()
629 case TYPE_DECL: in pp_c_direct_declarator()
693 case TYPE_DECL: in pp_c_declarator()
1226 case TYPE_DECL: in pp_c_id_expression()
H A Dc-aux-info.c307 if (TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL) in gen_type()
425 case TYPE_DECL: in gen_type()
H A Dc-decl.c518 case TYPE_DECL: in bind()
825 case TYPE_DECL: in pop_scope()
843 if (TREE_CODE (p) == TYPE_DECL) in pop_scope()
981 TYPE_STUB_DECL (type) = pushdecl (build_decl (TYPE_DECL, NULL_TREE, type)); in pushtag()
1283 if (TREE_CODE (newdecl) == TYPE_DECL) in diagnose_mismatched_decls()
1654 && TREE_CODE (newdecl) != TYPE_DECL in merge_decls()
1868 case TYPE_DECL: in merge_decls()
2075 if ((TREE_CODE (x) == VAR_DECL || TREE_CODE (x) == TYPE_DECL) in pushdecl()
2270 if (TREE_CODE (x) == TYPE_DECL) in pushdecl()
2295 && (TREE_CODE (x) != TYPE_DECL in pushdecl()
[all …]
H A Dc-objc-common.c202 if (name && TREE_CODE (name) == TYPE_DECL) in c_tree_printer()
H A Dsdbout.c443 else if (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL) in sdbout_record_type_name()
501 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in plain_type_1()
731 case TYPE_DECL: in sdbout_symbol()
1158 else if (TREE_CODE (TYPE_NAME (child_type)) == TYPE_DECL) in sdbout_one_type()
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Ddecl.c1199 if (TREE_CODE (decl) == TYPE_DECL && DECL_ARTIFICIAL (decl))
1207 else if (TREE_CODE (BINDING_VALUE (binding)) == TYPE_DECL
1219 else if (TREE_CODE (BINDING_VALUE (binding)) == TYPE_DECL
1220 && TREE_CODE (decl) == TYPE_DECL
1691 == TYPE_DECL))
1693 && TREE_CODE (ns_binding) == TYPE_DECL))
2023 return (TREE_CODE (t) == TYPE_DECL
2256 && (TREE_CODE (t) == TYPE_DECL)
2928 decl = build_decl (TYPE_DECL, name, type);
3087 if (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL)
[all …]
H A Dsearch.c499 if (TREE_CODE (field) != TYPE_DECL in lookup_field_1()
543 || TREE_CODE (field) == TYPE_DECL in lookup_field_1()
1017 || (TREE_CODE (val) != TEMPLATE_DECL && TREE_CODE (val) != TYPE_DECL)
1238 && TREE_CODE (decl) == TYPE_DECL
1258 if (TREE_CODE (t) == VAR_DECL || TREE_CODE (t) == TYPE_DECL \
1310 if (lfi->want_type && TREE_CODE (nval) != TYPE_DECL
1321 && TREE_CODE (nval) == TYPE_DECL)
1399 if (from_dep_base_p && TREE_CODE (nval) != TYPE_DECL
1479 && ! (want_type && TREE_CODE (field) != TYPE_DECL))
2623 && (TREE_CODE (value_binding) == TYPE_DECL
[all …]
H A Derror.c243 if (TREE_CODE (p) == TYPE_DECL)
265 if (TREE_CODE (p) == TYPE_DECL || TREE_CODE (p) == TEMPLATE_DECL)
357 case TYPE_DECL:
681 case TYPE_DECL:
778 case TYPE_DECL:
847 case TYPE_DECL:
1072 if (TREE_CODE (DECL_TEMPLATE_RESULT (t)) == TYPE_DECL)
2227 if (TREE_CODE (t) == TYPE_DECL && DECL_ARTIFICIAL (t)
2255 if (TREE_CODE (decl) == TYPE_DECL || TREE_CODE (decl) == RECORD_TYPE
H A Dpt.c410 case TYPE_DECL:
922 my_friendly_assert (TREE_CODE (decl) == TYPE_DECL, 0);
2097 if (TREE_CODE (p) == TYPE_DECL || TREE_CODE (p) == TEMPLATE_DECL)
2148 decl = build_decl (TYPE_DECL, parm, t);
2246 if (TREE_CODE (t) == TYPE_DECL in current_template_args()
2599 if (TREE_CODE (decl) != TYPE_DECL || is_partial || !is_primary)
2745 else if (TREE_CODE (decl) == TYPE_DECL
2815 if (TREE_CODE (decl) == TYPE_DECL)
3440 case TYPE_DECL:
3511 requires_type = (TREE_CODE (parm) == TYPE_DECL
[all …]
H A Ddecl2.c575 || (TREE_CODE (decl) == TYPE_DECL
934 if (TREE_CODE (value) == TYPE_DECL && init)
951 if (TREE_CODE (value) == TYPE_DECL)
1088 if (TREE_CODE (value) == TYPE_DECL)
1221 if (TREE_CODE (*decl) == TYPE_DECL)
1246 if (TREE_CODE (thing) == TYPE_DECL
1248 && TREE_CODE (DECL_TEMPLATE_RESULT (thing)) == TYPE_DECL))
1477 TYPE_NAME (type) = build_decl (TYPE_DECL, get_identifier (name), type);
3826 case TYPE_DECL: in ambiguous_decl()
4528 || TREE_CODE (decl) == TYPE_DECL
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Ddbxout.c522 if (TREE_CODE (syms) == TYPE_DECL)
526 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
805 if (TREE_CODE (tem) == TYPE_DECL
1128 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
1134 if (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
1212 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
1539 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
1680 && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
1886 else if (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL)
1914 if (TREE_CODE (name) == TYPE_DECL)
[all …]
H A Dc-common.c3272 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3274 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3276 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3278 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3281 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, in c_common_nodes_and_builtins()
3285 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3287 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3289 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3291 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, NULL_TREE, in c_common_nodes_and_builtins()
3294 (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL, in c_common_nodes_and_builtins()
[all …]
H A Dc-decl.c843 TYPE_STUB_DECL (type) = pushdecl (build_decl (TYPE_DECL, NULL_TREE, type));
1194 else if (TREE_CODE (newdecl) == TYPE_DECL
1353 && TREE_CODE (newdecl) != TYPE_DECL
1702 if (! t || TREE_CODE (t) == TYPE_DECL)
1791 if (TREE_CODE (x) == TYPE_DECL)
1896 else if (TREE_CODE (x) == TYPE_DECL)
2017 && (TREE_CODE (x) != TYPE_DECL
2130 if (TREE_CODE (newdecl) == TYPE_DECL)
2515 pushdecl (build_decl (TYPE_DECL, get_identifier ("_Bool"), in c_init_decl_processing()
2846 case TYPE_DECL:
[all …]
H A Dc-aux-info.c314 if (TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL)
432 case TYPE_DECL:
/openbsd-src/gnu/gcc/gcc/cp/
H A Dname-lookup.c428 if (TREE_CODE (decl) == TYPE_DECL && DECL_ARTIFICIAL (decl)) in supplement_binding()
447 else if (TREE_CODE (bval) == TYPE_DECL && DECL_ARTIFICIAL (bval)) in supplement_binding()
458 else if (TREE_CODE (bval) == TYPE_DECL in supplement_binding()
459 && TREE_CODE (decl) == TYPE_DECL in supplement_binding()
729 if (TREE_CODE (t) == TYPE_DECL) in pushdecl_maybe_friend()
786 if (TREE_CODE (x) == TYPE_DECL) in pushdecl_maybe_friend()
861 if (!(TREE_CODE (x) == TYPE_DECL && DECL_ARTIFICIAL (x) in pushdecl_maybe_friend()
863 && (TREE_CODE (x) == TYPE_DECL in pushdecl_maybe_friend()
891 if (TREE_CODE (x) == TYPE_DECL) in pushdecl_maybe_friend()
1544 && (TREE_CODE (t) == TYPE_DECL) in print_binding_level()
[all …]
H A Dcxx-pretty-print.c154 case TYPE_DECL: in pp_cxx_unqualified_id()
1023 case TYPE_DECL: in pp_cxx_decl_specifier_seq()
1114 case TYPE_DECL: in pp_cxx_type_specifier_seq()
1140 if (!TYPE_P (t) && TREE_CODE (t) != TYPE_DECL) in pp_cxx_ptr_operator()
1462 case TYPE_DECL: in pp_cxx_type_id()
1814 case TYPE_DECL: in pp_cxx_template_parameter()
1936 case TYPE_DECL: in pp_cxx_declaration()
H A Ddecl.c639 else if ((ob && (TREE_CODE (ob->value) == TYPE_DECL)) in poplevel()
640 || (ns_binding && TREE_CODE (ns_binding) == TYPE_DECL)) in poplevel()
861 decl = build_decl (TYPE_DECL, name, type); in create_implicit_typedef()
986 if (TREE_CODE (DECL_TEMPLATE_RESULT (newdecl)) == TYPE_DECL) in decls_match()
1036 if (TREE_CODE (newdecl) == TYPE_DECL in warn_extern_redeclared_static()
1296 if ((TREE_CODE (olddecl) == TYPE_DECL && DECL_ARTIFICIAL (olddecl) in duplicate_decls()
1297 && TREE_CODE (newdecl) != TYPE_DECL in duplicate_decls()
1299 && TREE_CODE (DECL_TEMPLATE_RESULT (newdecl)) == TYPE_DECL)) in duplicate_decls()
1300 || (TREE_CODE (newdecl) == TYPE_DECL && DECL_ARTIFICIAL (newdecl) in duplicate_decls()
1301 && TREE_CODE (olddecl) != TYPE_DECL in duplicate_decls()
[all …]
H A Dfriend.c325 if (!template_member_p && (TREE_CODE (decl) != TYPE_DECL in make_friend_class()
451 if (TREE_CODE (cname) == TYPE_DECL) in do_friend()
H A Derror.c178 if (TREE_CODE (p) == TYPE_DECL) in dump_template_parameter()
199 if (TREE_CODE (p) == TYPE_DECL || TREE_CODE (p) == TEMPLATE_DECL) in dump_template_parameter()
290 case TYPE_DECL: in dump_type()
562 case TYPE_DECL: in dump_type_prefix()
658 case TYPE_DECL: in dump_type_suffix()
721 case TYPE_DECL: in dump_decl()
956 if (TREE_CODE (DECL_TEMPLATE_RESULT (t)) == TYPE_DECL) in dump_template_decl()
2012 if (TREE_CODE (decl) == TYPE_DECL || TREE_CODE (decl) == RECORD_TYPE in decl_to_string()
H A Dpt.c222 if (TREE_CODE (decl) == TYPE_DECL) in finish_member_template_decl()
348 case TYPE_DECL: in push_inline_template_parms_recursive()
891 && TREE_CODE (DECL_TEMPLATE_RESULT (tmpl)) == TYPE_DECL) in retrieve_specialization()
947 gcc_assert (TREE_CODE (decl) == TYPE_DECL); in is_specialization_of()
970 || TREE_CODE (decl) == TYPE_DECL); in is_specialization_of_friend()
2400 if (TREE_CODE (p) == TYPE_DECL || TREE_CODE (p) == TEMPLATE_DECL) in process_template_parm()
2469 decl = build_decl (TYPE_DECL, parm, t); in process_template_parm()
2568 if (TREE_CODE (t) == TYPE_DECL in current_template_args()
2922 if (TREE_CODE (decl) != TYPE_DECL || is_partial || !is_primary) in check_default_tmpl_args()
3082 if (TREE_CODE (decl) == TYPE_DECL in push_template_decl_real()
[all …]
H A Ddecl2.c445 || (TREE_CODE (decl) == TYPE_DECL in check_member_template()
778 if (TREE_CODE (value) == TYPE_DECL && init) in grokfield()
801 if (TREE_CODE (value) == TYPE_DECL) in grokfield()
952 if (TREE_CODE (value) == TYPE_DECL) in grokbitfield()
1007 if (TREE_CODE (*decl) == TYPE_DECL) in cplus_decl_attributes()
1672 if (TREE_CODE (decl) == TYPE_DECL) in determine_visibility()
1689 TREE_CODE (decl) == TYPE_DECL in determine_visibility()
1755 tree tinfo = (TREE_CODE (decl) == TYPE_DECL in determine_visibility()
1786 else if (TREE_CODE (decl) != TYPE_DECL) in determine_visibility()

1234567