r187122 - Don't pass %s twice to clang -cc1.

Rafael Espindola rafael.espindola at gmail.com
Thu Jul 25 06:45:29 PDT 2013


Author: rafael
Date: Thu Jul 25 08:45:29 2013
New Revision: 187122

URL: http://llvm.org/viewvc/llvm-project?rev=187122&view=rev
Log:
Don't pass %s twice to clang -cc1.

The reason this clang invocation was failing is that it had two %s. We would
close stdout after the first one and report a fatal error when trying to
print the second.

Modified:
    cfe/trunk/test/PCH/irgen-rdar13114142.mm

Modified: cfe/trunk/test/PCH/irgen-rdar13114142.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/irgen-rdar13114142.mm?rev=187122&r1=187121&r2=187122&view=diff
==============================================================================
--- cfe/trunk/test/PCH/irgen-rdar13114142.mm (original)
+++ cfe/trunk/test/PCH/irgen-rdar13114142.mm Thu Jul 25 08:45:29 2013
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t.pch
-// RUN: not %clang_cc1 %s -emit-llvm %s -include-pch %t.pch -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -include-pch %t.pch -o - | FileCheck %s
 
 #ifndef HEADER
 #define HEADER





More information about the cfe-commits mailing list