Home
last modified time | relevance | path

Searched refs:decl_p (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl2.c1262 save_template_attributes (tree *attr_p, tree *decl_p, int flags) in save_template_attributes() argument
1269 tree late_attrs = splice_template_attributes (attr_p, *decl_p); in save_template_attributes()
1273 if (DECL_P (*decl_p)) in save_template_attributes()
1274 q = &DECL_ATTRIBUTES (*decl_p); in save_template_attributes()
1276 q = &TYPE_ATTRIBUTES (*decl_p); in save_template_attributes()
1284 && !DECL_P (*decl_p) in save_template_attributes()
1287 if (!dependent_type_p (*decl_p)) in save_template_attributes()
1288 *decl_p = cp_build_type_attribute_variant (*decl_p, late_attrs); in save_template_attributes()
1291 *decl_p = build_variant_type_copy (*decl_p); in save_template_attributes()
1292 TYPE_ATTRIBUTES (*decl_p) = late_attrs; in save_template_attributes()
[all …]
H A Dpt.c11293 tsubst_attribute (tree t, tree *decl_p, tree args, in tsubst_attribute() argument
11308 c_omp_declare_simd_clauses_to_decls (*decl_p, clauses); in tsubst_attribute()
11310 tree parms = DECL_ARGUMENTS (*decl_p); in tsubst_attribute()
11345 c_omp_declare_simd_clauses_to_decls (*decl_p, clauses); in tsubst_attribute()
11483 apply_late_template_attributes (tree *decl_p, tree attributes, int attr_flags, in apply_late_template_attributes() argument
11493 if (DECL_P (*decl_p)) in apply_late_template_attributes()
11495 if (TREE_TYPE (*decl_p) == error_mark_node) in apply_late_template_attributes()
11497 p = &DECL_ATTRIBUTES (*decl_p); in apply_late_template_attributes()
11504 p = &TYPE_ATTRIBUTES (*decl_p); in apply_late_template_attributes()
11533 *q = tsubst_attribute (t, decl_p, args, complain, in_decl); in apply_late_template_attributes()
[all …]
H A Dparser.c31170 bool decl_p) in cp_parser_check_class_key() argument
31197 class_decl_loc_t::add (parser, key_loc, class_key, type, def_p, decl_p); in cp_parser_check_class_key()
31229 tag_types class_key, tree type, bool def_p, bool decl_p) in add() argument
31242 bool key_redundant = (!def_p && !decl_p in add()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl2.cc1405 save_template_attributes (tree late_attrs, tree *decl_p, int flags) in save_template_attributes() argument
1412 if (DECL_P (*decl_p)) in save_template_attributes()
1413 q = &DECL_ATTRIBUTES (*decl_p); in save_template_attributes()
1415 q = &TYPE_ATTRIBUTES (*decl_p); in save_template_attributes()
1423 && !DECL_P (*decl_p) in save_template_attributes()
1426 if (!dependent_type_p (*decl_p)) in save_template_attributes()
1427 *decl_p = cp_build_type_attribute_variant (*decl_p, late_attrs); in save_template_attributes()
1430 *decl_p = build_variant_type_copy (*decl_p); in save_template_attributes()
1431 TYPE_ATTRIBUTES (*decl_p) = late_attrs; in save_template_attributes()
1437 if (!DECL_P (*decl_p) && *decl_p == TYPE_MAIN_VARIANT (*decl_p)) in save_template_attributes()
[all …]
H A Dmodule.cc2565 void add_specializations (bool decl_p);
12829 specialization_add (bool decl_p, spec_entry *entry, void *data_) in specialization_add() argument
12833 if (!decl_p) in specialization_add()
12895 depset::hash::add_specializations (bool decl_p) in add_specializations() argument
12899 walk_specializations (decl_p, specialization_add, &data); in add_specializations()
12909 if (decl_p && DECL_UNINSTANTIATED_TEMPLATE_FRIEND_P (entry->tmpl)) in add_specializations()
12914 if (!decl_p && DECL_ALIAS_TEMPLATE_P (entry->tmpl)) in add_specializations()
12920 if (decl_p || is_alias) in add_specializations()
13010 gcc_checking_assert (!decl_p && is_alias && !dep->is_type_spec ()); in add_specializations()
13018 gcc_checking_assert (decl_p || !is_alias); in add_specializations()
[all …]
H A Dpt.cc11649 tsubst_attribute (tree t, tree *decl_p, tree args, in tsubst_attribute() argument
11664 c_omp_declare_simd_clauses_to_decls (*decl_p, clauses); in tsubst_attribute()
11666 tree parms = DECL_ARGUMENTS (*decl_p); in tsubst_attribute()
11701 c_omp_declare_simd_clauses_to_decls (*decl_p, clauses); in tsubst_attribute()
11842 apply_late_template_attributes (tree *decl_p, tree attributes, int attr_flags, in apply_late_template_attributes() argument
11851 if (DECL_P (*decl_p)) in apply_late_template_attributes()
11853 if (TREE_TYPE (*decl_p) == error_mark_node) in apply_late_template_attributes()
11855 p = &DECL_ATTRIBUTES (*decl_p); in apply_late_template_attributes()
11862 p = &TYPE_ATTRIBUTES (*decl_p); in apply_late_template_attributes()
11888 *q = tsubst_attribute (t, decl_p, args, complain, in_decl); in apply_late_template_attributes()
[all …]
H A Dparser.cc33454 bool decl_p) in cp_parser_check_class_key() argument
33481 class_decl_loc_t::add (parser, key_loc, class_key, type, def_p, decl_p); in cp_parser_check_class_key()
33513 tag_types class_key, tree type, bool def_p, bool decl_p) in add() argument
33526 bool key_redundant = (!def_p && !decl_p in add()
H A DChangeLog-201792 not ATTR_FLAG_TYPE_IN_PLACE, *decl_p is a type and we want to
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dubsan.c1441 bool decl_p = DECL_P (inner); in maybe_instrument_pointer_overflow() local
1443 if (decl_p) in maybe_instrument_pointer_overflow()
1487 if (decl_p) in maybe_instrument_pointer_overflow()
2108 bool decl_p = DECL_P (inner); in instrument_object_size() local
2110 if (decl_p) in instrument_object_size()
2153 if (decl_p) in instrument_object_size()
H A Dgimple-ssa-warn-restrict.c592 const bool decl_p = DECL_P (obj); in offset_out_of_bounds() local
609 && !decl_p in offset_out_of_bounds()
625 if ((decl_p && offrng[hib] < 0) || offrng[lob] > size) in offset_out_of_bounds()
636 && decl_p in offset_out_of_bounds()
H A Dvar-tracking.c1855 bool decl_p = dv_is_decl_p (dv); in var_reg_decl_set() local
1857 if (decl_p) in var_reg_decl_set()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dubsan.cc1459 bool decl_p = DECL_P (inner); in maybe_instrument_pointer_overflow() local
1461 if (decl_p) in maybe_instrument_pointer_overflow()
1505 if (decl_p) in maybe_instrument_pointer_overflow()
2138 bool decl_p = DECL_P (inner); in instrument_object_size() local
2140 if (decl_p) in instrument_object_size()
2183 if (decl_p) in instrument_object_size()
H A Dgimple-ssa-warn-restrict.cc612 const bool decl_p = DECL_P (obj); in offset_out_of_bounds() local
629 && !decl_p in offset_out_of_bounds()
645 if ((decl_p && offrng[hib] < 0) || offrng[lob] > size) in offset_out_of_bounds()
656 && decl_p in offset_out_of_bounds()
H A Dvar-tracking.cc1863 bool decl_p = dv_is_decl_p (dv); in var_reg_decl_set() local
1865 if (decl_p) in var_reg_decl_set()