universal-ctags / ctags

A maintained ctags implementation
https://ctags.io
GNU General Public License v2.0
6.39k stars 618 forks source link

C: cannot extract function prototype decls with structure definitions #3943

Open masatake opened 4 months ago

masatake commented 4 months ago

input.c:

int f0(void);
struct S {int s;} f1(void) { }
struct S {int s;} f2(void);

cmdline: ctags --kinds-C=+p -o -

Though f0 and f1 are extracted, f2 is not.