Skip to content

Commit 7793e67

Browse files
committed
[ZOS] Convert tests to check 'target={{.*}}-zos{{.*}}'
Also add 'system-zos' as a lit feature and use it where needed. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139444
1 parent ee56d88 commit 7793e67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+53
-51
lines changed

clang/test/Analysis/cfref_PR2519.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s
33
// expected-no-diagnostics
44

clang/test/CodeGen/cfstring2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: %clang_cc1 -emit-llvm %s -o %t
33

44
typedef const struct __CFString * CFStringRef;

clang/test/Driver/as-version.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test version information.
22

3-
// UNSUPPORTED: -zos
3+
// UNSUPPORTED: target={{.*}}-zos{{.*}}
44
// RUN: %clang -Wa,--version -c -fintegrated-as %s -o /dev/null \
55
// RUN: | FileCheck --check-prefix=IAS %s
66
// IAS: clang version

clang/test/Import/forward-declared-objc-class/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s
33
void expr() {
44
MyClass *c = [MyClass fromInteger:3];

clang/test/Import/objc-arc/test-cleanup-object.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c -objc-arc -import %S/Inputs/cleanup-objects.m -dump-ast -expression %s | FileCheck %s
33

44
// CHECK: FunctionDecl {{.*}} getObj '

clang/test/Import/objc-autoreleasepool/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/F.m -expression %s | FileCheck %s
33

44
// CHECK: ObjCAutoreleasePoolStmt

clang/test/Import/objc-definitions-in-expression/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
33
@class D;
44

clang/test/Import/objc-method/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
33
void expr() {
44
C *c;

clang/test/Import/objc-param-decl/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s
33

44
// CHECK: ObjCTypeParamDecl

clang/test/Import/objc-try-catch/test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
1+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
22
// RUN: clang-import-test -x objective-c++ -Xcc -fobjc-exceptions -dump-ast -import %S/Inputs/F.m -expression %s | FileCheck %s
33

44
// FIXME: Seems that Objective-C try/catch crash codegen on Windows. Reenable once this is fixed.

0 commit comments

Comments
 (0)