bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtags fail to index C++ exported class


From: Shigio YAMAGUCHI
Subject: Re: gtags fail to index C++ exported class
Date: Mon, 1 Dec 2014 12:04:06 +0900

It seems that the latest patch also includes a problem.

$ cat -n test.cpp
     1 class a : public b {
     2 };

[global-6.3.3]
$ gtags
$ global -f test.cpp
a                   1 test.cpp         class a : public b {
$ global -frs test.cpp
b                   1 test.cpp         class a : public b {

[global-6.3.3+patch]
$ gtags
$ global -f test.cpp
$ global -frs test.cpp
a                   1 test.cpp         class a : public b {
b                   1 test.cpp         class a : public b {


It seems to be much difficult more than we probably thought of
this issue.  How about taking the method that Julien proposed?
It seems to be safer.

Shigio


2014-11-30 20:14 GMT+09:00 Jason Hood <address@hidden>:
On 28/11/2014 9:46, Shigio YAMAGUCHI wrote:
> Hi,
> Your patch picks up many correct definitions which were overlooked.
> However, it seems that it also has side effects.

Fixed.  This one is based on the previous one.

--
Jason.



--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]