Lines Matching defs:member

238 /// the environment::priv::right_type_comp_operands_ data member.
255 /// the environment::privright_type_comp_operands_ data member.
857 /// structurally comparing two types (a.k.a member-wise comparison).
1293 /// Set the corpus this translation unit is a member of.
1296 /// triggers a call to this member function.
1303 /// Get the corpus this translation unit is a member of.
1311 /// Get the corpus this translation unit is a member of.
1452 /// @param v the visitor used on the member nodes of the translation
2168 /// through the member functions below.
3116 /// Return a non-nil value if this data member context relationship
3117 /// has an anonymous data member. That means, if the data member this
3118 /// relation belongs to is part of an anonymous data member.
3120 /// @return the containing anonymous data member of this data member
3126 /// Set the containing anonymous data member of this data member
3127 /// context relationship. That means that the data member this
3128 /// relation belongs to is part of an anonymous data member.
3130 /// @param anon_dm the containing anonymous data member of this data
3131 /// member relationship. Nil if there is none.
4247 /// invoke this member function.
4277 /// Non-member equality operator for the @type_or_decl_base type.
4311 /// Non-member equality operator for the @type_or_decl_base type.
4330 /// Non-member inequality operator for the @type_or_decl_base type.
4356 // the data member qualified_parent_name_ above.
4699 /// typedef struct {int member;} foo_type;
4713 /// typedef struct {int member;} foo_type;
4743 // the qualified names of the member types of this decls.
4852 // member function for this.
4999 /// Compare the properties that belong to the "is-a-member-relation"
5003 /// "is-a-member-relation" of a decl.
5016 /// @return true iff @p l compare equals, as a member decl, to @p r.
5035 // Access specifiers on member types in DWARF is not
5038 // member types are not necessarily given, so they
5221 /// @param v the visitor used on the member nodes of the translation
5402 /// Tests if a declaration is a class member.
5406 /// @return true if @p d is a class member, false otherwise.
5411 /// Tests if a declaration is a class member.
5415 /// @return true if @p d is a class member, false otherwise.
5420 /// Tests if a declaration is a class member.
5424 /// @return true if @p d is a class member, false otherwise.
5449 /// Tests if a type is a class member.
5453 /// @return true if @p t is a class member type, false otherwise.
5498 /// Gets the access specifier for a class member.
5500 /// @param d the declaration of the class member to consider. Note
5501 /// that this must be a class member otherwise the function aborts the
5504 /// @return the access specifier for the class member @p d.
5516 /// Gets the access specifier for a class member.
5518 /// @param d the declaration of the class member to consider. Note
5519 /// that this must be a class member otherwise the function aborts the
5522 /// @return the access specifier for the class member @p d.
5527 /// Sets the access specifier for a class member.
5529 /// @param d the class member to set the access specifier for. Note
5530 /// that this must be a class member otherwise the function aborts the
5533 /// @param a the new access specifier to set the class member to.
5546 /// Sets the access specifier for a class member.
5548 /// @param d the class member to set the access specifier for. Note
5549 /// that this must be a class member otherwise the function aborts the
5552 /// @param a the new access specifier to set the class member to.
5558 /// Gets a flag saying if a class member is static or not.
5560 /// @param d the declaration for the class member to consider. Note
5561 /// that this must be a class member otherwise the function aborts the
5564 /// @return true if the class member @p d is static, false otherwise.
5576 /// Gets a flag saying if a class member is static or not.
5578 /// @param d the declaration for the class member to consider. Note
5579 /// that this must be a class member otherwise the function aborts the
5582 /// @return true if the class member @p d is static, false otherwise.
5587 /// Gets a flag saying if a class member is static or not.
5589 /// @param d the declaration for the class member to consider. Note
5590 /// that this must be a class member otherwise the function aborts the
5593 /// @return true if the class member @p d is static, false otherwise.
5598 /// Test if a var_decl is a data member.
5602 /// @return true if @p v is data member, false otherwise.
5607 /// Test if a var_decl is a data member.
5611 /// @return true if @p v is data member, false otherwise.
5616 /// Test if a var_decl is a data member.
5620 /// @return true if @p v is data member, false otherwise.
5625 /// Test if a decl is a data member.
5629 /// @return a pointer to the data member iff @p d is a data member, or
5642 /// Test if a decl is a data member.
5646 /// @return a pointer to the data member iff @p d is a data member, or
5659 /// Test if a decl is a data member.
5663 /// @return a pointer to the data member iff @p d is a data member, or
5674 /// Test if a decl is a data member.
5678 /// @return a pointer to the data member iff @p d is a data member, or
5689 /// Get the first non-anonymous data member of a given anonymous data
5690 /// member.
5696 /// union // <-- for this anonymous data member, the function
5704 /// @return anon_dm the anonymous data member to consider.
5706 /// @return the first non-anonymous data member of @p anon_dm. If no
5707 /// data member was found then this function returns @p anon_dm.
5724 /// the data member that is located after a given data member.
5728 /// @param the data member to consider.
5730 /// @return the data member that is located right after @p
5754 /// Get the last data member of a class type.
5761 /// Test if a decl is an anonymous data member.
5765 /// @return true iff @p d is an anonymous data member.
5770 /// Test if a decl is an anonymous data member.
5774 /// @return the var_decl representing the data member iff @p d is an
5775 /// anonymous data member.
5787 /// Test if a decl is an anonymous data member.
5792 /// it's an anonymous data member. Otherwise returns a nil pointer.
5804 /// Test if a decl is an anonymous data member.
5809 /// it's an anonymous data member. Otherwise returns a nil pointer.
5821 /// Test if a decl is an anonymous data member.
5826 /// it's an anonymous data member. Otherwise returns a nil pointer.
5835 /// Test if a @ref var_decl is an anonymous data member.
5840 /// it's an anonymous data member. Otherwise returns a nil pointer.
5849 /// Test if a @ref var_decl is an anonymous data member.
5854 /// it's an anonymous data member. Otherwise returns a nil pointer.
5863 /// Test if a @ref var_decl is an anonymous data member.
5867 /// @return true iff @p d is an anonymous data member.
5877 /// Get the @ref class_or_union type of a given anonymous data member.
5879 /// @param d the anonymous data member to consider.
5881 /// @return the @ref class_or_union type of the anonymous data member
5891 /// Test if a data member has annonymous type or not.
5893 /// @param d the data member to consider.
5908 /// Test if a data member has annonymous type or not.
5910 /// @param d the data member to consider.
5922 /// Test if a data member has annonymous type or not.
5924 /// @param d the data member to consider.
5932 /// Get the @ref class_or_union type of a given anonymous data member.
5934 /// @param d the anonymous data member to consider.
5936 /// @return the @ref class_or_union type of the anonymous data member
5975 /// Set the offset of a data member into its containing class.
5977 /// @param m the data member to consider.
5992 /// Get the offset of a data member.
5994 /// @param m the data member to consider.
6007 /// Get the offset of a data member.
6009 /// @param m the data member to consider.
6016 /// Get the offset of a data member.
6018 /// @param m the data member to consider.
6025 /// Get the offset of the non-static data member that comes after a
6028 /// If there is no data member after after the one given to this
6029 /// function (maybe because the given one is the last data member of
6034 /// @param dm the data member before the one we want to retrieve.
6037 /// function to the offset of the data member that comes right after
6038 /// the data member @p dm, iff the function returns true.
6040 /// @return true iff the data member coming right after @p dm was
6054 /// Get the absolute offset of a data member.
6056 /// If the data member is part of an anonymous data member then this
6058 /// containing class of the anonymous data member.
6060 /// @param m the data member to consider.
6062 /// @return the aboslute offset of the data member @p m.
6084 /// Get the absolute offset of a data member.
6086 /// If the data member is part of an anonymous data member then this
6088 /// containing class of the anonymous data member.
6090 /// @param m the data member to consider.
6092 /// @return the aboslute offset of the data member @p m.
6115 /// Set a flag saying if a data member is laid out.
6117 /// @param m the data member to consider.
6129 /// Test whether a data member is laid out.
6131 /// @param m the data member to consider.
6144 /// Test whether a data member is laid out.
6146 /// @param m the data member to consider.
6153 /// Test whether a function_decl is a member function.
6157 /// @return true if @p f is a member function, false otherwise.
6162 /// Test whether a function_decl is a member function.
6166 /// @return true if @p f is a member function, false otherwise.
6171 /// Test whether a function_decl is a member function.
6175 /// @return true if @p f is a member function, false otherwise.
6180 /// Test whether a member function is a constructor.
6182 /// @param f the member function to test.
6199 /// Test whether a member function is a constructor.
6201 /// @param f the member function to test.
6209 /// Setter for the is_ctor property of the member function.
6211 /// @param f the member function to set.
6229 /// Setter for the is_ctor property of the member function.
6231 /// @param f the member function to set.
6239 /// Test whether a member function is a destructor.
6258 /// Test whether a member function is a destructor.
6267 /// Set the destructor-ness property of a member function.
6286 /// Set the destructor-ness property of a member function.
6295 /// Test whether a member function is const.
6314 /// Test whether a member function is const.
6323 /// set the const-ness property of a member function.
6342 /// set the const-ness property of a member function.
6351 /// Test if a virtual member function has a vtable offset set.
6353 /// @param f the virtual member function to consider.
6355 /// @return true iff the virtual member function has its vtable offset
6361 /// Get the vtable offset of a member function.
6363 /// @param f the member function to consider.
6366 /// value -1 means that the member function does *NOT* yet have a
6383 /// Get the vtable offset of a member function.
6385 /// @param f the member function to consider.
6388 /// value -1 means that the member function does *NOT* yet have a
6394 /// Set the vtable offset of a member function.
6396 /// @param f the member function to consider.
6399 /// of value -1 means that the virtual member function does not (yet)
6415 /// Get the vtable offset of a member function.
6417 /// @param f the member function to consider.
6420 /// of value -1 means that the virtual member function does not (yet)
6426 /// Test if a given member function is virtual.
6428 /// @param mem_fn the member function to consider.
6446 /// Test if a given member function is virtual.
6448 /// @param mem_fn the member function to consider.
6455 /// Test if a given member function is virtual.
6457 /// @param mem_fn the member function to consider.
6464 /// Set the virtual-ness of a member function.
6466 /// @param f the member function to consider.
6483 /// Set the virtual-ness of a member function.
6485 /// @param f the member function to consider.
7567 /// Getter for the member declarations carried by the current @ref
7570 /// @return the member declarations carried by the current @ref
7576 /// Getter for the member declarations carried by the current @ref
7579 /// @return the member declarations carried by the current @ref
7585 /// Getter for the sorted member declarations carried by the current
7588 /// @return the sorted member declarations carried by the current @ref
7686 /// Add a member decl to this scope. Note that user code should not
7689 /// Note that this function updates the qualified name of the member
7690 /// decl that is added. It also sets the scope of the member. Thus,
7691 /// it ABG_ASSERTs that member should not have its scope set, prior to
7694 /// @param member the new member decl to add to this scope.
7696 scope_decl::add_member_decl(const decl_base_sptr& member)
7698 ABG_ASSERT(!has_scope(member));
7700 member->set_scope(this);
7701 priv_->members_.push_back(member);
7702 if (is_type(member))
7703 priv_->member_types_.push_back(is_type(member));
7705 if (scope_decl_sptr m = dynamic_pointer_cast<scope_decl>(member))
7708 update_qualified_name(member);
7712 if (translation_unit* existing_tu = member->get_translation_unit())
7715 member->set_translation_unit(tu);
7718 maybe_update_types_lookup_map(member);
7720 return member;
7723 /// Get the member types of this @ref scope_decl.
7725 /// @return a vector of the member types of this ref class_or_union.
7730 /// Find a member type of a given name, inside the current @ref
7733 /// @param name the name of the member type to look for.
7735 /// @return a pointer to the @ref type_base that represents the member
7746 /// Insert a member type.
7763 /// Add a member type to the current instance of class_or_union.
7765 /// @param t the member type to add. It must not have been added to a
7771 /// Add a member type to the current instance of class_or_union.
7773 /// @param t the type to be added as a member type to the current
7777 /// @param a the access specifier for the member type to be created.
7789 /// Remove a member type from the current @ref class_or_union scope.
7807 /// Get the sorted member types of this @ref scope_decl
7809 /// @return a vector of the sorted member types of this ref
7827 /// Insert a member decl to this scope, right before an element
7832 /// member.
7834 /// @param member the new member decl to add to this scope.
7837 /// the new member should be inserted.
7839 scope_decl::insert_member_decl(decl_base_sptr member,
7842 ABG_ASSERT(!member->get_scope());
7844 member->set_scope(this);
7845 priv_->members_.insert(before, member);
7847 if (scope_decl_sptr m = dynamic_pointer_cast<scope_decl>(member))
7850 update_qualified_name(member);
7854 if (translation_unit* existing_tu = member->get_translation_unit())
7857 member->set_translation_unit(tu);
7860 maybe_update_types_lookup_map(member);
7862 return member;
7867 /// @param member the declaration to remove from the scope.
7869 scope_decl::remove_member_decl(decl_base_sptr member)
7875 if (**i == *member)
7884 scope_decl_sptr scope = dynamic_pointer_cast<scope_decl>(member);
7891 if (**i == *member)
7976 /// member decls.
8018 /// Find a member of the current scope and return an iterator on it.
8020 /// @param decl the scope member to find.
8022 /// @param i the iterator to set to the member @p decl. This is set
8025 /// @return true if the member decl was found, false otherwise.
8053 /// Find a member of the current scope and return an iterator on it.
8055 /// @param decl the scope member to find.
8057 /// @param i the iterator to set to the member @p decl. This is set
8060 /// @return true if the member decl was found, false otherwise.
8070 /// and on its member nodes.
9287 /// member functions, size, pointer value of its canonical type, etc.
9350 o << " // virtual member functions\n\n";
9391 /// Get a given data member, referred to by its name, of a class type.
9395 /// @param member_name name of the data member to get.
9397 /// @return the resulting data member or nullptr if none was found.
9406 /// Get a given data member, referred to by its name, of a class type.
9410 /// @param member_name name of the data member to get.
9412 /// @return the resulting data member or nullptr if none was found.
9755 /// Find a data member inside an anonymous data member.
9757 /// An anonymous data member has a type which is a class or union.
9758 /// This function looks for a data member inside the type of that
9759 /// anonymous data member.
9761 /// @param anon_dm the anonymous data member to consider.
9763 /// @param name the name of the data member to look for.
9964 /// typedef struct {int member;} s_type;
11475 /// This is really slow as it walks the member types of the scope in
11519 /// Note that a node is a member of a scope.
11638 /// This is really slow as it walks the member types of the scope in
11660 /// This is really slow as it walks the member types of the scope in
11731 /// This is really slow as it walks the member types of the scope in
11767 /// This is really slow as it walks the member types of the scopes in
14337 /// can be cases where T has member functions that C doesn't have.
14339 /// This is possible because non virtual member functions are not
14343 /// member functions.
14366 // Set symbols of member functions that might be missing
14385 // There is a member function defined and publicly
14387 // class doesn't have that member function. Let's
14388 // copy that member function to the canonical class
15565 /// member nodes.
16006 /// Non-member equality operator for @ref qualified_type_def
16024 /// Non-member inequality operator for @ref qualified_type_def
17378 /// with the array_type_def::set_element_type() member function.
18865 /// documentation for that member function for more information about
19083 /// Get the qualified name of a given variable or data member.
19087 /// data member, then the qualified name is actually the flat
19089 /// member. We chose the flat representation because otherwise, the
19090 /// name of an *anonymous* data member is empty, by construction, e.g:
19097 /// }; // <---- this data member is anonymous.
19101 /// The string returned for the anonymous member here is going to be:
19115 // Display the anonymous data member in a way that makes sense.
19147 // Detect if the current instance of var_decl is a member of
19172 member. */
19175 // Display the anonymous data member in a way that
19190 // It doesn't make sense to name the member of an
19206 // It doesn't make sense to name the member of an
19218 /// Get a name that is valid even for an anonymous data member.
19220 /// If the current @ref var_decl is an anonymous data member, then
19229 /// data member.
19236 // which anonymous data member was deleted. So it's not involved
19322 // means that this is a member function, and the first
19398 /// member function. Otherwise, if the current instance of @ref
19399 /// function_type is for a non-member function, the parameter at index
19439 // means that this is a member function, and the first
19665 /// If the function is a non-static member function, the parameter
19687 /// Note that if the function is a non-static member function, the
20258 /// If the function is a non-static member function, the parameter
20329 /// documentation for that member function for more information about
20948 /// Non-member equality operator for @ref function_decl::parameter.
20966 /// Non-member inequality operator for @ref function_decl::parameter.
21084 /// @param mem_types the vector of member types of this instance of
21090 /// @param member_fns the vector of member functions of this instance
21182 /// @param v the visitor used on the member nodes of the translation
21264 /// Add a member declaration to the current instance of class_or_union.
21265 /// The member declaration can be either a member type, data member,
21266 /// member function, or member template.
21268 /// @param d the member declaration to add.
21293 /// Fixup the members of the type of an anonymous data member.
21296 /// member and set a particular property of the relationship between
21297 /// each data member and its containing type.
21299 /// That property records the fact that the data member belongs to the
21300 /// anonymous data member we consider.
21305 /// @param anon_dm the anonymous data member to consider.
21390 /// Get the number of anonymous member classes contained in this
21393 /// @return the number of anonymous member classes contained in this
21409 /// Get the number of anonymous member unions contained in this class.
21411 /// @return the number of anonymous member unions contained in this
21427 /// Get the number of anonymous member enums contained in this class.
21429 /// @return the number of anonymous member enums contained in this
21445 /// Add a data member to the current instance of class_or_union.
21447 /// @param v a var_decl to add as a data member. A proper
21452 /// @param access the access specifier for the data member.
21454 /// @param is_laid_out whether the data member was laid out. That is,
21461 /// offset of the data member, expressed (oh, surprise) in bits.
21494 // If v is an anonymous data member, then fixup its data members.
21496 // members of the anonymous data member be aware of their containing
21497 // anonymous data member. That is helpful to compute the absolute
21498 // bit offset of each of the members of the anonymous data member.
21509 /// Find a data member of a given name in the current @ref class_or_union.
21511 /// @param name the name of the data member to find in the current
21515 /// member to find inside the current @ref class_or_union.
21525 // We haven't found a data member with the name 'name'. Let's look
21541 /// Find an anonymous data member in the class.
21543 /// @param v the anonymous data member to find.
21545 /// @return the anonymous data member found, or nil if none was found.
21565 /// Find a given data member.
21568 /// non-empty name, then it tries to find a data member which has the
21572 /// an anonymous data member. In that case, this function tries to
21573 /// find an anonymous data member which type equals that of the @ref
21576 /// @param v this carries either the name of the data member we need
21577 /// to look for, or the type of the anonymous data member we are
21600 /// Add a member function.
21602 /// @param f the new member function to add.
21604 /// @param a the access specifier to use for the new member function.
21606 /// @param is_static whether the new member function is static.
21608 /// @param is_ctor whether the new member function is a constructor.
21610 /// @param is_dtor whether the new member function is a destructor.
21612 /// @param is_const whether the new member function is const.
21631 // Update the map of linkage name -> member functions. It's useful,
21637 /// Get the member functions of this @ref class_or_union.
21639 /// @return a vector of the member functions of this @ref
21686 /// Find a method (member function) using its signature (pretty
21698 /// Find a method (member function) using its signature (pretty
21714 /// Get the member function templates of this class.
21716 /// @return a vector of the member function templates of this class.
21721 /// Get the member class templates of this class.
21723 /// @return a vector of the member class templates of this class.
21728 /// Append a member function template to the @ref class_or_union.
21730 /// @param m the member function template to append.
21742 /// Append a member class template to the @ref class_or_union.
21744 /// @param m the member function template to append.
21757 ///@return true iff the current instance has no member.
21768 /// Insert a data member to this @ref class_or_union type.
21770 /// @param d the data member to insert.
22047 // Do not compare member functions. DWARF does not necessarily
22048 // all the member functions, be they virtual or not, in all
22052 // compare member function templates
22083 // compare member class templates
22194 /// canonical type), T is compared structurally (member-wise) against
22354 /// @param mbrs the vector of member types of this instance of
22360 /// @param mbr_fns the vector of member functions of this instance of
22402 /// @param mbrs the vector of member types of this instance of
22408 /// @param mbr_fns the vector of member functions of this instance of
22553 /// Currently, the only thing it does is to sort the virtual member
22616 /// Get the virtual member functions of this class.
22618 /// @param return a vector of the virtual member functions of this
22625 /// member functions with that virtual table offset.
22628 /// offset and virtual member functions of that vtable offset. But
22638 /// virtual member functions with that virtual table offset.
22643 /// Sort the virtual member functions by their virtual index.
23044 // Update the linkage_name -> member function map of the containing
23229 /// Sort a vector of instances of virtual member functions.
23231 /// @param mem_fns the vector of member functions to sort.
23239 /// Add a member function to the current instance of @ref class_or_union.
23244 /// @param access the access specifier for the member function to add.
23250 /// @param vtable_offset the offset of the member function in the
23254 /// @param is_static whether the member function is static.
23256 /// @param is_ctor whether the member function is a constructor.
23258 /// @param is_dtor whether the member function is a destructor.
23260 /// @param is_const whether the member function is const.
23283 /// When a virtual member function has seen its virtualness set by
23285 /// member function is added to the specific vectors and maps of
23286 /// virtual member function of its class.
23307 // number of virtual member functions that "point" to it.
23335 /// Test if the current instance of @ref class_decl has virtual member
23339 /// virtual member functions.
23348 /// virtual member function.
23595 // Compare virtual member functions
23598 // vector of virtual member functions that point to that offset.
23623 // Then, each virtual member function of a given vtable offset in
23624 // the first class type, must match an equivalent virtual member
23627 // By "match", I mean that the two virtual member function should
24219 /// Sets the static-ness property of a class member.
24221 /// @param d the class member to set the static-ness property for.
24222 /// Note that this must be a class member otherwise the function
24225 /// @param s this must be true if the member is to be static, false
24293 /// Sets the static-ness property of a class member.
24295 /// @param d the class member to set the static-ness property for.
24296 /// Note that this must be a class member otherwise the function
24299 /// @param s this must be true if the member is to be static, false
24321 /// @param mbr_types the member types of the union.
24325 /// @param member_fns the member functions of the union.
24354 /// @param mbr_types the member types of the union.
24358 /// @param member_fns the member functions of the union.
25614 /// sub-types of member functions of the type we are traversing.
25618 // Do not look at sub-types of non-virtual member functions.
26199 /// Look for a data member of a given class, struct or union type and
26202 /// The data member is designated by its name.
26206 /// @param dm_name the name of the data member to lookup.
26208 /// @return the data member iff it was found in @type or NULL if no
26209 /// data member with that name was found.