[cfe-dev] How to add a -W flag?
Thompson, John
John_Thompson at playstation.sony.com
Fri Jan 31 11:29:43 PST 2014
I'm adding a warning to the end of the "Modules Issues" category in DiagnosticSemaKinds.td:
def warn_need_module_import : Warning<
"Use of identifier '%0' requires import/inclusion of the module '%1'">;
This makes test/Misc/warning-flags.c fail.
A comment in that test file says:
If you add a new warning without a flag, this test will fail. To fix
this test, simply add a warning group to that warning.
I don't know what that means. How do I add a warning group to the warning?
Thanks.
-John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140131/d9989ecb/attachment.html>
More information about the cfe-dev
mailing list