<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
        Maybe you should override
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a class="el"
href="http://clang.llvm.org/doxygen/classclang_1_1RecursiveASTVisitor.html#ab3f2f514d030ebfffe6742a66eb31363">shouldVisitTemplateInstantiations</a>.<br>
      Vassil<br>
      On 2/23/13 1:57 PM, suppamax wrote:<br>
    </div>
    <blockquote cite="mid:1361624224051-4030596.post@n3.nabble.com"
      type="cite">
      <pre wrap="">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: <a class="moz-txt-link-freetext" href="http://clang-developers.42468.n3.nabble.com/visiting-complex-declarations-tp4030532p4030596.html">http://clang-developers.42468.n3.nabble.com/visiting-complex-declarations-tp4030532p4030596.html</a>
Sent from the Clang Developers mailing list archive at Nabble.com.
_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>