[Top][All Lists]

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

Macro between class keyword and class name

From: Dag Ekengren
Subject: Macro between class keyword and class name
Date: Wed, 22 Oct 2014 07:01:04 +0200

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?


reply via email to

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