File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4
4
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse-as-library %t/cdecl.swiftmodule -parse -emit-objc-header-path %t/cdecl.h -import-objc-header %S/../Inputs/empty.h -disable-objc-attr-requires-foundation-module
5
5
// RUN: FileCheck %s < %t/cdecl.h
6
6
// RUN: %check-in-clang %t/cdecl.h
7
- // RUN: %check-in-clang -fno-modules %t/cdecl.h -include Foundation.h -include ctypes.h -include CoreFoundation.h
7
+ // RUN: %check-in-clang -fno-modules -Qunused-arguments %t/cdecl.h -include Foundation.h -include ctypes.h -include CoreFoundation.h
8
8
9
9
// REQUIRES: objc_interop
10
10
Original file line number Diff line number Diff line change 18
18
// RUN: FileCheck %s < %t/classes.h
19
19
// RUN: FileCheck --check-prefix=NEGATIVE %s < %t/classes.h
20
20
// RUN: %check-in-clang %t/classes.h
21
- // RUN: not %check-in-clang -fno-modules %t/classes.h
22
- // RUN: %check-in-clang -fno-modules %t/classes.h -include Foundation.h -include CoreFoundation.h -include objc_generics.h
21
+ // RUN: not %check-in-clang -fno-modules -Qunused-arguments %t/classes.h
22
+ // RUN: %check-in-clang -fno-modules -Qunused-arguments %t/classes.h -include Foundation.h -include CoreFoundation.h -include objc_generics.h
23
23
24
24
// CHECK-NOT: AppKit;
25
25
// CHECK-NOT: Properties;
Original file line number Diff line number Diff line change 3
3
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -parse -emit-objc-header-path %t/empty.h
4
4
// RUN: FileCheck %s < %t/empty.h
5
5
// RUN: %check-in-clang -std=c99 %t/empty.h
6
- // RUN: %check-in-clang -std=c99 -fno-modules %t/empty.h
6
+ // RUN: %check-in-clang -std=c99 -fno-modules -Qunused-arguments %t/empty.h
7
7
// RUN: not %check-in-clang -I %S/Inputs/clang-headers %t/empty.h 2>&1 | FileCheck %s --check-prefix=CUSTOM-OBJC-PROLOGUE
8
8
9
9
// Make sure we can handle two bridging headers. rdar://problem/22702104
10
- // RUN: %check-in-clang -include %t/empty.h -std=c99 -fno-modules %t/empty.h
10
+ // RUN: %check-in-clang -include %t/empty.h -std=c99 -fno-modules -Qunused-arguments %t/empty.h
11
11
12
12
// REQUIRES: objc_interop
13
13
Original file line number Diff line number Diff line change 5
5
// RUN: FileCheck %s < %t/enums.h
6
6
// RUN: FileCheck -check-prefix=NEGATIVE %s < %t/enums.h
7
7
// RUN: %check-in-clang %t/enums.h
8
- // RUN: %check-in-clang -fno-modules %t/enums.h -include Foundation.h -include ctypes.h -include CoreFoundation.h
8
+ // RUN: %check-in-clang -fno-modules -Qunused-arguments %t/enums.h -include Foundation.h -include ctypes.h -include CoreFoundation.h
9
9
10
10
// REQUIRES: objc_interop
11
11
Original file line number Diff line number Diff line change 12
12
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -parse-as-library %t/simd_test.swiftmodule -parse -emit-objc-header-path %t/simd.h -import-objc-header %S/../Inputs/empty.h -disable-objc-attr-requires-foundation-module
13
13
// RUN: FileCheck %s < %t/simd.h
14
14
// RUN: %check-in-clang %t/simd.h
15
- // RUN: %check-in-clang -fno-modules %t/simd.h -include Foundation.h
15
+ // RUN: %check-in-clang -fno-modules -Qunused-arguments %t/simd.h -include Foundation.h
16
16
17
17
// REQUIRES: objc_interop
18
18
You can’t perform that action at this time.
0 commit comments