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.