From Newsgroup: comp.lang.c++
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, PolskaEfc|Efc#, EUEfc-Efc|;
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>.
--- Synchronet 3.21a-Linux NewsLink 1.2