Skip to content

Commit d33937b

Browse files
committed
[test] %clang_cc1: remove redundant actions
ParseFrontendArgs takes the last OPT_Action_Group option. The other actions are overridden.
1 parent 41574f5 commit d33937b

8 files changed

+13
-13
lines changed

clang/test/CodeGen/SystemZ/align-systemz-02.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -emit-llvm \
22
// RUN: | FileCheck %s -check-prefix=VECIR
3-
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -emit-obj -S \
3+
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -S \
44
// RUN: | FileCheck %s -check-prefix=VECASM
55
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -emit-llvm \
66
// RUN: | FileCheck %s -check-prefix=SCALIR
7-
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -emit-obj -S \
7+
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -S \
88
// RUN: | FileCheck %s -check-prefix=SCALASM
99
// REQUIRES: systemz-registered-target
1010

clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
; CHECK-DIS: ^2 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: allOnes, sizeM1BitWidth: 7), wpdResolutions: ((offset: 0, wpdRes: (kind: branchFunnel)), (offset: 8, wpdRes: (kind: singleImpl, singleImplName: "_ZN1A1nEi"))))) ; guid = 7004155349499253778
3939

4040
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
41-
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
41+
; RUN: -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
4242
; RUN: -emit-llvm -o - -x ir %t.o 2>&1 | FileCheck %s --check-prefixes=CHECK-IR --check-prefixes=REMARKS
4343

4444
; Check that the devirtualization is suppressed via -wholeprogramdevirt-skip
4545
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu -mllvm -wholeprogramdevirt-skip=_ZN1A1nEi \
46-
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
46+
; RUN: -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
4747
; RUN: -emit-llvm -o - -x ir %t.o 2>&1 | FileCheck %s --check-prefixes=SKIP-IR --check-prefixes=SKIP-REMARKS
4848

4949
; REMARKS: single-impl: devirtualized a call to _ZN1A1nEi

clang/test/CodeGen/thinlto-distributed-cfi.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
; CHECK-DIS: ^2 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: single, sizeM1BitWidth: 0))) ; guid = 7004155349499253778
2929

3030
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
31-
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc \
31+
; RUN: -fthinlto-index=%t.o.thinlto.bc \
3232
; RUN: -emit-llvm -o - -x ir %t.o | FileCheck %s --check-prefixes=CHECK-IR
3333

3434
; Ensure that backend does not fail generating native code.

clang/test/CodeGenCXX/module-intializer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.cpp \
1616
// RUN: -emit-module-interface -o M-Part.pcm
17-
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.pcm -S \
17+
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.pcm \
1818
// RUN: -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-P
1919

2020
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M.cpp \

clang/test/Lexer/raw-string-dlim-invalid.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -E -fsyntax-only -verify %s
1+
// RUN: %clang_cc1 -fsyntax-only -verify %s
22

33
// expected-error@+2{{invalid character ')' in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}
44
// expected-error@+1{{expected expression}}

clang/test/Modules/prune-non-affecting-module-map-files-textual.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ module A { header "A.h" export * }
2121

2222
// RUN: %clang_cc1 -fmodules -emit-module %t/A.modulemap -fmodule-name=A -o %t/A0.pcm \
2323
// RUN: -fmodule-map-file=%t/X.modulemap
24-
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A0 --implicit-check-not=Y.modulemap
24+
// RUN: %clang_cc1 -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A0 --implicit-check-not=Y.modulemap
2525
// A0: Input file: {{.*}}X.modulemap
2626

2727
// RUN: %clang_cc1 -fmodules -emit-module %t/A.modulemap -fmodule-name=A -o %t/A1.pcm \
2828
// RUN: -fmodule-map-file=%t/X.modulemap -fmodule-map-file=%t/Y.modulemap
29-
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A1 \
29+
// RUN: %clang_cc1 -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A1 \
3030
// RUN: --implicit-check-not=Y.modulemap
3131
// A1: Input file: {{.*}}X.modulemap
3232

@@ -41,6 +41,6 @@ typedef X_int B_int;
4141
// RUN: %clang_cc1 -fmodules -emit-module %t/B.modulemap -fmodule-name=B -o %t/B.pcm \
4242
// RUN: -fmodule-file=A=%t/A0.pcm \
4343
// RUN: -fmodule-map-file=%t/A.modulemap -fmodule-map-file=%t/X.modulemap -fmodule-map-file=%t/Y.modulemap
44-
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/B.pcm | FileCheck %s --check-prefix=B \
44+
// RUN: %clang_cc1 -module-file-info %t/B.pcm | FileCheck %s --check-prefix=B \
4545
// RUN: --implicit-check-not=X.modulemap --implicit-check-not=Y.modulemap
4646
// B: Input file: {{.*}}B.modulemap

clang/test/PCH/empty-with-headers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors %s
2-
// RUN: %clang_cc1 -fsyntax-only -std=c99 -emit-pch -o %t %s
2+
// RUN: %clang_cc1 -std=c99 -emit-pch -o %t %s
33
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors -include-pch %t %s
44

55
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors -DINCLUDED %s -verify

clang/test/PCH/ms-if-exists.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -emit-pch -o %t %s
1+
// RUN: %clang_cc1 -x c++ -fms-extensions -emit-pch -o %t %s
22
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -include-pch %t %s -verify
33

4-
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -emit-pch -fpch-instantiate-templates -o %t %s
4+
// RUN: %clang_cc1 -x c++ -fms-extensions -emit-pch -fpch-instantiate-templates -o %t %s
55
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -include-pch %t %s -verify
66

77
#ifndef HEADER

0 commit comments

Comments
 (0)