[cfe-dev] xml parse library in checkers

Francisco Chiotta franchiotta at gmail.com
Wed Mar 11 17:00:05 PDT 2015


I don't really know how to include it. Could you please explain me briefly
how to do that in order to use it from a checker?

Do I have to download the libxml2 project under llvm/tools? modify
configurations file?

Thanks!!

2015-03-05 2:24 GMT-03:00 Dmitri Gribenko <gribozavr at gmail.com>:

> On Wed, Mar 4, 2015 at 4:33 PM, Francisco Chiotta <franchiotta at gmail.com>
> wrote:
> > Hello all,
> >
> > I am writing a new checker using StaticAnalyzer core. I was wondering if
> > there is some library (e.g. expat) to parse xml documents included in the
> > project that I could use from a checker.
> > If there is, how do I include it to my checker? If not, is it correct to
> add
> > expat lib to clang project?
>
> Clang optionally depends on libxml2 now.
>
> 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 <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150311/a11ce9d2/attachment.html>


More information about the cfe-dev mailing list