Lines Matching defs:field_decl
1672 Determine if COMPONENT_REF is a simple field lookup of this->FIELD_DECL.
1678 <field_decl (FIELD_DECL)>>>. */
1681 field_access_p (tree component_ref, tree field_decl, tree field_type)
1695 if (TREE_OPERAND (component_ref, 1) != field_decl)
1703 determine if it is a simple accessor for FIELD_DECL
1716 <field_decl (FIELD_DECL)>>>>>. */
1719 direct_accessor_p (tree init_expr, tree field_decl, tree field_type)
1726 if (!field_access_p (component_ref, field_decl, field_type))
1735 determine if it is a "reference" accessor for FIELD_DECL
1749 <field (FIELD_DECL)>>>>>>. */
1751 reference_accessor_p (tree init_expr, tree field_decl, tree field_type,
1765 if (!field_access_p (component_ref, field_decl, field_type))
1771 /* Return true if FN is an accessor method for FIELD_DECL.
1779 field_accessor_p (tree fn, tree field_decl, bool const_p)
1785 if (TREE_CODE (field_decl) != FIELD_DECL)
1818 tree field_type = TREE_TYPE (field_decl);
1820 return direct_accessor_p (init_expr, field_decl, field_type);
1826 return reference_accessor_p (init_expr, field_decl, field_type,
1838 : field_decl (field_decl_), const_p (const_p_) {}
1840 tree field_decl;
1844 /* Return a FUNCTION_DECL that is an "accessor" method for DATA, a FIELD_DECL,
1869 if (field_accessor_p (fn, lfd->field_decl, lfd->const_p))
1875 /* Return a FUNCTION_DECL that is an "accessor" method for FIELD_DECL,
1879 locate_field_accessor (tree basetype_path, tree field_decl, bool const_p)
1886 locate_field_data lfd (field_decl, const_p);