[cfe-dev] How to find all class-member-variables
Fritz Franz
antonmaier40 at gmail.com
Mon Dec 17 02:58:15 PST 2012
Hi, please can someone help me
I know how to find all class-member functions, and do it in the following
way:
bool MyASTConsumer::HandleTopLevelDecl(clang::DeclGroupRef d)
clang::DeclGroupRef::iterator it;
for( it = d.begin(); it != d.end(); it++)
{
clang::CXXMethodDecl * vd = llvm::dyn_cast<CXXMethodDecl>(*it);
....
BUT...
How can I find all class-member-variables?
Thanks, and best regards
Fritz Franz
--
View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-find-all-class-member-variables-tp4029042.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list