Macro between class keyword and class name

Dag Ekengren <[email protected]> Wed, 22 Oct 2014 07:01:04 +0200
Newsgroups gmane.comp.gnu.global.general
Message-ID <1413954064.3898762.181846521.50E5EDA1@webmail.messagingengine.com>
Hi, first of all thank you for a great application.

I have a code base that uses macros between the class keyword and the
class name, like so:

class A_MACRO Foo {
};

an example of this in real life is:

class ATL_NO_VTABLE Foo {
};

which is common in Microsoft-specific code. ATL_NO_VTABLE expands to a
compile/rvendor extension that causes a the compiler not to generate a
vtable, even though there are virtual functions in the class.

The problem is that GNU gtags does not parse this as a class, and global
can't find this symbol.

In doxygen, you can instruct it to expand macros, and in this case it
could be expanded to "". Is there a way to do this in GNU global?

Thanks