Re: how to find inheritance class definition in cpp?
Shigio YAMAGUCHI <[email protected]> Fri, 8 Nov 2019 23:17:10 +0900
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CADJmJYrOveaDsCoXAt=JisEDdaJHFUWQhRTyVrwySCxxH0BUBg@mail.gmail.com> |
Hello,
I can pickup class A's definition in my environment.
$ ls
test.cpp
$ cat test.cpp
class A : public B
{
}
$ gtags
$ global -x A
A 1 test.cpp class A : public B
$ _
What happens in your environment?
Regards,
Shigio
2019=E5=B9=B411=E6=9C=888=E6=97=A5(=E9=87=91) 21:03 liang tang <liangtang20=
[email protected]>:
>
> Hello,
>
> How to find inheritance class's definition using gtags?
>
> code is as follows:
> class A : public B
> {
> }
>
> now I cannot find defination of A using gtags.
> What can I do to find defination of A?
>
> Thanks.
>
--=20
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB