[cfe-dev] Finding a particular constructor
Jesper Eskilson
jesper.eskilson at iar.com
Wed Oct 9 02:42:28 PDT 2013
Hi,
I have a class with a large number of constructors which differ only
slightly. I'd like to be able to distinguish these by looking at the
names of the arguments, but I cannot seem to find them.
class A {
public:
A(int x);
A(int x, float y);
A(double w, int x, char *z);
...
}
I'd like to be able to (for example) look at a particular
CXXConstructExpr and get the value of "x", whichever position "x" may have.
Where should I be looking?
--
*Jesper Eskilson* /Development Engineer/
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
E-mail: jesper.eskilson at iar.com <mailto:jesper.eskilson at iar.com>
Website: www.iar.com
<http://www.iar.com> Twitter: www.twitter.com/iarsystems
<http://www.twitter.com/iarsystems>
More information about the cfe-dev
mailing list