• Home
  • Raw
  • Download

Lines Matching refs:function_decl

867 	union_decl_sptr, scope_decl_sptr, function_decl::parameter_sptr,
972 (function_decl::get_pretty_representation_of_declarator)
973 (function_decl::set_symbol): Likewise.
974 (function_decl::get_id, function_decl::parameter::get_type)
975 (function_decl::parameter::get_type_name)
976 (function_decl::parameter::get_type_pretty_representation)
977 (function_decl::parameter::get_name_id)
1274 (function_decl::get_pretty_representation_of_declarator): A
2156 (function_decl::get_pretty_representation_of_declarator): Strip
2158 (equals): In the overload for function_decl::parameter, strip
3421 scope, fn_parm, function_type, function_decl, type_decl,
3425 scope, fn_parm, function_type, function_decl, type_decl,
5495 (function_decl::parameter): Likewise.
5532 (function_decl::parameter): Likewise.
6126 (function_decl::function_decl): Add a comment.
7762 * src/abg-ir.cc (function_decl::get_id): If the elf symbol has
9827 function_decl::parameter_sptr overload, fix code whitespace.
10252 (function_decl::get_type): Likewise.
10253 (function_decl::parameter::get_type): Likewise.
11945 typedef_decl, var_decl, function_type, function_decl,
11946 function_decl::parameter, class_or_union,
11980 the enum_type_decl and function_decl::parameter overloads
12913 (function_decl::parameter::{g,s}et_artificial): Remove these
12928 function_decl::parameter::get_artificial.
12929 (function_decl::parameter::priv::artificial_): Remove this data
12931 (function_decl::parameter::priv::priv): Adjust to the removal of
12932 function_decl::parameter::priv::artificial_. This constructor
12934 (function_decl::parameter::parameter): Adjust to the removal of
12936 function_decl::parameter::parameter::priv.
12937 (function_decl::parameter::get_artificial): Remove this member
12961 function_decl::parameter::get_artificial.
12990 function_decl::parameter::get_artificial.
13854 (function_decl::function_decl)
13855 (function_decl::parameter::parameter, method_decl::method_decl)
13909 enum_type_decl, typedef_decl, var_decl, function_decl,
13910 function_decl::parameter, function_type, method_type, class_decl,
13914 typedef_decl, var_decl, function_decl, function_decl::parameter,
15955 * src/abg-ir.cc (function_decl::get_id): If the function has an
16116 var_decl, function_type, function_decl, function_decl::parameter,
16718 overload for function_decl, consider that a change in the textual
16719 representation of the function_decl is a local change. Likewise,
16720 in the overload of function_decl::parameter, consider that a
18952 is a function_decl, return its type.
19473 * include/abg-ir.h (function_decl::parameter): Declare this before
19718 (equals): In the overload for function_decl::parameter, use the
19782 (function_decl::clone): Do not assert that a member function is
21513 (function_decl::get_pretty_representation_of_declarator): Better
21612 (function_decl::get_pretty_representation_of_declarator): Take an
21615 (function_decl::get_pretty_representation_of_declarator): Take an
21617 (function_decl::get_pretty_representation): Pass the "internal"
21619 function_decl::get_pretty_representation_of_declarator.
21620 (function_decl::parameter::get_type_name): Better handle variadic
21622 (function_decl::parameter::get_type_pretty_representation):
21857 (function_decl::get_pretty_representation)
21858 (function_decl::get_first_non_implicit_parm)
21859 (function_decl::clone): Adjust.
22204 (function_decl::parameter::get_pretty_representation): Likewise.
22236 rather than function_decl.
23005 (function_decl::parameter::get_pretty_representation): Adjust.
23083 Cleanup function_decl::parameter::get_pretty_representation
23085 (function_decl::parameter::get_pretty_representation): Assert that
24652 (build_function_decl): After a virtual member function_decl has
24783 (function_decl::parameter::{get_type_name, get_name_id}): Return
24790 (function_decl::parameter::get_qualified_name): Take an
24837 (var_decl::get_id, function_decl::get_id)
24838 (function_decl::parameter::get_{name_id, type_name}): Return an
24845 (function_decl::parameter::get_qualified_name): Take an
24864 function_decl, adjust for the use of interned_string.
24865 (function_decl::priv::id_): Make this be of type interned_string.
24881 (function_decl::function_decl)
24882 (function_decl::parameter::parameter)
25058 (function_decl::get_id): Return the linkage name first, if it
25804 (function_decl::get_naked_canonical_type): Likewise.
25805 (function_decl::set_type): Pass a reference to the shared_ptr.
25815 (function_decl::priv::naked_type_): New data member.
25816 (function_decl::priv::priv): Initialize it.
25817 (function_decl::get_naked_type): Define new accessor.
25818 (function_decl::set_type): Pass a reference to the shared_ptr .
25819 (equals): In the overload for function_decl, use the faster naked
25825 * include/abg-ir.h ({decl_base, type_base, function_decl}::priv_)
25830 (function_decl::~function_decl): Likewise.
25870 (function_decl::function_decl): Likewise.
25871 (function_decl::parameter::parameter): Likewise.
25908 (function_decl::function_decl): Likewise.
25909 (function_decl::parameter::parameter): Likewise.
26045 ({typedef_decl,var_decl,function_decl,class_decl}::get_pretty_representation):
26727 (equals): In the overload for function_decl, start by comparing
26783 var_decl, function_decl, function_decl::parameter, function_type,
26788 function_decl::parameter}::get_qualified_name): Likewise.
26793 function_decl::parameter}::get_qualified_name): Take an "internal"
26798 method_type, function_decl,
27766 (function_decl::parameter::get_pretty_representation): Get the
27778 (function_decl::hash::operator()): Do not handle caching (here).
27921 (function_decl::hash::operator()): Likewise.
27986 (function_decl::hash::operator()): Likewise, do not cache the
27988 function_decl.
28314 Harden function_decl::get_pretty_representation()
28315 * src/abg-ir.cc (function_decl::get_pretty_representation): Make
28556 for function_decl*, to avoid looking into non-virtual member
30893 * src/abg-ir.cc (function_decl::parameter::get_name_id): Make this
30919 (function_decl::parameter::get_pretty_representation): Declare new
30922 (function_decl::parameter::get_pretty_representation): Define it.
31200 (bool operator==(const function_decl::parameter_sptr&,
31201 const function_decl::parameter_sptr&)): New operator.
31220 (bool operator==(const function_decl::parameter_sptr&,
31221 const function_decl::parameter_sptr& r)): Define
31227 (function_decl::get_pretty_representation): Avoid emitting the
31805 Take a non-const reference to function_decl.
32049 when calling build_ir_node_from_die() to build a function_decl.
32157 Speed up function_decl::get_id() and var_decl::get_id()
32162 (function_decl::get_id): Cache the result on the first invocation
32236 function_decl, function_decl::parameter, class_decl,
32356 * src/abg-ir.cc (equals): On function_decl overload, use the deep
32363 * src/abg-ir.cc (equals(const function_decl&, const
32364 function_decl&, change_kind*)): Compare virtualness of member
32373 (function_decl::get_return_type): Likewise.
32374 (function_decl::set_type): Likewise.
32385 function_decl_sptr rather than a shared_ptr<function_decl>.
32480 var_decl, function_type, function_decl, function_decl::parameter,
32836 (function_decl::get_pretty_representation_of_declarator):
32839 (function_decl::get_pretty_representation_of_declarator): Define
32841 (function_decl::get_pretty_representation): ... this one.
33204 function_decl::parameter_sptr.
33213 (class function_decl::parameter): Make this a pimpled class.
33215 (equals): New overload for function_decl::parameter.
33216 (struct function_decl::parameter::hash): Declare this.
33218 function_decl::parameter.
33345 * src/abg-hash.cc (function_decl::parameter::hash::operator):
33347 * src/abg-ir.cc (struct function_decl::parameter::priv): Define
33348 here as part of pimpl-ifying the function_decl::parameter type.
33349 (function_decl::parameter::*): Define here the member functions as
33350 part of pimpl-ifying the function_decl::parameter type.
33351 (equals): Define the overload for function_decl::parameter here
33353 (ir_node_visitor::visit(function_decl::parameter*)): Define this.
33568 (function_decl::parameter::parameter): Add a new constructor.
34692 * include/abg-ir.h (function_decl::get_type): Change the return
34954 function_decl, function_type, class_decl, and
34966 function_decl, function_type, class_decl, and
34971 function_decl, function_type, class_decl,
35189 (function_decl::parameter::get_type_name): Adjust the call to
35209 abigail::function_decl. It's now abigail::ir::function_decl.
35455 (function_decl::get_pretty_representation): Print virtual-ness of
35456 the function_decl being pretty printed.
35524 of a function_decl, allow this to read and update the elf symbol
35571 (function_decl::clone, class_decl::add_member_function): Adjust.
35684 (function_decl::operator==): Take in account elf symbol aliases.
35867 (typedef_decl::underlying_type_, function_decl::parameter::type_)
35874 (var_decl::get_type, function_decl::parameter::get_type)
35879 (function_decl::function_decl, method_decl::method_decl): Remove
35893 (function_decl::priv::type_): Make this a weak pointer.
35899 (function_decl::get_type): Adjust to make this return a shared
35905 (function_decl::priv::priv): Remove the overload that takes a bare
35908 (function_decl::function_decl): Remove the overload that doesn't
36290 * src/abg-ir.cc (function_decl::operator==): Fix typo in
37243 (build_function_decl): Likewise for function_decl.
37257 (class function_decl): Likewise, make this pimpl and add ...
37258 (function_decl::{g,s}et_symbol): ... new member functions.
37271 (function_decl::priv): New type.
37272 (function_decl::*): Pimplify.
37273 (function_decl::{s,g}et_symbol): New.
37274 (function_decl::operator==): Take symbols in account in the
37330 (function_decl::function_decl, class_decl::base_spec::base_spec)
38102 function_decl}::hash::operator()): If the hash is being
38116 Fix mis-hashing of base specifiers and function_decl during comparison
38117 * include/abg-ir.h (function_decl::get_hash): Declare new virtual
38124 (function_decl::get_hash() const): Implement this missing
38126 function_decl.
38778 to take function_decl to which one shall add properties that got
38782 function_decl. Add the mangled name in particular.
38788 * src/abg-ir.cc (function_decl::get_pretty_representation): In
38844 (function_decl::hash::operator()): Take member functions in
38852 (function_decl::get_pretty_representation): Adjust.
38853 (function_decl::operator): Take member functions in account here.
38929 * include/abg-ir.h (function_decl::get_first_non_implicit_parm):
39233 * include/abg-ir.h (function_decl::parameter::get_name_id):
39237 function_decl::parameter::get_name_id() for the unique name of the
39309 Constify function_decl::parameter::get_type_pretty_representation()
39311 (function_decl::parameter::get_type_pretty_representation): This
39663 * src/abg-ir.cc (function_decl::get_pretty_representation): Fix
39705 * include/abg-ir.h (function_decl::parameter::get_type_name): Add
39707 (function_decl::parameter::get_type_pretty_representation): New
39813 * abg-ir.cc (function_decl::get_pretty_representation): Avoid
39835 * include/abg-ir.h (function_decl::parameter::get_type_name): New
39859 * include/abg-ir.h (class function_decl): Add end-of-class
39974 * include/abg-ir.h ({var_decl, function_decl}::ptr_equal): New
39975 equality functor for pointers to var_decl and function_decl.
39976 ({function_decl, var_decl}::hash): Make these hashing functors
39979 function_decl::hash): Remove these from here. There are now in
39981 ({var_decl, function_decl}::hash::operator()): Define these here.
40379 enum_type_decl, typedef_decl, var_decl, function_decl,
40380 function_decl::parameter, class_decl::data_member,
40728 * include/abg-ir.h (function_decl::parameter::{get,
40949 Fix function_decl::parameter::operator==
40950 * include/abg-ir.h (function_decl::parameter::operator==): Support
41578 (function_decl::get_pretty_representation): Represent
41631 (function_decl::get_pretty_representation): Use the "method "
41756 function_decl}::get_pretty_representation): New virtual member to
41768 ({decl_base, function_decl,
41772 (function_decl::append_parameters): Use the append_parameter
41786 * src/abg-hash.cc (function_decl::parameter::hash): Update this to
42644 (function_decl, etc.): Remove traversable_base as base class.
42730 (typedef_decl, var_decl, function_decl, data_member)
42737 function_decl, class_decl::member_function, class_decl,
43153 * src/abg-ir.h (function_decl::parameter::parameter): New
43155 (function_decl::m_type): Make this protected to let method_decl
43157 (function_decl::get_type): Move this out-of-line.
43165 function_decl.
43176 (function_decl::get_type, class_decl::class_decl): Move these
43201 Support function_type and adapt a function_decl to use it
43203 function_decl.
43204 (function_decl::parameter): Pass string by const reference. Add a
43206 (function_decl::parameter::get_type): Add a non-const overload.
43207 (function_decl::parameter::get_variadic_marker): New getter.
43208 (function_decl::function_decl) Take a const reference to a vector
43211 (function_decl::get_parameters): Move this out-of-line.
43212 (function_decl::append_parameter(s)): Renamed
43213 function_decl::add_parameter(s) into these. Move it out-of-line.
43215 (function_decl::{get_type, set_type}): New declaration.
43216 (function_decl::get_return_type): Move this out-of-line.
43217 (function_decl::is_variadic): New in-line function.
43218 (function_decl::m_type): New data member.
43219 (function_decl::{m_parms, m_return_type}): Remove. This are now
43220 carried by function_decl::m_type.
43229 (function_type_hash::operaror(), function_decl::{get_return_type,
43230 }, function_decl::parameter::hash::operator()): New definitions.
43231 (function_decl::function_decl): The out-of-line definitions of the
43233 (function_decl::append_parameter): Moved this out-of-line from
43234 inline function_decl::add_parameter. Make this rely on the
43236 (function_decl::operator==): Adjust for use of vector for the
43242 and use it to build the function_decl. Parameters and return type
43598 * src/abg-ir.h (function_decl::set_return_type): New inline
43648 function_decl before parsing its xml sub-nodes. Update the depth
43652 function_decl::add_parameter and function_decl::set_return_type.
43719 (class var_decl, function_decl): Inherit from decl_base virtually.
43782 (struct var_decl_hash, function_decl::parameter::operator==)
43783 (struct function_decl::parameter_hash, function_decl::operator==)
43793 (function_decl::operator==, class_decl::operator==)
43840 * src/abg-ir.h (class function_decl): New declaration & inline
43842 * src/abg-ir.cc (function_decl::~function_decl): New definition.
43852 function_decl instance.