[cfe-dev] what order it is in TraverseDecl, TraverseType and TraverseStmt?

Rambo hunanlwm at sina.cn
Fri Dec 7 04:24:37 PST 2012


Hi,everyone

>From this  page
<http://clang.llvm.org/doxygen/RecursiveASTVisitor_8h_source.html>   we can
see that Traverse* invoke  WalkUpFrom* and WalkUpFrom* invoke  Visit*,but it
don't tell us what order it is in TraverseDecl,TraverseType and
TraverseStmt.In other words,which is executed
first,TraverseDecl,TraverseType or TraverseStmt?If TraverseDecl is first,How
it invoke other two methods?

Best regards,
Rambo



--
View this message in context: http://clang-developers.42468.n3.nabble.com/what-order-it-is-in-TraverseDecl-TraverseType-and-TraverseStmt-tp4028758.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list