[cfe-dev] visiting complex<> declarations
suppamax
max.giacometti at gmail.com
Wed Feb 20 12:38:41 PST 2013
Hi all,
I am trying to get familiar with clang's AST.
I want to parse some code that includes statements like
complex<double> c1(1.1, 3.6);
complex<double> c2(34.3, 8.7);
complex<double> c3;
c3 = c1 + c2;
In my ASTVisitor class I have
bool VisitVarDecl(VarDecl *v) {
...
return true;
}
bool VisitBinaryOperator(BinaryOperator* bo) {
...
return true;
}
These visiting functions work for floating point variables and arrays, but
they're not used when complex data are met.
Can you please help me clarifying?
--
View this message in context: http://clang-developers.42468.n3.nabble.com/visiting-complex-declarations-tp4030532.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list