[cfe-dev] Determining if method is a constructor

Victor Vicente de Carvalho victor.v.carvalho at gmail.com
Sat Dec 1 13:39:18 PST 2012


While traversing a CXXRecordDecl methods through method_begin i've stumbled
with the class constructors and destructors being added as methods too (as
they already showed up on ctor_begin). So, what's the best way to determine
if the current method is a constructor or not?


Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121201/579fb716/attachment.html>


More information about the cfe-dev mailing list