bug-global
[Top][All Lists]
Advanced

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

Re: No forward definitions of classes


From: Shigio YAMAGUCHI
Subject: Re: No forward definitions of classes
Date: Fri, 28 Sep 2007 08:00:08 +0900

Hi,
> I patched the gtags-parser/Cpp so that it does not record forward
> definitions of classes (e.g. "class myClass;"), because in bigger projects
> forward definitions may be used very extensively to reduce compile times,
> and gtags would report a lot "false-positive" matches.
> 
> I have not come across a disadvantage of this. Perhaps it could be
> interesting for forward definitions of functions as well.

Thank you for your suggestion.
I agree with you.

By the way, GLOBAL has three tag files:

'GTAGS'
      Tag file for object definitions.

'GRTAGS'
      Tag file for object references.

'GSYMS'
      Tag file for other symbols.

I would like to move forward definitions of classes from GTAGS to GSYMS.
What do you think?
Are there any problem?
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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