This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tags out of gcc
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>
- Cc: Adrian May <adrian dot alexander dot may at gmail dot com>, gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Sat, 4 Oct 2014 20:07:28 +0100
- Subject: Re: Tags out of gcc
- Authentication-results: sourceware.org; auth=none
- References: <CAESRpQC1xRZuFGyzEPvJACq8+139HVM2+H5J7VgZVsZy=A0muQ at mail dot gmail dot com>
On 4 October 2014 15:47, Manuel LÃpez-IbÃÃez wrote:
> The trivial one is that you build a plugin
> (https://gcc.gnu.org/onlinedocs/gccint/Plugins.html) and hook it at
> PLUGIN_FINISH_DECL (and perhaps also at PLUGIN_FINISH_TYPE, not sure
> about that). You can then run the plugin in the same command that
> compiles your code.
Does that hook get called for uninstantiated templates?
A source browser should index C++ templates where they are defined,
not only if they are used.