File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
branches/tensorflow-next/test/Index Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1461,4 +1461,4 @@ refs/heads/master-rebranch: 86e95c23aa0d37f24ec138b7853146c1cead2e40
1461
1461
refs/heads/rdar-53901732: 9bd06af3284e18a109cdbf9aa59d833b24eeca7b
1462
1462
refs/heads/revert-26776-subst-always-returns-a-type: 1b8e18fdd391903a348970a4c848995d4cdd789c
1463
1463
refs/heads/tensorflow-merge: 8b854f62f80d4476cb383d43c4aac2001dde3cec
1464
- refs/heads/tensorflow-next: fe29c1e43400a3609e1df9bb1d1fce965122a2de
1464
+ refs/heads/tensorflow-next: ed43befd30992afc978205d412fb64089b44df37
Original file line number Diff line number Diff line change 1
1
// RUN: %swiftc_driver -driver-print-jobs -index-file -index-file-path %s %S/Inputs/SwiftModuleA.swift %s -o %t.output_for_index -index-store-path %t.index_store -module-name driver_index 2>&1 | %FileCheck %s
2
- // CHECK: {{.*}}swift -frontend -typecheck {{.*}}SwiftModuleA.swift -primary-file {{.*}}driver-index.swift {{.*}}-o {{.*}}.output_for_index {{.*}}-index-store-path {{.*}}.index_store -index-system-modules
2
+ // CHECK: {{.*}}swift{{(c.EXE")?}} -frontend -typecheck {{.*}}SwiftModuleA.swift{{"?}} -primary-file {{.*}}driver-index.swift{{"?}} {{.*}}-o {{.*}}.output_for_index{{"?}} {{.*}}-index-store-path {{.*}}.index_store{{"?}} -index-system-modules
Original file line number Diff line number Diff line change 1
1
// RUN: rm -rf %t
2
- // RUN: %target-swift-frontend -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp
2
+ // RUN: %target-swift-frontend -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-prefix=FILE1
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 -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp
7
+ // RUN: %target-swift-frontend -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-prefix=FILE1
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 -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
14
+ // RUN: %target-swift-frontend -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-prefix=FILE1 < %t/both.txt
17
17
// RUN: %FileCheck %s -check-prefix=FILE2 < %t/both.txt
Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-ide-test -print-indexed-symbols -enable-source-import -source-filename %s -I %S/Store/Inputs | %FileCheck %s
1
+ // RUN: %target-swift-ide-test -print-indexed-symbols -enable-objc-interop -enable- source-import -source-filename %s -I %S/Store/Inputs | %FileCheck %s
2
2
3
3
import NonExistingModuleName // Make sure invalid imports aren't affecting results
4
4
// CHECK-NOT: {{.*}} | NonExistingModuleName
You can’t perform that action at this time.
0 commit comments