Page 1 of 1

libClang use

Posted: Wed Dec 30 2015 9:57 am
by vivekvpandya
Has DoxyPress started using libClang ?

Re: libClang use

Posted: Tue Jan 05 2016 8:32 pm
by ansel
vivekvpandya wrote:Has DoxyPress started using libClang ?
We are in the process of adding libClang as a supported parser for DoxyPress. This turns out to involve a significant redesign of the parsing front end.

Note that while Doxygen has a "use libclang" option it does not use libClang for all parsing. Rather, it uses libClang for parsing code fragments that are deemed "too complex" for the hand-written C/C++ parser. This is not an approach that we feel will be maintainable in the long term, and we are moving to an architecture which will use libClang exclusively for parsing C/C+++ to get the benefit of a fully compliant parser that is well maintained.

If you have any thoughts about using libClang we are very interested in hearing your point of view. Contributions in terms of architecture, design, code, and testing are always most welcome.

Re: libClang use

Posted: Fri Jan 08 2016 9:23 am
by marlowa
ansel wrote:
vivekvpandya wrote:Has DoxyPress started using libClang ?
We are in the process of adding libClang as a supported parser for DoxyPress. This turns out to involve a significant redesign of the parsing front end.[snip]
If you have any thoughts about using libClang we are very interested in hearing your point of view. Contributions in terms of architecture, design, code, and testing are always most welcome.
This sounds like a good idea to me. You may be interested in this talk by Dietmar Kuhl about using clang in this way: http://www.infoq.com/presentations/c-clang-tool