'In Doxygen for a C++ project how do I get documentation for member functions that are #included in this nonstandard way?

I have a class that has a #include inside it containing the member function declarations, like this:

class PContextActions_t {
public:
#define PARG blah...
#include "pActionDecls.h"
#undef PARG

#define PARG
#include "pActionDecls.h"
#undef PARG

void OtherFuncs(); /// Another function
};

because they need to be declared twice with different arguments. When I run doxygen on this project I get documentation for OtherFuncs(), but not for any of the functions declared in pActionDecls.

What can I do about this? I've tried:

ENABLE_PREPROCESSING = YES

MACRO_EXPANSION = YES

CLANG_ASSISTED_PARSING = YES



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source