[cfe-dev] one question about CIrewriter.cpp

Rambo hunanlwm at sina.cn
Sun Oct 28 07:16:20 PDT 2012


Hi,everybody

I meet a trouble now.if you have a look at this page 
https://github.com/loarabia/Clang-tutorial
<https://github.com/loarabia/Clang-tutorial>  and understand the program
CIrewriter.cpp
deeply,I may be ask you a question:How the  methods be invoked?The three
methods is located at line 82-line 84. as follows.
bool VisitStmt(Stmt *s);
bool VisitFunctionDecl(FunctionDecl *f);
Expr *VisitBinaryOperator(BinaryOperator *op);

Thanks for any help to solve my problem or answer my questions! I am looking
forward for you constructive feedback.


Rambo



--
View this message in context: http://clang-developers.42468.n3.nabble.com/one-question-about-CIrewriter-cpp-tp4027795.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list