summaryrefslogtreecommitdiff
path: root/test/Driver/clang-translation.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-20 22:21:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-20 22:21:36 +0000
commit66861e09d590994a8b941eaa328e4d8f33adec9e (patch)
tree39341bc13c6200287cec6c1f6a5bdd5af106bb15 /test/Driver/clang-translation.c
parenteeb7fd0ccfd656ac578806fa78a35023f76eca45 (diff)
downloadclang-66861e09d590994a8b941eaa328e4d8f33adec9e.tar.gz
Standardize Driver translation to call clang-cc using '-foo' form instead of '--foo'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/clang-translation.c')
-rw-r--r--test/Driver/clang-translation.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c
index fe35184382..75578f3a00 100644
--- a/test/Driver/clang-translation.c
+++ b/test/Driver/clang-translation.c
@@ -2,13 +2,13 @@
// RUN: grep '"-triple" "i386-unknown-unknown"' %t.log
// RUN: grep '"-S"' %t.log
// RUN: grep '"-disable-free"' %t.log
-// RUN: grep '"--relocation-model" "static"' %t.log
-// RUN: grep '"--disable-fp-elim"' %t.log
-// RUN: grep '"--unwind-tables=0"' %t.log
+// RUN: grep '"-relocation-model" "static"' %t.log
+// RUN: grep '"-disable-fp-elim"' %t.log
+// RUN: grep '"-unwind-tables=0"' %t.log
// RUN: grep '"-Os"' %t.log
// RUN: grep '"-o" .*clang-translation.*' %t.log
-// RUN: grep '"--asm-verbose"' %t.log
+// RUN: grep '"-asm-verbose"' %t.log
// RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log
-// RUN: grep '"--mcpu" "yonah"' %t.log
+// RUN: grep '"-mcpu" "yonah"' %t.log
// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log
-// RUN: grep '"--mcpu" "core2"' %t.log
+// RUN: grep '"-mcpu" "core2"' %t.log