Hi again,
I have noticed in the C++ front end that classes have a few
__comp_ctor () functions. These functions do not have an
implementation that can be obtained with DECL_SAVED_TREE.
Looking further into it there are a number of identifiers for
functions like this added to cp_global_trees. I have searched the code
but cant find where the code for these functions is. Does anyone know
where i can get more information on the "implementation" of these
functions?
I can make some assumptions on what they do, like
Attribute::__comp_ctor () would call Attribute::Attribute() etc. But
is there somewhere I can get some more definitive information on these
functions?
Thanks,
Brendon.
---- Some examples of the sort of data I see are shown below ----
Attribute::Attribute()
Calls: None
Attribute::Attribute(Attribute const&)
Calls: None
Attribute::__comp_ctor(Attribute const&)
Calls: UNKNOWN
Attribute::__comp_ctor()
Calls: UNKNOWN
main()
Calls: Container::__comp_ctor()
Calls: Container::__comp_ctor(Container const&)
Container::Container()
Calls: Attribute::__comp_ctor()
Container::__comp_ctor()
Calls: UNKNOWN
Container::Container(Container const&)
Calls: Attribute::__comp_ctor(Attribute const&)
Container::__comp_ctor(Container const&)
Calls: UNKNOWN
-------------------------
class Attribute
{
public:
Attribute() {}
Attribute(const Attribute& right){}
};
class Container
{
public:
Attribute a;
};
int main()
{
Container c1;
Container c2(c1);
return 0;
}