Do we really want to add XML-specific conversion code to libclang itself? I feel like this should be in a separate library.
On Fri, Aug 3, 2012 at 9:34 PM, Dmitri Gribenko <[email protected]> wrote: > Hello, > > The attached patch implements a libclang API for comment-to-xml > conversion. The implementation also includes a Relax NG schema and > tests for the schema itself. The schema is used in c-index-test to > verify that XML documents we produce are valid. In order to do the > validation, we add an optional libxml2 dependency for c-index-test. > > I am not sure that test/Index/Inputs/CommentXML is the best place to > put the XML schema. Any suggestions? > > Current implementation of declaration name printer is not perfect -- > it prints 'operator _Bool' for C++ 'operator bool()', for example. > But this can be fixed in a followup together with a complete > declaration printer. > > Credits for CMake part go to Doug Gregor. Credits for Autoconf part > go to Eric Christopher. Thanks! > > Please review. > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/ > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > > -- João Matos
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
