<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 May 2014 16:58, Lubos Lunak <span dir="ltr"><<a href="mailto:l.lunak@centrum.cz" target="_blank">l.lunak@centrum.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Author: llunak<br>
Date: Thu May  1 18:58:20 2014<br>
New Revision: 207814<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=207814&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=207814&view=rev</a><br>
Log:<br>
-fsyntax-only for a test<br>
<br>
<br>
Modified:<br>
    cfe/trunk/test/Frontend/rewrite-includes-messages.c<br>
<br>
Modified: cfe/trunk/test/Frontend/rewrite-includes-messages.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-messages.c?rev=207814&r1=207813&r2=207814&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-messages.c?rev=207814&r1=207813&r2=207814&view=diff</a><br>


==============================================================================<br>
--- cfe/trunk/test/Frontend/rewrite-includes-messages.c (original)<br>
+++ cfe/trunk/test/Frontend/rewrite-includes-messages.c Thu May  1 18:58:20 2014<br>
@@ -1,5 +1,5 @@<br>
 // RUN: %clang_cc1 -E -frewrite-includes %s -I%S/Inputs/ | %clang_cc1 -Wall -fsyntax-only -Wunused-macros -x c - 2>&1 > %t.1<br>
-// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros %s 2>&1 > %t.2<br>
+// RUN: %clang_cc1 -I%S/Inputs/ -Wall -Wunused-macros -fsyntax-only %s 2>&1 > %t.2<br></blockquote><div><br></div><div>Huh? This test is running clang -cc1 which defaults to only syntax checking unless something else is specified. -fsyntax-only isn't a -cc1 flag, it's a clang flag.</div>

<div><br></div><div>Please revert.</div><div><br></div><div>Nick</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 // RUN: diff %t.1 %t.2 -u<br>
 // expected-no-diagnostics<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>