From 544bd4362491bfbc1cf41028d2587634354f3839 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sun, 8 Dec 2013 18:06:52 +0000 Subject: [PATCH] Remove duplicated -cc1 in tests llvm-svn: 196728 --- clang/test/Analysis/PR9741.cpp | 2 +- clang/test/CodeGenCXX/ctor-dtor-alias.cpp | 2 +- clang/test/CodeGenObjC/debug-info-lifetime-crash.m | 2 +- clang/test/CodeGenObjC/externally-initialized-selectors.m | 4 ++-- .../test/CodeGenObjCXX/externally-initialized-selectors.mm | 4 ++-- clang/test/PCH/field-designator.c | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clang/test/Analysis/PR9741.cpp b/clang/test/Analysis/PR9741.cpp index 2807c44ab7bc..542bc2d958ee 100644 --- a/clang/test/Analysis/PR9741.cpp +++ b/clang/test/Analysis/PR9741.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s +// RUN: %clang_cc1 -std=c++11 -Wuninitialized -verify %s // expected-no-diagnostics void f() { diff --git a/clang/test/CodeGenCXX/ctor-dtor-alias.cpp b/clang/test/CodeGenCXX/ctor-dtor-alias.cpp index 235d1650dec9..d96b1437651b 100644 --- a/clang/test/CodeGenCXX/ctor-dtor-alias.cpp +++ b/clang/test/CodeGenCXX/ctor-dtor-alias.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -triple x86_64-linux -emit-llvm -o - -mconstructor-aliases -O1 -disable-llvm-optzns | FileCheck %s // RUN: %clang_cc1 %s -triple x86_64-linux -emit-llvm -o - -mconstructor-aliases | FileCheck --check-prefix=NOOPT %s -// RUN: %clang_cc1 -cc1 -triple x86_64--netbsd -emit-llvm \ +// RUN: %clang_cc1 -triple x86_64--netbsd -emit-llvm \ // RUN: -mconstructor-aliases -O2 %s -o - | FileCheck --check-prefix=CHECK-RAUW %s namespace test1 { diff --git a/clang/test/CodeGenObjC/debug-info-lifetime-crash.m b/clang/test/CodeGenObjC/debug-info-lifetime-crash.m index 90382010fb6d..81c7fbca1a80 100644 --- a/clang/test/CodeGenObjC/debug-info-lifetime-crash.m +++ b/clang/test/CodeGenObjC/debug-info-lifetime-crash.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -cc1 -triple arm-apple-ios -emit-llvm -g -fblocks -fobjc-runtime=ios-7.0.0 -fobjc-arc %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple arm-apple-ios -emit-llvm -g -fblocks -fobjc-runtime=ios-7.0.0 -fobjc-arc %s -o - | FileCheck %s // rdar://problem/14990656 @protocol NSObject - (id)copy; diff --git a/clang/test/CodeGenObjC/externally-initialized-selectors.m b/clang/test/CodeGenObjC/externally-initialized-selectors.m index 87a7c04cf718..539dca43fc34 100644 --- a/clang/test/CodeGenObjC/externally-initialized-selectors.m +++ b/clang/test/CodeGenObjC/externally-initialized-selectors.m @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s -// RUN: %clang_cc1 -cc1 -o - -emit-llvm %s | FileCheck %s +// RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s +// RUN: %clang_cc1 -o - -emit-llvm %s | FileCheck %s // CHECK: @"\01L_OBJC_SELECTOR_REFERENCES_" = internal externally_initialized global diff --git a/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm b/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm index 87a7c04cf718..539dca43fc34 100644 --- a/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm +++ b/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s -// RUN: %clang_cc1 -cc1 -o - -emit-llvm %s | FileCheck %s +// RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s +// RUN: %clang_cc1 -o - -emit-llvm %s | FileCheck %s // CHECK: @"\01L_OBJC_SELECTOR_REFERENCES_" = internal externally_initialized global diff --git a/clang/test/PCH/field-designator.c b/clang/test/PCH/field-designator.c index 763cfdab28da..6f318fd3c82a 100644 --- a/clang/test/PCH/field-designator.c +++ b/clang/test/PCH/field-designator.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -cc1 %s -include %s -// RUN: %clang_cc1 -cc1 %s -emit-pch -o %t.pch -// RUN: %clang_cc1 -cc1 %s -include-pch %t.pch +// RUN: %clang_cc1 %s -include %s +// RUN: %clang_cc1 %s -emit-pch -o %t.pch +// RUN: %clang_cc1 %s -include-pch %t.pch // rdar://12239321 Make sure we don't emit a bogus // error: field designator 'e' does not refer to a non-static data member