Home
last modified time | relevance | path

Searched refs:last_decl (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dattribs.c357 diag_attr_exclusions (tree last_decl, tree node, tree attrname, in diag_attr_exclusions() argument
375 if (last_decl && last_decl != node && TREE_TYPE (last_decl) != node) in diag_attr_exclusions()
379 found |= diag_attr_exclusions (last_decl, last_decl, attrname, spec); in diag_attr_exclusions()
380 tree decl_type = TREE_TYPE (last_decl); in diag_attr_exclusions()
381 found |= diag_attr_exclusions (last_decl, decl_type, attrname, spec); in diag_attr_exclusions()
435 bool note = last_decl != NULL_TREE; in diag_attr_exclusions()
451 inform (DECL_SOURCE_LOCATION (last_decl), in diag_attr_exclusions()
470 tree last_decl /* = NULL_TREE */) in decl_attributes() argument
681 && !error_operand_p (last_decl)) in decl_attributes()
695 bool no_add = diag_attr_exclusions (last_decl, *anode, name, spec); in decl_attributes()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dattribs.cc447 diag_attr_exclusions (tree last_decl, tree node, tree attrname, in diag_attr_exclusions() argument
465 if (last_decl && last_decl != node && TREE_TYPE (last_decl) != node) in diag_attr_exclusions()
469 found |= diag_attr_exclusions (last_decl, last_decl, attrname, spec); in diag_attr_exclusions()
470 tree decl_type = TREE_TYPE (last_decl); in diag_attr_exclusions()
471 found |= diag_attr_exclusions (last_decl, decl_type, attrname, spec); in diag_attr_exclusions()
530 bool note = last_decl != NULL_TREE; in diag_attr_exclusions()
546 inform (DECL_SOURCE_LOCATION (last_decl), in diag_attr_exclusions()
604 tree last_decl /* = NULL_TREE */) in decl_attributes() argument
828 && !error_operand_p (last_decl)) in decl_attributes()
842 bool no_add = diag_attr_exclusions (last_decl, *anode, name, spec); in decl_attributes()
[all …]
H A DChangeLog-202024845 if last_decl is error_mark_node or has such a TREE_TYPE.
24849 if last_decl is error_mark_node or has such a TREE_TYPE.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl2.c1499 tree last_decl = NULL_TREE; in find_last_decl() local
1508 last_decl = lookup_name (name); in find_last_decl()
1515 if (last_decl && BASELINK_P (last_decl)) in find_last_decl()
1516 last_decl = BASELINK_FUNCTIONS (last_decl); in find_last_decl()
1519 if (!last_decl) in find_last_decl()
1522 if (DECL_P (last_decl) || TREE_CODE (last_decl) == OVERLOAD) in find_last_decl()
1525 for (lkp_iterator iter (last_decl); iter; ++iter) in find_last_decl()
1594 tree last_decl = find_last_decl (*decl); in cplus_decl_attributes() local
1595 decl_attributes (decl, attributes, flags, last_decl); in cplus_decl_attributes()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl2.cc1637 tree last_decl = NULL_TREE; in find_last_decl() local
1646 last_decl = lookup_name (name); in find_last_decl()
1653 if (last_decl && BASELINK_P (last_decl)) in find_last_decl()
1654 last_decl = BASELINK_FUNCTIONS (last_decl); in find_last_decl()
1657 if (!last_decl) in find_last_decl()
1660 if (DECL_P (last_decl) || TREE_CODE (last_decl) == OVERLOAD) in find_last_decl()
1663 for (lkp_iterator iter (last_decl); iter; ++iter) in find_last_decl()
1765 tree last_decl = find_last_decl (*decl); in cplus_decl_attributes() local
1766 decl_attributes (decl, attributes, flags, last_decl); in cplus_decl_attributes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-attribs.c1976 tree last_decl = node[1] ? node[1] : *node; in common_handle_aligned_attribute() local
2058 || ((lastalign = DECL_ALIGN (last_decl)) > bitalign))) in common_handle_aligned_attribute()
2072 || DECL_USER_ALIGN (last_decl))) in common_handle_aligned_attribute()
2079 inform (DECL_SOURCE_LOCATION (last_decl), in common_handle_aligned_attribute()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-attribs.cc2303 tree last_decl = node[1] ? node[1] : *node; in common_handle_aligned_attribute() local
2385 | ((lastalign = DECL_ALIGN (last_decl)) > bitalign))) in common_handle_aligned_attribute()
2392 && (DECL_USER_ALIGN (last_decl) in common_handle_aligned_attribute()
2402 || DECL_USER_ALIGN (last_decl))) in common_handle_aligned_attribute()
2409 inform (DECL_SOURCE_LOCATION (last_decl), in common_handle_aligned_attribute()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc5043 tree last_decl = lookup_name (DECL_NAME (decl)); in lookup_last_decl() local
5044 if (!last_decl) in lookup_last_decl()
5045 last_decl = lookup_name_in_scope (DECL_NAME (decl), external_scope); in lookup_last_decl()
5046 return last_decl; in lookup_last_decl()
5077 tree last_decl = lookup_last_decl (*node); in c_decl_attributes() local
5078 return decl_attributes (node, attributes, flags, last_decl); in c_decl_attributes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c4974 tree last_decl = lookup_name (DECL_NAME (*node)); in c_decl_attributes() local
4975 if (!last_decl) in c_decl_attributes()
4976 last_decl = lookup_name_in_scope (DECL_NAME (*node), external_scope); in c_decl_attributes()
4978 return decl_attributes (node, attributes, flags, last_decl); in c_decl_attributes()