Subject: How to get list of function declarations and definitions in lang C, C++ and D?
Hello!
I want to get list of function declarations and definitions in lang C,
C++ and D. I need:
file, function name, type (declaration or definition), start line
number, and end line number
How can I get this?
NOTE: Reg exps are not an option because there is impossible to know
where function starts because it can be preceded by macros (for eg.
macro declared Qt namespace).
I this info for statical analysis before each commit - to check if my
code follow my coding rules. Already I have some static analysis, but I
want expand it.
--
Just to crawl to the morning!
Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska??, EU??;
tel.: +48-609-170-742, najlepiej w godz.: 5:15-5:55 lub 17:15-17:55; <
jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
Domowa s. WWW: <
https://energokod.gda.pl>;
Mini Netykieta: <
https://energokod.gda.pl/MiniNetykieta.html>;
Mailowa Samoobrona: <
https://emailselfdefense.fsf.org/pl>.
--- PyGate Linux v1.5.2
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)