libClang use

Discuss anything related to product development

libClang use

Postby vivekvpandya » Wed Dec 30 2015 9:57 am

Has DoxyPress started using libClang ?
vivekvpandya
 
Posts: 1
Joined: Wed Dec 30 2015 9:55 am

Re: libClang use

Postby ansel » Tue Jan 05 2016 8:32 pm

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.
ansel
 
Posts: 60
Joined: Fri Apr 10 2015 8:23 am

Re: libClang use

Postby marlowa » Fri Jan 08 2016 9:23 am

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
marlowa
 
Posts: 57
Joined: Sun Oct 25 2015 10:52 am


Return to Developers

cron