utility to parse c++ functions

D

Dan Elliott

Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.

Thank you for your time.

- dan
 
M

Mike Wahler

Dan Elliott said:
Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.

Many compilers have an option to create protoypes
for all functions (e.g. /Zg in MSVC++). You should
be able to convert that to your desired file.
Check your documentation.

-Mike
 
R

Rolf Magnus

Dan said:
Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.

Thank you for your time.

ctags might be a solution. See http://ctags.sourceforge.net/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top