[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why are "references" restricted to symbols for which we have definit
From: |
Shigio YAMAGUCHI |
Subject: |
Re: why are "references" restricted to symbols for which we have definitions? |
Date: |
Thu, 25 Feb 2021 07:33:15 +0900 |
Hello,
How about the following command?
$ global -xrs '.*'
-r, --reference
Print reference tags. Reference means the reference to a symbol which
has definitions.
-s, --symbol
Print other symbol tags. Other symbol means the reference to
a symbol which
has no definition.
Regards,
Shigio
2021年2月25日(木) 4:23 Gautam Thaker <ghthaker@gmail.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?
>
> Thanks.
>
>
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB