[cfe-commits] r151177 - /cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
Matthieu Monrocq
matthieu.monrocq at gmail.com
Wed Feb 22 11:51:40 PST 2012
Le 22 février 2012 19:18, Chad Rosier <mcrosier at apple.com> a écrit :
> Author: mcrosier
> Date: Wed Feb 22 12:18:48 2012
> New Revision: 151177
>
> URL: http://llvm.org/viewvc/llvm-project?rev=151177&view=rev
> Log:
> Add new driver warning from r151174 to a warning group. Please let me
> know if this isn't the appropriate grouping.
>
> Modified:
> cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
>
> Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=151177&r1=151176&r2=151177&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original)
> +++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Wed Feb 22
> 12:18:48 2012
> @@ -106,7 +106,8 @@
> "argument unused during compilation: '%0'">,
> InGroup<DiagGroup<"unused-command-line-argument">>;
> def warn_drv_empty_joined_argument : Warning<
> - "joined argument expects addition arg: '%0'">;
> + "joined argument expects addition arg: '%0'">,
> + InGroup<DiagGroup<"unused-command-line-argument">>;
> def warn_drv_not_using_clang_cpp : Warning<
> "not using the clang preprocessor due to user override">;
> def warn_drv_not_using_clang_cxx : Warning<
>
>
> In the spirit of "avoid magic values", it might be worth creating a named
DiagGroup for "unused-command-line-argument".
-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120222/57c9b6f8/attachment.html>
More information about the cfe-commits
mailing list