Skip to content

Commit 845304a

Browse files
committed
Module group: Address @natecook1000 and @dabrahams's comments.
1 parent bf1436a commit 845304a

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

stdlib/public/core/GroupInfo.json

+12-17
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"Algorithm": [
2+
"Lazy Views": [
33
"Algorithm.swift",
44
"Flatten.swift",
55
"FlatMap.swift",
66
"Map.swift",
77
"Join.swift",
8-
"Sort.swift",
98
"Zip.swift",
109
"Filter.swift",
11-
"Repeat.swift",
1210
"Reverse.swift",
13-
"Stride.swift"
11+
"Slice.swift",
12+
"SequenceWrapper.swift",
13+
"LazyCollection.swift",
14+
"LazySequence.swift",
15+
"ExistentialCollection.swift"
1416
],
1517
"Array": [
1618
"ArrayBody.swift",
@@ -21,6 +23,7 @@
2123
"Arrays.swift",
2224
"CocoaArray.swift",
2325
"ContiguousArrayBuffer.swift",
26+
"SliceBuffer.swift",
2427
"SwiftNativeNSArray.swift"
2528
],
2629
"Assert": [
@@ -54,16 +57,14 @@
5457
"Collection.swift",
5558
"CollectionAlgorithms.swift",
5659
"EmptyCollection.swift",
57-
"LazyCollection.swift",
60+
"Stride.swift",
5861
"HashedCollections.swift",
59-
"ExistentialCollection.swift",
60-
"Slice.swift",
61-
"SliceBuffer.swift",
62+
"Repeat.swift",
63+
"Sort.swift",
64+
"Range.swift",
6265
"CollectionOfOne.swift",
6366
"HeapBuffer.swift",
64-
"LazySequence.swift",
6567
"Sequence.swift",
66-
"SequenceWrapper.swift",
6768
"SequenceAlgorithms.swift",
6869
"RangeReplaceableCollectionType.swift",
6970
"Index.swift",
@@ -77,6 +78,7 @@
7778
],
7879
"Reflection": [
7980
"Mirrors.swift",
81+
"Mirror.swift",
8082
"Reflection.swift"
8183
],
8284
"Math": [
@@ -93,28 +95,21 @@
9395
"Hashing.swift",
9496
"CompilerProtocols.swift",
9597
"ErrorType.swift",
96-
"ImplicitlyUnwrappedOptional.swift",
9798
"InputStream.swift",
9899
"LifetimeManager.swift",
99100
"ManagedBuffer.swift",
100101
"Misc.swift",
101-
"Optional.swift",
102102
"OptionSet.swift",
103103
"OutputStream.swift",
104-
"Pointer.swift",
105104
"Policy.swift",
106105
"Print.swift",
107106
"REPL.swift",
108-
"Range.swift",
109107
"Runtime.swift",
110108
"ShadowProtocols.swift",
111109
"Shims.swift",
112110
"Unmanaged.swift",
113-
"UnsafeBufferPointer.swift",
114-
"UnsafePointer.swift",
115111
"Availability.swift",
116112
"Bit.swift",
117-
"Mirror.swift",
118113
"Process.swift",
119114
"Tuple.swift"
120115
]

test/SourceKit/InterfaceGen/gen_stdlib.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var x: Int
4141

4242
// RUN: %sourcekitd-test -req=module-groups -module Swift | FileCheck -check-prefix=GROUP1 %s
4343
// GROUP1: <GROUPS>
44-
// GROUP1-DAG: Algorithm
44+
// GROUP1-DAG: Lazy Views
4545
// GROUP1-DAG: Assert
4646
// GROUP1-DAG: String
4747
// GROUP1-DAG: Collection

test/SourceKit/SourceDocInfo/cursor_stdlib.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func foo2(var a : [S1]) {
2727

2828
// RUN: %sourcekitd-test -req=cursor -pos=5:13 %s -- %s %mcp_opt %clang-importer-sdk | FileCheck -check-prefix=CHECK-GENERATOR %s
2929
// CHECK-GENERATOR-NOT: _AnyGeneratorBase
30-
// CHECK-GENERATOR: <Group>Collection</Group>
30+
// CHECK-GENERATOR: <Group>Lazy Views</Group>
3131

3232
// RUN: %sourcekitd-test -req=cursor -pos=8:10 %s -- %s %mcp_opt %clang-importer-sdk | FileCheck -check-prefix=CHECK-REPLACEMENT1 %s
3333
// CHECK-REPLACEMENT1: <Group>Collection</Group>

0 commit comments

Comments
 (0)