Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-core-dev] How to get the function calls from a c/cpp project

I am writing a code to parse the c/cpp project.  I have the c projetc name as ICProject. Now I want to parse  this project to get all the function calls. But when I am using the statement

  List functions = translationUnit.getChildrenOfType(ICElement.C_FUNCTION);
 I am getting all the childrens of type function definitions. Not function call. Can anybody tell me how to get that
--
"Our Greatest Glory is Not in Never Failing, But in Rising Every Step We Fall "

Back to the top