r249232 - fix previous commit

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 00:15:29 PDT 2015


Author: compnerd
Date: Sat Oct  3 02:15:28 2015
New Revision: 249232

URL: http://llvm.org/viewvc/llvm-project?rev=249232&view=rev
Log:
fix previous commit

Forgot to add the '='.  In cl mode, --target must have an '='.

Modified:
    cfe/trunk/test/Driver/cl-options.c

Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=249232&r1=249231&r2=249232&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Sat Oct  3 02:15:28 2015
@@ -95,20 +95,20 @@
 // RUN: %clang_cl /Oi- -### -- %s 2>&1 | FileCheck -check-prefix=Oi_ %s
 // Oi_: -fno-builtin
 
-// RUN: %clang_cl /Os --target i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Os %s
-// RUN: %clang_cl /Os --target x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Os %s
+// RUN: %clang_cl /Os --target=i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Os %s
+// RUN: %clang_cl /Os --target=x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Os %s
 // Os-NOT: -mdisable-fp-elim
 // Os: -momit-leaf-frame-pointer
 // Os: -Os
 
-// RUN: %clang_cl /Ot --target i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ot %s
-// RUN: %clang_cl /Ot --target x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ot %s
+// RUN: %clang_cl /Ot --target=i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ot %s
+// RUN: %clang_cl /Ot --target=x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ot %s
 // Ot-NOT: -mdisable-fp-elim
 // Ot: -momit-leaf-frame-pointer
 // Ot: -O2
 
-// RUN: %clang_cl /Ox --target i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ox %s
-// RUN: %clang_cl /Ox --target x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ox %s
+// RUN: %clang_cl /Ox --target=i686-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ox %s
+// RUN: %clang_cl /Ox --target=x86_64-pc-windows-msvc -### -- %s 2>&1 | FileCheck -check-prefix=Ox %s
 // Ox-NOT: -mdisable-fp-elim
 // Ox: -momit-leaf-frame-pointer
 // Ox: -O2




More information about the cfe-commits mailing list