why are "references" restricted to symbols for which we have definitions?
Gautam Thaker <[email protected]> Wed, 24 Feb 2021 14:22:47 -0500
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CA+1+E3W8F8RYMoLT8b-k5HZdk9tkRuhRB4rYFvu8wyY4sKJMVA@mail.gmail.com> |
--00000000000061a9a005bc19f657
Content-Type: text/plain; charset="UTF-8"
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.
--00000000000061a9a005bc19f657
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto"><div class=3D"gmail_quote" dir=3D"auto"><div dir=3D"ltr" =
class=3D"gmail_attr"><br></div>From man page for global:<br>
<br>
-r, --reference, --rootdir<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Print=C2=A0 reference tags=
.=C2=A0 Reference means the reference to a symbol which has definitions.=C2=
=A0 With the -p option, print the root directory of<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 the project.<br>
<br>
I have=C2=A0 a use case where I want to know all function/method calls in m=
y large source tree. I don't have all functions defined, but I would li=
ke to still know/find these symbols.<br>
<br>
Is this possible? I have read that C++ parser seems to be on way to depreca=
tion (!!), are there other means possible to seek out even undefined refere=
nces?<br>
<br>
Thanks.<br>
<br>
<br>
</div></div>
--00000000000061a9a005bc19f657--