Lines Matching refs:class_or_union

884   return is_comparison_cycle_detected(static_cast<const class_or_union&>(l),
885 static_cast<const class_or_union&>(r));
948 return mark_types_as_being_compared(static_cast<const class_or_union&>(l),
949 static_cast<const class_or_union&>(r));
987 return unmark_types_as_being_compared(static_cast<const class_or_union&>(l),
988 static_cast<const class_or_union&>(r));
5739 for (class_or_union::data_members::const_iterator it =
5877 /// Get the @ref class_or_union type of a given anonymous data member.
5881 /// @return the @ref class_or_union type of the anonymous data member
5883 class_or_union*
5932 /// Get the @ref class_or_union type of a given anonymous data member.
5936 /// @return the @ref class_or_union type of the anonymous data member
7725 /// @return a vector of the member types of this ref class_or_union.
7763 /// Add a member type to the current instance of class_or_union.
7771 /// Add a member type to the current instance of class_or_union.
7774 /// instance of class_or_union. An instance of class_or_union::member_type
7789 /// Remove a member type from the current @ref class_or_union scope.
7810 /// class_or_union.
9132 /// Get the flat representation of an instance of @ref class_or_union
9135 /// The flat representation of a given @ref class_or_union type is the
9140 ///@param cou the instance of @ref class_or_union to consider.
9149 get_class_or_union_flat_representation(const class_or_union& cou,
9184 const class_or_union::data_members &dmems = cou.get_data_members();
9185 for (class_or_union::data_members::const_iterator dm = dmems.begin();
9227 /// Get the flat representation of an instance of @ref class_or_union
9230 /// The flat representation of a given @ref class_or_union type is the
9235 ///@param cou the instance of @ref class_or_union to consider.
9244 get_class_or_union_flat_representation(const class_or_union* cou,
9256 /// Get the flat representation of an instance of @ref class_or_union
9259 /// The flat representation of a given @ref class_or_union type is the
9264 ///@param cou the instance of @ref class_or_union to consider.
9300 class_or_union * c = is_class_or_union_type(artifact);
9399 get_data_member(class_or_union *clazz, const char* member_name)
9721 class_or_union*
9730 class_or_union*
9744 class_or_union*
9748 if (class_or_union* cl = is_class_type(scope))
9750 if (class_or_union* cl = is_union_type(scope))
9768 const class_or_union* containing_class_or_union =
9979 if (class_or_union *cou = is_class_or_union_type(t))
10216 if (const class_or_union *klass = is_class_or_union_type(t))
10230 /// Test if a type is a @ref class_or_union.
10234 /// @return the @ref class_or_union is @p is a @ref class_or_union, or
10236 class_or_union*
10238 {return dynamic_cast<class_or_union*>(const_cast<type_or_decl_base*>(t));}
10240 /// Test if a type is a @ref class_or_union.
10244 /// @return the @ref class_or_union is @p is a @ref class_or_union, or
10246 shared_ptr<class_or_union>
10248 {return dynamic_pointer_cast<class_or_union>(t);}
10463 class_or_union*
10464 look_through_decl_only_class(class_or_union* the_class)
10474 look_through_decl_only_class(const class_or_union& the_class)
13972 class_or_union *c1 = 0, *c2 = 0;
14146 class_or_union_sptr class_or_union = is_class_or_union_type(t);
14157 if (class_or_union)
14158 if (class_or_union->get_is_declaration_only())
14170 ABG_ASSERT(!class_or_union
14171 || !class_or_union->get_is_anonymous()
14172 || class_or_union->get_linkage_name().empty());
18891 class_or_union* scope = is_class_or_union_type(get_scope());
19150 if (class_or_union* scope = is_at_class_scope(this))
19533 class_or_union* l_class = 0, *r_class = 0;
20393 class_or_union* scope = is_class_or_union_type(get_scope());
21066 // <class_or_union definitions>
21068 /// A Constructor for instances of @ref class_or_union
21075 /// class_or_union, expressed in bits
21077 /// @param align_in_bits the alignment of an instance of @ref class_or_union,
21082 /// @param vis the visibility of instances of @ref class_or_union.
21085 /// @ref class_or_union.
21088 /// @ref class_or_union.
21091 /// of @ref class_or_union.
21092 class_or_union::class_or_union(const environment& env, const string& name,
21127 /// A constructor for instances of @ref class_or_union.
21134 /// class_or_union, expressed in bits
21136 /// @param align_in_bits the alignment of an instance of @ref class_or_union,
21141 /// @param vis the visibility of instances of @ref class_or_union.
21142 class_or_union::class_or_union(const environment& env, const string& name,
21156 /// Constructor of the @ref class_or_union type.
21160 /// @param name the name of the @ref class_or_union.
21164 class_or_union::class_or_union(const environment& env, const string& name,
21188 class_or_union::traverse(ir_node_visitor& v)
21260 /// Destrcutor of the @ref class_or_union type.
21261 class_or_union::~class_or_union()
21264 /// Add a member declaration to the current instance of class_or_union.
21270 class_or_union::add_member_decl(const decl_base_sptr& d)
21273 /// Remove a given decl from the current @ref class_or_union scope.
21280 /// class_or_union scope.
21282 class_or_union::remove_member_decl(decl_base_sptr decl)
21307 class_or_union::maybe_fixup_members_of_anon_data_member(var_decl_sptr& anon_dm)
21309 class_or_union * anon_dm_type =
21314 for (class_or_union::data_members::const_iterator it =
21326 /// Getter of the alignment of the @ref class_or_union type.
21328 /// If this @ref class_or_union is a declaration of a definition that
21331 /// @return the alignment of the @ref class_or_union type.
21333 class_or_union::get_alignment_in_bits() const
21349 class_or_union::set_alignment_in_bits(size_t a)
21358 /// Setter of the size of the @ref class_or_union type.
21360 /// If this @ref class_or_union is a declaration of a definition that
21365 class_or_union::set_size_in_bits(size_t s)
21374 /// Getter of the size of the @ref class_or_union type.
21376 /// If this @ref class_or_union is a declaration of a definition that
21379 /// @return the size of the @ref class_or_union type.
21381 class_or_union::get_size_in_bits() const
21396 class_or_union::get_num_anonymous_member_classes() const
21414 class_or_union::get_num_anonymous_member_unions() const
21432 class_or_union::get_num_anonymous_member_enums() const
21445 /// Add a data member to the current instance of class_or_union.
21448 /// class_or_union::data_member is created from @p v and added to the
21449 /// class_or_union. This var_decl should not have been already added
21463 class_or_union::add_data_member(var_decl_sptr v, access_specifier access,
21502 /// Get the data members of this @ref class_or_union.
21504 /// @return a vector of the data members of this @ref class_or_union.
21505 const class_or_union::data_members&
21506 class_or_union::get_data_members() const
21509 /// Find a data member of a given name in the current @ref class_or_union.
21512 /// @ref class_or_union.
21515 /// member to find inside the current @ref class_or_union.
21517 class_or_union::find_data_member(const string& name) const
21547 class_or_union::find_anonymous_data_member(const var_decl_sptr& v) const
21580 class_or_union::find_data_member(const var_decl_sptr& v) const
21592 /// Get the non-static data memebers of this @ref class_or_union.
21595 /// class_or_union.
21596 const class_or_union::data_members&
21597 class_or_union::get_non_static_data_members() const
21614 class_or_union::add_member_function(method_decl_sptr f,
21632 // so that class_or_union::find_member_function() can function.
21637 /// Get the member functions of this @ref class_or_union.
21640 /// class_or_union.
21641 const class_or_union::member_functions&
21642 class_or_union::get_member_functions() const
21651 class_or_union::find_member_function(const string& linkage_name) const
21653 return const_cast<class_or_union*>(this)->find_member_function(linkage_name);
21662 class_or_union::find_member_function(const string& linkage_name)
21677 class_or_union::find_member_function_sptr(const string& linkage_name)
21693 class_or_union::find_member_function_from_signature(const string& s) const
21695 return const_cast<class_or_union*>(this)->find_member_function_from_signature(s);
21705 class_or_union::find_member_function_from_signature(const string& s)
21718 class_or_union::get_member_function_templates() const
21725 class_or_union::get_member_class_templates() const
21728 /// Append a member function template to the @ref class_or_union.
21732 class_or_union::add_member_function_template(member_function_template_sptr m)
21742 /// Append a member class template to the @ref class_or_union.
21746 class_or_union::add_member_class_template(member_class_template_sptr m)
21759 class_or_union::has_no_member() const
21768 /// Insert a data member to this @ref class_or_union type.
21774 class_or_union::insert_member_decl(decl_base_sptr d)
21804 /// @param other the other @ref class_or_union to compare against.
21806 /// @return true iff @p other equals the current @ref class_or_union.
21808 class_or_union::operator==(const decl_base& other) const
21810 const class_or_union* op = dynamic_cast<const class_or_union*>(&other);
21816 const class_or_union *l = 0;
21818 l = dynamic_cast<const class_or_union*>(get_naked_definition_of_declaration());
21823 const class_or_union *r = 0;
21825 r = dynamic_cast<const class_or_union*>(op->get_naked_definition_of_declaration());
21834 /// @param other the other @ref class_or_union to compare against.
21836 /// @return true iff @p other equals the current @ref class_or_union.
21838 class_or_union::operator==(const type_base& other) const
21848 /// @param other the other @ref class_or_union to compare against.
21850 /// @return true iff @p other equals the current @ref class_or_union.
21852 class_or_union::operator==(const class_or_union& other) const
21855 return class_or_union::operator==(o);
21882 /// Compares two instances of @ref class_or_union.
21902 equals(const class_or_union& l, const class_or_union& r, change_kind* k)
21913 const class_or_union* def1 = l_is_decl_only
21917 const class_or_union* def2 = r_is_decl_only
22023 for (class_or_union::data_members::const_iterator
22119 /// Copy a method of a @ref class_or_union into a new @ref
22120 /// class_or_union.
22122 /// @param t the @ref class_or_union into which the method is to be copied.
22133 /// Copy a method of a @ref class_or_union into a new @ref
22134 /// class_or_union.
22136 /// @param t the @ref class_or_union into which the method is to be copied.
22186 // </class_or_union definitions>
22377 class_or_union(env, name, size_in_bits, align_in_bits,
22436 class_or_union(env, name, size_in_bits, align_in_bits,
22471 class_or_union(env, name, size_in_bits, align_in_bits,
22517 class_or_union(env, name, size_in_bits, align_in_bits,
22544 class_or_union(env, name, is_declaration_only),
22707 d = class_or_union::insert_member_decl(d);
23239 /// Add a member function to the current instance of @ref class_or_union.
23248 /// of @ref class_or_union is actually an instance of @ref class_decl.
23262 class_or_union::add_member_function(method_decl_sptr f,
23488 maybe_cancel_propagated_canonical_type(const class_or_union& t)
23536 ABG_RETURN(equals(static_cast<const class_or_union&>(l),
23537 static_cast<const class_or_union&>(r),
23542 if (!equals(static_cast<const class_or_union&>(l),
23543 static_cast<const class_or_union&>(r),
23551 // If comparing the class_or_union 'part' of the type led to
23700 {return copy_member_function(static_pointer_cast<class_or_union>(clazz), f);}
23711 {return copy_member_function(static_pointer_cast<class_or_union>(clazz), f);}
23814 /// Turn equality of shared_ptr of class_or_union into a deep
23833 /// Turn inequality of shared_ptr of class_or_union into a deep
24239 if (class_or_union* cl = is_class_or_union_type(scope))
24259 for (class_or_union::data_members::iterator i =
24274 for (class_or_union::data_members::const_iterator i =
24336 class_or_union(env, name, size_in_bits, 0,
24382 class_or_union(env, name, size_in_bits, 0,
24411 class_or_union(env, name, size_in_bits,
24451 class_or_union(env, name, size_in_bits,
24477 class_or_union(env, name, is_declaration_only)
24690 bool result = equals(static_cast<const class_or_union&>(l),
24691 static_cast<const class_or_union&>(r),
26108 for (class_or_union::data_members::const_iterator
26215 class_or_union *cou = is_class_or_union_type(type);
26526 ir_node_visitor::visit_begin(class_or_union* t)
26530 ir_node_visitor::visit_end(class_or_union* t)