I have a problem with Eclox, the Doxygen plugin for Eclipse.
I use it to document my C/C++ code.
A reaaally nice feature of it is that it auto-generates comments for functions, when writing "/**" followed by an ENTER just before the function's definition.
Initial (code 1):
/** <--pressing enter after this results in code 2-->
int f(int a, int b)
Code after pressing enter (code 2):
/**
*
* @param a
* @param b
* @return
*/
int f(int a, int b)
The problem is that I use Microsoft's SAL syntax when writing my functions, and f would actually look like:
int f(__in int a, __in int b)
which confuses Eclox, and prevents it from auto-generating the @param & @return stuff. So I'm left with the following:
/**
*
*/
int f(__in int a, __in int b)
even though __in is defined as empty in an included file:
#define __in
NOTE that if I paste the above define in THE SAME file, it works:
#define __in
/** <--now pressing enter here works as expected-->
int f(__in int a, __in int b)
Did anyone else encounter this problem?