Traversing Constructor Body


I am currently on working on some analysis of C++ classes using Clang. I can successfully traverse the constructor’s Initialization list and a classes member variables but I am stuck as to how to traverse the body of a constructor, i.e.

Test(int val1, int val2){
x = val1;
y = val2;

What method can I use to access the body of the constructor body (x = val1; , y = val2;) ?


FunctionDecl::getBody(), which CXXConstructorDecl inherits?

  - Doug