[cfe-dev] Fwd: Where is the documentation for lit located?
Robinson, Paul via cfe-dev
cfe-dev at lists.llvm.org
Sun Apr 3 22:11:17 PDT 2016
Re-add cfe-dev
> -----Original Message-----
> From: Robinson, Paul
> Sent: Sunday, April 03, 2016 10:07 PM
> To: 'Guilherme'
> Subject: RE: [cfe-dev] Fwd: Where is the documentation for lit located?
>
>
>
> > -----Original Message-----
> > From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of
> > Guilherme via cfe-dev
> > Sent: Sunday, April 03, 2016 7:10 PM
> > To: cfe-dev at lists.llvm.org
> > Subject: [cfe-dev] Fwd: Where is the documentation for lit located?
> >
> > Hello,
> >
> > I was trying to expand the tests for some new features I introduced
> > into libclang. I had a hard time finding the documentation on the
> > substitution patterns for lit. The only current documentation(?) is in
> > the python sources.
>
> I think you mean things like %s and %t in the RUN: lines?
> Those would be the ones pre-defined by lit itself.
> Other substitutions such as %clang and %llc_dwarf are defined by the
> various configuration files in the test trees (lit.cfg, lit.local.cfg).
> Ideally those would be documented as well, but as they are not part of
> the base 'lit' package they should be documented somewhere else.
>
> >
> > I'd like to add them to the documentation that gets generated(?) to
> > http://llvm.org/docs/CommandGuide/lit.html
> >
> > Where can i find it? Is it accessible via the regulare git repo?
>
> docs/CommandGuide/lit.rst is the source for the .html file.
> If you post a patch it is very likely to be well received!
> Thanks,
> --paulr
>
> >
> > Thank you.
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list