Skip to content

Commit ce3290a

Browse files
authored
Merge pull request #24710 from apple/revert-24685-sourcekit-test-pureswift-sysmodule
2 parents 00af9c9 + 4cb7d27 commit ce3290a

File tree

3 files changed

+0
-337
lines changed

3 files changed

+0
-337
lines changed

test/IDE/complete_from_swiftonly_systemmodule.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// RUN: %t/SomeModule.swift
1111

1212
// RUN: %target-swift-ide-test -code-completion -sdk %t/SDK -iframework %t/SDK/Frameworks -source-filename %t/main.swift -code-completion-token=GLOBAL | %FileCheck --check-prefix GLOBAL %s
13-
// RUN: %target-swift-ide-test -code-completion -sdk %t/SDK -iframework %t/SDK/Frameworks -source-filename %t/main.swift -code-completion-token=GLOBAL_TYPE | %FileCheck --check-prefix GLOBAL_TYPE %s
1413
// RUN: %target-swift-ide-test -code-completion -sdk %t/SDK -iframework %t/SDK/Frameworks -source-filename %t/main.swift -code-completion-token=INSTANCE | %FileCheck --check-prefix INSTANCE %s
1514
// RUN: %target-swift-ide-test -code-completion -sdk %t/SDK -iframework %t/SDK/Frameworks -source-filename %t/main.swift -code-completion-token=INITIALIZER | %FileCheck --check-prefix INITIALIZER %s
1615

@@ -37,10 +36,6 @@ internal func internalFunc() {}
3736
public func _secretFunc() {}
3837
public func publicFunc() {}
3938

40-
internal class InternalClass {}
41-
public class _SecretClass {}
42-
public class PublicClass {}
43-
4439
// BEGIN main.swift
4540
import SomeModule
4641

@@ -49,21 +44,10 @@ func test(value: SomeValue) {
4944
// GLOBAL: Begin completions
5045
// GLOBAL-NOT: _secretFunc
5146
// GLOBAL-NOT: internalFunc
52-
// GLOBAL-NOT: _SecretClass
53-
// GLOBAL-NOT: InternalClass
5447
// GLOBAL-DAG: Decl[Struct]/OtherModule[SomeModule]: SomeValue[#SomeValue#];
5548
// GLOBAL-DAG: Decl[FreeFunction]/OtherModule[SomeModule]: publicFunc()[#Void#];
56-
// GLOBAL-DAG: Decl[Class]/OtherModule[SomeModule]: PublicClass[#PublicClass#]; name=PublicClass
5749
// GLOBAL: End completions
5850

59-
let _: #^GLOBAL_TYPE^#
60-
// GLOBAL_TYPE: Begin completions
61-
// GLOBAL_TYPE-NOT: InternalClass
62-
// GLOBAL_TYPE-NOT: _SecretClass
63-
// GLOBAL-TYPE-DAG: Decl[Struct]/OtherModule[SomeModule]: SomeValue[#SomeValue#];
64-
// GLOBAL-TYPE-DAG: Decl[Class]/OtherModule[SomeModule]: PublicClass[#PublicClass#];
65-
// GLOBAL_TYPE: End completions
66-
6751
let _ = value.#^INSTANCE^#
6852
// INSTANCE: Begin completions, 3 items
6953
// INSTANCE-DAG: Keyword[self]/CurrNominal: self[#SomeValue#];

test/SourceKit/InterfaceGen/gen_swiftonly_systemmodule.swift

Lines changed: 0 additions & 36 deletions
This file was deleted.

test/SourceKit/InterfaceGen/gen_swiftonly_systemmodule.swift.response

Lines changed: 0 additions & 285 deletions
This file was deleted.

0 commit comments

Comments
 (0)