Hej,

You need to check out how to configure the Doxygen pre-processor. I don’t 
remember all detail by hart (http://www.doxygen.nl/manual/preprocessing.html 
<http://www.doxygen.nl/manual/preprocessing.html>, options 
ENABLE_PREPROCESSING, EXPAND_ONLY_PREDEF, PREDEFINED, EXPAND_AS_DEFINED) , but 
it is pretty well explained in the documentation, where for instance, you can 
find an elaborate example that handles __cdecl_* declarations, that are 
syntactically exactly like your example. If I remember correctly you would 
declare SOME_MACRO with PREDEFINED, and then set the other three options 
correctly.
 
Sincerely,
Jakob


> On 12 Dec 2018, at 15:57, Olivier Couet <olivier.co...@cern.ch> wrote:
> 
> Hello,
> 
> I have the following problem:
> 
> Some C macro defined as:
> 
> #
>  define SOME_MACRO
> 
> 
> A class defined as:
> 
> 
> /** \class A_CLASS
> 
>  A simple class.
> 
> */
> 
> 
> 
>  class
> SOME_MACRO
> A_CLASS <https://root.cern/doc/master/classTTreeReaderValue.html>  {
>     /// A method
>     void F();
>  }
> 
> Doxygen find the class description but does not find
> the method or anything in the class. This is because the
> the C macro name between the keyword “class” and the 
> class name.
> 
> I tried to set at YES the CLANG_ASSISTED_PARSING flag,
> but it does not help.
> 
> Some ideas ?
> 
> Cheers,
> O.
> 
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users

_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to