[cfe-dev] creating a warning with options in tablegen
chandlerc at google.com
Sat Apr 21 15:29:46 PDT 2012
On Sat, Apr 21, 2012 at 1:58 PM, Seth Cantrell <seth.cantrell at gmail.com>wrote:
> Can a warning with options be created entirely in a .td warning file? I
> want a warning that can be enabled in three different ways, e.g. -Wfoobar,
> -Wfoobar=yes, and -Wfoobar=no, however the only examples of warnings that
> take options that I know of are all done specially in the command line
> parsing. Will I be able to create such a warning in tablegen, and are there
> any examples I missed that do this?
I would really rather avoid this complexity in our warning options. Can you
explain what you're actually trying to do?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev