For example: the entry file of filemanager is "testcase.cpp", which including
"#include test01.h", and "test01.h" has a class "Test", which a method
declaration "void sayHi();", and implementation of "sayHi" locates in
For the above assumption, how can I use the the VisitCXXMethodDecl in
RecursiveASTVisitor to get the implementation of sayHi(), and When invoke
the method hasBody() of VisitCXXMethodDecl when visiting the sayHi()
function, hasBody() return false.
The puzzle is how I can get the implementation of the sayHi() with
"testcase.cpp" as the file entry of the source manager in the current
For the constructor and deconstructor, the puzzles also arise....
Thanks in advance!!