libClang use
-
- Posts: 1
- Joined: Wed Dec 30 2015 9:55 am
libClang use
Has DoxyPress started using libClang ?
Re: libClang use
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.vivekvpandya wrote:Has DoxyPress started using libClang ?
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 Sermersheim
CopperSpice Cofounder
CopperSpice Cofounder
Re: libClang use
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-toolansel wrote: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]vivekvpandya wrote:Has DoxyPress started using libClang ?
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.