[cfe-dev] creating a warning with options in tablegen

Seth Cantrell seth.cantrell at gmail.com
Sat Apr 21 13:58:27 PDT 2012


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?



More information about the cfe-dev mailing list