r282004 - Fix a regex error breaking tests.

Zachary Turner via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 12:10:56 PDT 2016


Author: zturner
Date: Tue Sep 20 14:10:56 2016
New Revision: 282004

URL: http://llvm.org/viewvc/llvm-project?rev=282004&view=rev
Log:
Fix a regex error breaking tests.

Modified:
    cfe/trunk/test/Driver/warning-options.cpp

Modified: cfe/trunk/test/Driver/warning-options.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/warning-options.cpp?rev=282004&r1=282003&r2=282004&view=diff
==============================================================================
--- cfe/trunk/test/Driver/warning-options.cpp (original)
+++ cfe/trunk/test/Driver/warning-options.cpp Tue Sep 20 14:10:56 2016
@@ -5,4 +5,4 @@
 
 // Check that -isysroot warns on nonexistent paths.
 // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %T/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
-// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/warning-options'
+// CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'




More information about the cfe-commits mailing list