Displaying 1 result from an estimated 1 matches for "classclang_1_1cxxctorinitializer".
2013 Feb 06
1
[LLVMdev] Process the initializers of a C++ class properly
...respectively.
What I have done so far is this:
I am using the method VisitCXXConstructorDecl and then getting the
initalizers by means of iterator CXXConstructorDecl::init_iterator. I am
able to get the members that are being initialized by means of getMember
<http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html#a877f0bab49ff048f7e0faddf3f528977>
() method for each initializer.
However, I want to have the initialization values themselves (a and
3.14...), then I tried to get the initializer expression (getInit
<http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html#a6a232de857e5b...