I'm analyzing some large C++ projects. The only functionality I really need is finding function calls.
For this I'm using cscope
right now, but I discovered one big problem - it seems, that cscope
is not able to find methods, e.g. object.function()
.
So, is it possible to change somehow the settings of cscope
? Or, if it's not possible to parse C++ in a realiable way with cscope
, could you, please, recommend some other parser, which is "better-equipped"?
I'm using cscope
as simply as possible, like this:
cscope -k -L3importantFunc path_to_some_file
I'm not creating the database separately, I think it should be sufficient this way for one specific file.
I've already tried Clang, but it wasn't much better, since it isn't possible to look for functions enclosed in conditional-compilation blocks.