[cfe-dev] Find function relations use clang

Hao Jiang hjian001 at fiu.edu
Tue Jan 18 13:18:33 PST 2011

I want use clang to find all the function definitions and call relation
between functions in source code of "C" language.
Right now I can use PrintFunctionNames example to get all the function
names. Which libs(FunctionDecl? Functionphototype?)  should I use to get
function parameters and return type?
Should I use ASTVistor class to traverse each function body to get all the
function calls or there are other good solutions? Any hint is appreciated
Hao Jiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110118/39ea4b24/attachment.html>

More information about the cfe-dev mailing list