May we request to have a feature to find list of file #included by a file
May be it is there and I don't know how to do it. Another is if we have something like history in the commands executed in cscope, That will save lot of time
On Wed, Jun 26, 2013 at 07:41:09AM +0000, Devchandr L Meetei wrote:
[bugs:#283] May we request to have a feature to find list of file #included by a file
Status: open Created: Wed Jun 26, 2013 07:41 AM UTC by Devchandr L Meetei Last Updated: Wed Jun 26, 2013 07:41 AM UTC Owner: nobody
May we request to have a feature to find list of file #included by a file
May be it is there and I don't know how to do it. Another is if we have something like history in the commands executed in cscope, That will save lot of time
Seems like sort of a non-useful feature, given that determining that information
is:
a) trivial, easily accomplished, by opening the file and searching for
"#include"
b) ambiguous, in that one can make an argument for recursion here. Does such a
search imply we should return entries for files that a .h file includes as well,
as the initial search file will transitively include it.
On Wed, Jun 26, 2013 at 07:41:09AM +0000, Devchandr L Meetei wrote:
b) ambiguous, in that one can make an argument for recursion here. Does such a
search imply we should return entries for files that a .h file includes as well,
as the initial search file will transitively include it.
Neil
Related
Bugs:
#283... and if you insist on using cscope to do it, you can always post-filter the "#included by" output list:
cscope -L8 '.*' | grep foo.c
Type '?' in cscope to see how.
Not a bug