<br><br><div class="gmail_quote">Le 22 février 2012 19:18, Chad Rosier <span dir="ltr"><<a href="mailto:mcrosier@apple.com">mcrosier@apple.com</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: mcrosier<br>
Date: Wed Feb 22 12:18:48 2012<br>
New Revision: 151177<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=151177&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=151177&view=rev</a><br>
Log:<br>
Add new driver warning from r151174 to a warning group. Please let me know if this isn't the appropriate grouping.<br>
<br>
Modified:<br>
cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td<br>
<br>
Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=151177&r1=151176&r2=151177&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=151177&r1=151176&r2=151177&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original)<br>
+++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Wed Feb 22 12:18:48 2012<br>
@@ -106,7 +106,8 @@<br>
"argument unused during compilation: '%0'">,<br>
InGroup<DiagGroup<"unused-command-line-argument">>;<br>
def warn_drv_empty_joined_argument : Warning<<br>
- "joined argument expects addition arg: '%0'">;<br>
+ "joined argument expects addition arg: '%0'">,<br>
+ InGroup<DiagGroup<"unused-command-line-argument">>;<br>
def warn_drv_not_using_clang_cpp : Warning<<br>
"not using the clang preprocessor due to user override">;<br>
def warn_drv_not_using_clang_cxx : Warning<<br>
<br><br></blockquote><div>In the spirit of "avoid magic values", it might be worth creating a named DiagGroup for "unused-command-line-argument".<br><br>-- Matthieu <br></div></div>