r280057 - Combine two FileCheck patterns to prevent overzealous matching of .*

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 22:14:39 PDT 2016


Author: rsmith
Date: Tue Aug 30 00:14:38 2016
New Revision: 280057

URL: http://llvm.org/viewvc/llvm-project?rev=280057&view=rev
Log:
Combine two FileCheck patterns to prevent overzealous matching of .*

Modified:
    cfe/trunk/test/Driver/modules-ts.cpp

Modified: cfe/trunk/test/Driver/modules-ts.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/modules-ts.cpp?rev=280057&r1=280056&r2=280057&view=diff
==============================================================================
--- cfe/trunk/test/Driver/modules-ts.cpp (original)
+++ cfe/trunk/test/Driver/modules-ts.cpp Tue Aug 30 00:14:38 2016
@@ -23,8 +23,7 @@
 // CHECK-USE: -cc1
 // CHECK-USE-SAME: -emit-obj
 // CHECK-USE-SAME: -fmodule-file={{.*}}.pcm
-// CHECK-USE-SAME: -o {{.*}}.o
-// CHECK-USE-SAME: -x c++
+// CHECK-USE-SAME: -o {{.*}}.o {{.*}}-x c++
 // CHECK-USE-SAME: modules-ts.cpp
 
 // Check combining precompile and compile steps works.




More information about the cfe-commits mailing list