[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why are "references" restricted to symbols for which we have definit
Re: why are "references" restricted to symbols for which we have definitions?
Thu, 25 Feb 2021 10:08:12 -0500
works well and gives me all the symbols, but I get too much output as every single variable , typename etc all get printed. I wish it were possible to restrict to symbols that are function/method calls.
(One nice thing about universal ctags is it shows the "kind" of entry a tags line is (eg, macro, function, etc.) I can then restrict a tag search to entries of a certain kind, a very useful thing at times .
On Wed, Feb 24, 2021, 5:33 PM Shigio YAMAGUCHI <firstname.lastname@example.org
How about the following command?
$ global -xrs '.*'
Print reference tags. Reference means the reference to a symbol which
Print other symbol tags. Other symbol means the reference to
a symbol which
has no definition.
2021年2月25日(木) 4:23 Gautam Thaker <email@example.com>:
> From man page for global:
> -r, --reference, --rootdir
> Print reference tags. Reference means the reference to a symbol which has definitions. With the -p option, print the root directory of
> the project.
> I have a use case where I want to know all function/method calls in my large source tree. I don't have all functions defined, but I would like to still know/find these symbols.
> Is this possible? I have read that C++ parser seems to be on way to deprecation (!!), are there other means possible to seek out even undefined references?
Shigio YAMAGUCHI <firstname.lastname@example.org>
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB