Lines Matching refs:var_decl
3052 var_decl* anonymous_data_member_;
3122 const var_decl*
3133 dm_context_rel::set_anonymous_data_member(var_decl* anon_dm)
5598 /// Test if a var_decl is a data member.
5600 /// @param v the var_decl to consider.
5604 is_data_member(const var_decl& v)
5607 /// Test if a var_decl is a data member.
5609 /// @param v the var_decl to consider.
5613 is_data_member(const var_decl* v)
5616 /// Test if a var_decl is a data member.
5618 /// @param v the var_decl to consider.
5665 var_decl*
5668 if (var_decl *v = is_var_decl(d))
5680 var_decl*
5683 if (var_decl *v = is_var_decl(d))
5774 /// @return the var_decl representing the data member iff @p d is an
5776 const var_decl*
5779 if (const var_decl* v = is_data_member(d))
5791 /// @return a non-nil pointer to the @ref var_decl denoted by @p d if
5793 const var_decl*
5796 if (const var_decl* v = is_data_member(d))
5808 /// @return a non-nil pointer to the @ref var_decl denoted by @p d if
5825 /// @return a non-nil pointer to the @ref var_decl denoted by @p d if
5835 /// Test if a @ref var_decl is an anonymous data member.
5837 /// @param d the @ref var_decl to consider.
5839 /// @return a non-nil pointer to the @ref var_decl denoted by @p d if
5849 /// Test if a @ref var_decl is an anonymous data member.
5851 /// @param d the @ref var_decl to consider.
5853 /// @return a non-nil pointer to the @ref var_decl denoted by @p d if
5855 const var_decl*
5856 is_anonymous_data_member(const var_decl* d)
5863 /// Test if a @ref var_decl is an anonymous data member.
5865 /// @param d the @ref var_decl to consider.
5869 is_anonymous_data_member(const var_decl& d)
5884 anonymous_data_member_to_class_or_union(const var_decl* d)
5898 data_member_has_anonymous_type(const var_decl& d)
5915 data_member_has_anonymous_type(const var_decl* d)
5998 get_data_member_offset(const var_decl& m)
6023 {return get_data_member_offset(dynamic_pointer_cast<var_decl>(d));}
6064 get_absolute_data_member_offset(const var_decl& m)
6071 const var_decl *containing_anonymous_data_member =
6135 get_data_member_is_laid_out(const var_decl& m)
10604 var_decl*
10606 {return dynamic_cast<var_decl*>(const_cast<type_or_decl_base*>(tod));}
10616 {return dynamic_pointer_cast<var_decl>(decl);}
11498 /// Lookup a @ref var_decl in a scope.
11500 /// @param fqn the fuly qualified name of the @var_decl to lookup.
11504 /// @return the declaration of the @ref var_decl if found, NULL
11550 /// Gets the name of a var_decl node.
11552 /// @param node the var_decl node to get the name from.
11792 /// lookup a var_decl in a scope.
11795 /// var_decl to lookup.
11801 {return is_var_decl(lookup_node_in_scope<var_decl>(comps, skope));}
18761 // <var_decl definitions>
18763 struct var_decl::priv
18782 }; // end struct var_decl::priv
18784 /// Constructor of the @ref var_decl type.
18797 var_decl::var_decl(const string& name,
18815 var_decl::get_type() const
18826 var_decl::get_naked_type() const
18833 var_decl::get_binding() const
18840 var_decl::set_binding(decl_base::binding b)
18855 var_decl::set_symbol(const elf_symbol_sptr& sym)
18864 /// that was set using var_decl::set_symbol(). Please read the
18871 var_decl::get_symbol() const
18874 /// Create a new var_decl that is a clone of the current one.
18876 /// @return the cloned var_decl.
18878 var_decl::clone() const
18880 var_decl_sptr v(new var_decl(get_name(),
18902 /// Setter of the scope of the current var_decl.
18909 var_decl::set_scope(scope_decl* scope)
18917 /// Compares two instances of @ref var_decl.
18937 equals(const var_decl& l, const var_decl& r, change_kind* k)
18986 const_cast<var_decl&>(l).set_qualified_name(env.intern(""));
18987 const_cast<var_decl&>(r).set_qualified_name(env.intern(""));
18989 const_cast<var_decl&>(l).set_qualified_name(n1);
18990 const_cast<var_decl&>(r).set_qualified_name(n2);
19029 /// Comparison operator of @ref var_decl.
19031 /// @param o the instance of @ref var_decl to compare against.
19033 /// @return true iff the current instance of @ref var_decl equals @p o.
19035 var_decl::operator==(const decl_base& o) const
19037 const var_decl* other = dynamic_cast<const var_decl*>(&o);
19054 var_decl::get_id() const
19077 var_decl::get_hash() const
19079 var_decl::hash hash_var;
19086 /// Note that if the current instance of @ref var_decl is an anonymous
19110 var_decl::get_qualified_name(bool internal) const
19140 var_decl::get_pretty_representation(bool internal, bool qualified_name) const
19147 // Detect if the current instance of var_decl is a member of
19171 if (/*The current var_decl is to be used as an anonymous data
19220 /// If the current @ref var_decl is an anonymous data member, then
19225 /// Otherwise, just return the name of the current @ref var_decl.
19228 /// have an effet if the current @ref var_decl represents an anonymous
19231 var_decl::get_anon_dm_reliable_name(bool qualified) const
19254 var_decl::traverse(ir_node_visitor& v)
19269 var_decl::~var_decl()
19272 // </var_decl definitions>
21447 /// @param v a var_decl to add as a data member. A proper
21449 /// class_or_union. This var_decl should not have been already added
21514 /// @return a pointer to the @ref var_decl that represents the data
21567 /// This function takes a @ref var_decl as an argument. If it has a
21571 /// If it has an empty name, then the @ref var_decl is considered as
21574 /// var_decl argument.
21776 if (var_decl_sptr v = dynamic_pointer_cast<var_decl>(d))
24241 if (var_decl* v = is_var_decl(&d))
25744 if (var_decl* v = is_var_decl(d))
26210 const var_decl*
26486 ir_node_visitor::visit_begin(var_decl* d)
26490 ir_node_visitor::visit_end(var_decl* d)