[cfe-dev] CXXMethodDecl body is empty !

zaki z.ahadri at myappconverter.com
Fri Oct 31 09:22:13 PDT 2014


Hi,

my cpp class

class Rectangle{

public :
              void add(int a,int b){
                            retrun a+b;
                    }

}
i'm trying to get my c++ method body, by calling CXXMethodDecl->getBody()
but i get no body , is it the right method to call

Thank you





--
View this message in context: http://clang-developers.42468.n3.nabble.com/CXXMethodDecl-body-is-empty-tp4042306.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list