|
1 | 1 | // RUN: rm -rf %t
|
2 |
| -// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop |
| 2 | +// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop |
3 | 3 | // RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefixes=FILE1,FILE1-PCM
|
4 | 4 |
|
5 | 5 | // If the module cache already exists, the pcm gets indexed.
|
6 | 6 | // RUN: rm -rf %t/idx
|
7 |
| -// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop |
| 7 | +// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop |
8 | 8 | // RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefixes=FILE1,FILE1-PCM
|
9 | 9 |
|
10 | 10 | // FIXME: index the bridging header!
|
11 | 11 |
|
12 | 12 | // RUN: %empty-directory(%t)
|
13 | 13 | // RUN: echo 'import ClangModuleA' > %t/s2.swift
|
14 |
| -// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -index-store-path %t/idx %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp -enable-objc-interop |
| 14 | +// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -index-store-path %t/idx %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp -enable-objc-interop |
15 | 15 | // RUN: c-index-test core -print-unit %t/idx > %t/both.txt
|
16 | 16 | // RUN: %FileCheck %s -check-prefixes=FILE1,FILE1-PCM < %t/both.txt
|
17 | 17 | // RUN: %FileCheck %s -check-prefixes=FILE2,FILE2-PCM < %t/both.txt
|
|
21 | 21 |
|
22 | 22 | // RUN: %empty-directory(%t)
|
23 | 23 | // RUN: echo 'import ClangModuleA' > %t/s2.swift
|
24 |
| -// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -index-store-path %t/idx -index-ignore-clang-modules %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp -enable-objc-interop |
| 24 | +// RUN: %target-swift-frontend -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -index-store-path %t/idx -index-ignore-clang-modules %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp -enable-objc-interop |
25 | 25 | // RUN: c-index-test core -print-unit %t/idx > %t/both.txt
|
26 | 26 | // RUN: %FileCheck %s -check-prefixes=FILE1,FILE1-IGNORE < %t/both.txt --dump-input-filter all
|
27 | 27 | // RUN: %FileCheck %s -check-prefixes=FILE2,FILE2-IGNORE < %t/both.txt
|
|
0 commit comments