[cfe-dev] visiting complex<> declarations
suppamax
max.giacometti at gmail.com
Sat Feb 23 04:57:04 PST 2013
I added
bool VisitCXXOperatorCallExprs(CXXOperatorCallExpr *e) {
llvm::errs() << "Visiting cxxoperatorcall" << "\n";
return true;
}
in
class MyASTVisitor : public RecursiveASTVisitor<MyASTVisitor>
but I don't see the desired print.
Also
bool VisitVarDecl(VarDecl *v) {
llvm::errs() << "Visiting declaration of variable " <<
v->getDeclName().getAsString() << "\n";
return true;
}
is inactive regarding complex<> variable declaration, while it works fine
for float variables.
Any other suggestion?
--
View this message in context: http://clang-developers.42468.n3.nabble.com/visiting-complex-declarations-tp4030532p4030596.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list