[cfe-commits] r165361 - in /cfe/trunk/include/clang/Basic: DiagnosticGroups.td DiagnosticSemaKinds.td

Ted Kremenek kremenek at apple.com
Mon Oct 8 16:47:32 PDT 2012


On Oct 8, 2012, at 4:33 PM, Ted Kremenek <kremenek at apple.com> wrote:

>> I wonder if we could generated test cases for all of the set logic we currently have and then just have nice simple diffs when we change it.... Maybe not worth it.
> 
> It's definitely a nice idea.  Even if we cannot generate test cases around code that triggers a warning, we should be able to use a tool like diagtool to regression test whether or not a -W flag (or a combination of -W flags) can turn a warning on/off.

For example, something like: r165459

That's something we could mechanically generate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121008/62952e5c/attachment.html>


More information about the cfe-commits mailing list