diff --git a/Package.swift b/Package.swift index f4e09a05..449364ce 100644 --- a/Package.swift +++ b/Package.swift @@ -178,14 +178,14 @@ let targets: [CustomTarget] = [ .target( kind: .testSupport, name: "_CollectionsTestSupport", - dependencies: ["_CollectionsUtilities"]), + dependencies: ["InternalCollectionsUtilities"]), .target( kind: .test, name: "CollectionsTestSupportTests", dependencies: ["_CollectionsTestSupport"]), .target( kind: .hidden, - name: "_CollectionsUtilities", + name: "InternalCollectionsUtilities", exclude: [ "CMakeLists.txt", "Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb", @@ -209,7 +209,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "BitCollections", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], exclude: ["CMakeLists.txt"]), .target( kind: .test, @@ -221,7 +221,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "DequeModule", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], exclude: ["CMakeLists.txt"]), .target( kind: .test, @@ -231,7 +231,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "HashTreeCollections", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], exclude: ["CMakeLists.txt"]), .target( kind: .test, @@ -241,7 +241,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "HeapModule", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], exclude: ["CMakeLists.txt"]), .target( kind: .test, @@ -251,7 +251,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "OrderedCollections", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], exclude: ["CMakeLists.txt"]), .target( kind: .test, @@ -261,7 +261,7 @@ let targets: [CustomTarget] = [ .target( kind: .exported, name: "_RopeModule", - dependencies: ["_CollectionsUtilities"], + dependencies: ["InternalCollectionsUtilities"], directory: "RopeModule", exclude: ["CMakeLists.txt"]), .target( diff --git a/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift b/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift index 6f1e1f01..2567e2fe 100644 --- a/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift +++ b/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif internal struct _ChunkedBitsForwardIterator { diff --git a/Sources/BitCollections/BitArray/BitArray+Copy.swift b/Sources/BitCollections/BitArray/BitArray+Copy.swift index b261a2d9..9507204c 100644 --- a/Sources/BitCollections/BitArray/BitArray+Copy.swift +++ b/Sources/BitCollections/BitArray/BitArray+Copy.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray+Invariants.swift b/Sources/BitCollections/BitArray/BitArray+Invariants.swift index 4c97b070..3f4cad34 100644 --- a/Sources/BitCollections/BitArray/BitArray+Invariants.swift +++ b/Sources/BitCollections/BitArray/BitArray+Invariants.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift b/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift index 1141b840..93c8ffef 100644 --- a/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift +++ b/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitArray: RangeReplaceableCollection {} diff --git a/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift b/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift index 680a7045..bd314e99 100644 --- a/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift +++ b/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray.swift b/Sources/BitCollections/BitArray/BitArray.swift index 956e2384..43884f14 100644 --- a/Sources/BitCollections/BitArray/BitArray.swift +++ b/Sources/BitCollections/BitArray/BitArray.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// An ordered, random-access collection of `Bool` values, implemented as an diff --git a/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift b/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift index 773043fc..266516a7 100644 --- a/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift +++ b/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet: CustomStringConvertible { diff --git a/Sources/BitCollections/BitSet/BitSet+Extras.swift b/Sources/BitCollections/BitSet/BitSet+Extras.swift index 242b7482..15b8a391 100644 --- a/Sources/BitCollections/BitSet/BitSet+Extras.swift +++ b/Sources/BitCollections/BitSet/BitSet+Extras.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet: _UniqueCollection {} diff --git a/Sources/BitCollections/BitSet/BitSet+Initializers.swift b/Sources/BitCollections/BitSet/BitSet+Initializers.swift index 495135d3..a3ee066f 100644 --- a/Sources/BitCollections/BitSet/BitSet+Initializers.swift +++ b/Sources/BitCollections/BitSet/BitSet+Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+Invariants.swift b/Sources/BitCollections/BitSet/BitSet+Invariants.swift index 693f5d18..ba8df72c 100644 --- a/Sources/BitCollections/BitSet/BitSet+Invariants.swift +++ b/Sources/BitCollections/BitSet/BitSet+Invariants.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift index daae4a90..454df099 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift index 5b78eeea..7778dda9 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift index 993e6e3f..034745b2 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift index b75f8d4e..ac7084ab 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift index 5817c084..28207c56 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift index 712bef69..62f190ca 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // FIXME: These are non-standard extensions generalizing ==. diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift index 1acf2509..5ec63e5d 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift index 4226f604..d0230eb4 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift index da13d34f..45863ec7 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift index 91db1c63..7e77bc8a 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift index 0243ab31..9b8c1c0d 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift index 9397d910..4d7a1d7a 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift index 43b1e9d7..634aa844 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift index 58e25dbb..57d6500f 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift b/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift index 513c8b25..1505646e 100644 --- a/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift +++ b/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet: _SortedCollection { diff --git a/Sources/BitCollections/BitSet/BitSet.Counted.swift b/Sources/BitCollections/BitSet/BitSet.Counted.swift index d8435c6b..f8c805a1 100644 --- a/Sources/BitCollections/BitSet/BitSet.Counted.swift +++ b/Sources/BitCollections/BitSet/BitSet.Counted.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet.Index.swift b/Sources/BitCollections/BitSet/BitSet.Index.swift index 45c28f8f..3cc67231 100644 --- a/Sources/BitCollections/BitSet/BitSet.Index.swift +++ b/Sources/BitCollections/BitSet/BitSet.Index.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift b/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift index 5e717b49..cf6a1d3f 100644 --- a/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift +++ b/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension BitSet { diff --git a/Sources/BitCollections/BitSet/BitSet.swift b/Sources/BitCollections/BitSet/BitSet.swift index 79cd0d46..82cc66cd 100644 --- a/Sources/BitCollections/BitSet/BitSet.swift +++ b/Sources/BitCollections/BitSet/BitSet.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// A sorted collection of small nonnegative integers, implemented as an diff --git a/Sources/BitCollections/CMakeLists.txt b/Sources/BitCollections/CMakeLists.txt index 25aedb54..837cab50 100644 --- a/Sources/BitCollections/CMakeLists.txt +++ b/Sources/BitCollections/CMakeLists.txt @@ -66,7 +66,7 @@ add_library(BitCollections "Shared/_Word.swift" ) target_link_libraries(BitCollections PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(BitCollections PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/BitCollections/Shared/UInt+Tricks.swift b/Sources/BitCollections/Shared/UInt+Tricks.swift index 8040d031..c05bbe38 100644 --- a/Sources/BitCollections/Shared/UInt+Tricks.swift +++ b/Sources/BitCollections/Shared/UInt+Tricks.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension UInt { diff --git a/Sources/BitCollections/Shared/_Word.swift b/Sources/BitCollections/Shared/_Word.swift index 64b331c8..0917a491 100644 --- a/Sources/BitCollections/Shared/_Word.swift +++ b/Sources/BitCollections/Shared/_Word.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif @usableFromInline diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 2ab9a594..988bc210 100644 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -14,4 +14,4 @@ add_subdirectory(HashTreeCollections) add_subdirectory(HeapModule) add_subdirectory(OrderedCollections) add_subdirectory(RopeModule) -add_subdirectory(_CollectionsUtilities) +add_subdirectory(InternalCollectionsUtilities) diff --git a/Sources/DequeModule/CMakeLists.txt b/Sources/DequeModule/CMakeLists.txt index fa04ca91..bb92f873 100644 --- a/Sources/DequeModule/CMakeLists.txt +++ b/Sources/DequeModule/CMakeLists.txt @@ -27,7 +27,7 @@ add_library(DequeModule "_UnsafeWrappedBuffer.swift" ) target_link_libraries(DequeModule PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(DequeModule PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/DequeModule/Deque+Collection.swift b/Sources/DequeModule/Deque+Collection.swift index 5eed9609..b56772cb 100644 --- a/Sources/DequeModule/Deque+Collection.swift +++ b/Sources/DequeModule/Deque+Collection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Deque: Sequence { diff --git a/Sources/DequeModule/Deque+Descriptions.swift b/Sources/DequeModule/Deque+Descriptions.swift index 734f6c74..921a5831 100644 --- a/Sources/DequeModule/Deque+Descriptions.swift +++ b/Sources/DequeModule/Deque+Descriptions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Deque: CustomStringConvertible { diff --git a/Sources/DequeModule/Deque+Extras.swift b/Sources/DequeModule/Deque+Extras.swift index 4d7d126f..850e493f 100644 --- a/Sources/DequeModule/Deque+Extras.swift +++ b/Sources/DequeModule/Deque+Extras.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Deque { diff --git a/Sources/DequeModule/Deque+Testing.swift b/Sources/DequeModule/Deque+Testing.swift index ea26e278..0136886b 100644 --- a/Sources/DequeModule/Deque+Testing.swift +++ b/Sources/DequeModule/Deque+Testing.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // This file contains exported but non-public entry points to support clear box diff --git a/Sources/DequeModule/_UnsafeWrappedBuffer.swift b/Sources/DequeModule/_UnsafeWrappedBuffer.swift index b51a5cac..1faefacc 100644 --- a/Sources/DequeModule/_UnsafeWrappedBuffer.swift +++ b/Sources/DequeModule/_UnsafeWrappedBuffer.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif @frozen diff --git a/Sources/HashTreeCollections/CMakeLists.txt b/Sources/HashTreeCollections/CMakeLists.txt index d35c668d..14587f7b 100644 --- a/Sources/HashTreeCollections/CMakeLists.txt +++ b/Sources/HashTreeCollections/CMakeLists.txt @@ -95,7 +95,7 @@ add_library(HashTreeCollections "TreeSet/TreeSet.swift" ) target_link_libraries(HashTreeCollections PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(HashTreeCollections PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/HashTreeCollections/HashNode/_Bitmap.swift b/Sources/HashTreeCollections/HashNode/_Bitmap.swift index e8e453fa..f5ec4e79 100644 --- a/Sources/HashTreeCollections/HashNode/_Bitmap.swift +++ b/Sources/HashTreeCollections/HashNode/_Bitmap.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// A set of `_Bucket` values, represented by a 32-bit wide bitset. diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift index 02f6c990..1bfffe2a 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift index e518eeea..da6722d3 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift index c37e07ba..0aefeb84 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// A base representation of a hash tree node, capturing functionality diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift index 4f54d28a..740b0e14 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift index 0f7e4367..d75b988b 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift b/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift index cb3872f2..8baeea49 100644 --- a/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift +++ b/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// An unsafe, unowned, type-erased reference to a hash tree node; essentially diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift index 9b8d78f1..67f521cb 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift index 987eda62..0f510192 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeDictionary: CustomStringConvertible { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift index 9fdb1b02..9d338578 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift index 7b6ac3ac..6899581e 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift index b70110e2..aa646cfb 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift index a000f61d..a76caa51 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift index fd6a36a8..b8219570 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet: CustomStringConvertible { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift index 0d102268..0617c57f 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet: Equatable { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift index 9ed41206..f02ac45f 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet: _UniqueCollection {} diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift index 69cdac45..944ce420 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift index a4470581..9d6b6465 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet: SetAlgebra { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift index 4235d50e..f95eb755 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift index e7d8f77d..392a7b1f 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift index 874b36d7..caaf194a 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // FIXME: These are non-standard extensions generalizing ==. diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift index 821d8140..d7f1cd6a 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift index 4bc74f64..6e84cadc 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift index 95adf35e..19fee624 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift index 49659d56..d5719948 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift index 975dff00..a661e334 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift index 80ab38ce..b22bf527 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift index ba60e400..523dc7f5 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension TreeSet { diff --git a/Sources/HeapModule/CMakeLists.txt b/Sources/HeapModule/CMakeLists.txt index 2fce017e..3bc611fb 100644 --- a/Sources/HeapModule/CMakeLists.txt +++ b/Sources/HeapModule/CMakeLists.txt @@ -15,7 +15,7 @@ add_library(HeapModule "Heap+Invariants.swift" "Heap+UnsafeHandle.swift") target_link_libraries(HeapModule PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(HeapModule PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/HeapModule/Heap+Invariants.swift b/Sources/HeapModule/Heap+Invariants.swift index 94904ba9..5d1bfac4 100644 --- a/Sources/HeapModule/Heap+Invariants.swift +++ b/Sources/HeapModule/Heap+Invariants.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Heap { diff --git a/Sources/_CollectionsUtilities/CMakeLists.txt b/Sources/InternalCollectionsUtilities/CMakeLists.txt similarity index 84% rename from Sources/_CollectionsUtilities/CMakeLists.txt rename to Sources/InternalCollectionsUtilities/CMakeLists.txt index 82c99206..bd38f9d9 100644 --- a/Sources/_CollectionsUtilities/CMakeLists.txt +++ b/Sources/InternalCollectionsUtilities/CMakeLists.txt @@ -7,7 +7,7 @@ Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information #]] -add_library(_CollectionsUtilities +add_library(InternalCollectionsUtilities "autogenerated/Debugging.swift" "autogenerated/Descriptions.swift" "autogenerated/RandomAccessCollection+Offsets.swift" @@ -27,8 +27,8 @@ add_library(_CollectionsUtilities "_SortedCollection.swift" "_UniqueCollection.swift" ) -set_target_properties(_CollectionsUtilities PROPERTIES +set_target_properties(InternalCollectionsUtilities PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) -_install_target(_CollectionsUtilities) -set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS _CollectionsUtilities) +_install_target(InternalCollectionsUtilities) +set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS InternalCollectionsUtilities) diff --git a/Sources/_CollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb b/Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb rename to Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb diff --git a/Sources/_CollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb b/Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb rename to Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb diff --git a/Sources/_CollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb b/Sources/InternalCollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb rename to Sources/InternalCollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb diff --git a/Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift b/Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift rename to Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift diff --git a/Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift b/Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift rename to Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift diff --git a/Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift b/Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift similarity index 100% rename from Sources/_CollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift rename to Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift diff --git a/Sources/_CollectionsUtilities/Debugging.swift.gyb b/Sources/InternalCollectionsUtilities/Debugging.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Debugging.swift.gyb rename to Sources/InternalCollectionsUtilities/Debugging.swift.gyb diff --git a/Sources/_CollectionsUtilities/Descriptions.swift.gyb b/Sources/InternalCollectionsUtilities/Descriptions.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Descriptions.swift.gyb rename to Sources/InternalCollectionsUtilities/Descriptions.swift.gyb diff --git a/Sources/_CollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift.gyb b/Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift.gyb rename to Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift.gyb diff --git a/Sources/_CollectionsUtilities/IntegerTricks/Integer rank.swift.gyb b/Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/Integer rank.swift.gyb rename to Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift.gyb diff --git a/Sources/_CollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift.gyb b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift.gyb rename to Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift.gyb diff --git a/Sources/_CollectionsUtilities/IntegerTricks/UInt+reversed.swift.gyb b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/UInt+reversed.swift.gyb rename to Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift.gyb diff --git a/Sources/_CollectionsUtilities/IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift rename to Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift diff --git a/Sources/_CollectionsUtilities/IntegerTricks/autogenerated/Integer rank.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/Integer rank.swift similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/autogenerated/Integer rank.swift rename to Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/Integer rank.swift diff --git a/Sources/_CollectionsUtilities/IntegerTricks/autogenerated/UInt+first and last set bit.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/UInt+first and last set bit.swift similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/autogenerated/UInt+first and last set bit.swift rename to Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/UInt+first and last set bit.swift diff --git a/Sources/_CollectionsUtilities/IntegerTricks/autogenerated/UInt+reversed.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/UInt+reversed.swift similarity index 100% rename from Sources/_CollectionsUtilities/IntegerTricks/autogenerated/UInt+reversed.swift rename to Sources/InternalCollectionsUtilities/IntegerTricks/autogenerated/UInt+reversed.swift diff --git a/Sources/_CollectionsUtilities/RandomAccessCollection+Offsets.swift.gyb b/Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/RandomAccessCollection+Offsets.swift.gyb rename to Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift.gyb diff --git a/Sources/_CollectionsUtilities/Specialize.swift.gyb b/Sources/InternalCollectionsUtilities/Specialize.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/Specialize.swift.gyb rename to Sources/InternalCollectionsUtilities/Specialize.swift.gyb diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift.gyb b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift.gyb rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift.gyb diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift.gyb b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift.gyb rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift.gyb diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift.gyb b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift.gyb rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift.gyb diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift diff --git a/Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet.swift similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet.swift rename to Sources/InternalCollectionsUtilities/UnsafeBitSet/autogenerated/_UnsafeBitSet.swift diff --git a/Sources/_CollectionsUtilities/UnsafeBufferPointer+Extras.swift.gyb b/Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeBufferPointer+Extras.swift.gyb rename to Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift.gyb diff --git a/Sources/_CollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift.gyb b/Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift.gyb similarity index 100% rename from Sources/_CollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift.gyb rename to Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift.gyb diff --git a/Sources/_CollectionsUtilities/_SortedCollection.swift b/Sources/InternalCollectionsUtilities/_SortedCollection.swift similarity index 100% rename from Sources/_CollectionsUtilities/_SortedCollection.swift rename to Sources/InternalCollectionsUtilities/_SortedCollection.swift diff --git a/Sources/_CollectionsUtilities/_UniqueCollection.swift b/Sources/InternalCollectionsUtilities/_UniqueCollection.swift similarity index 100% rename from Sources/_CollectionsUtilities/_UniqueCollection.swift rename to Sources/InternalCollectionsUtilities/_UniqueCollection.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/Debugging.swift b/Sources/InternalCollectionsUtilities/autogenerated/Debugging.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/Debugging.swift rename to Sources/InternalCollectionsUtilities/autogenerated/Debugging.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/Descriptions.swift b/Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/Descriptions.swift rename to Sources/InternalCollectionsUtilities/autogenerated/Descriptions.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/RandomAccessCollection+Offsets.swift b/Sources/InternalCollectionsUtilities/autogenerated/RandomAccessCollection+Offsets.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/RandomAccessCollection+Offsets.swift rename to Sources/InternalCollectionsUtilities/autogenerated/RandomAccessCollection+Offsets.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/Specialize.swift b/Sources/InternalCollectionsUtilities/autogenerated/Specialize.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/Specialize.swift rename to Sources/InternalCollectionsUtilities/autogenerated/Specialize.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/UnsafeBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/autogenerated/UnsafeBufferPointer+Extras.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/UnsafeBufferPointer+Extras.swift rename to Sources/InternalCollectionsUtilities/autogenerated/UnsafeBufferPointer+Extras.swift diff --git a/Sources/_CollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift similarity index 100% rename from Sources/_CollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift rename to Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift diff --git a/Sources/OrderedCollections/CMakeLists.txt b/Sources/OrderedCollections/CMakeLists.txt index 5b2ca44d..0b3604e6 100644 --- a/Sources/OrderedCollections/CMakeLists.txt +++ b/Sources/OrderedCollections/CMakeLists.txt @@ -72,7 +72,7 @@ add_library(OrderedCollections "Utilities/_UnsafeBitset.swift" ) target_link_libraries(OrderedCollections PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(OrderedCollections PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift b/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift index 40d83315..cfcf20db 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif @usableFromInline diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift index 6caad140..390a950b 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary: CustomStringConvertible { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift index 18a8172a..1a8319d6 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary.Elements { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift index e4cb08a6..a9ded44b 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift index 6fbfbc4f..7c79df28 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift index da0d6f53..b4fde02d 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift index 2964d983..ee2a4ac2 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift index 725970b8..5db6aa98 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet: CustomStringConvertible { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift index 83cfe08c..16a7d66a 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift index 8189a1f7..c43872a2 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift index 42376cc3..12f0dfba 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift @@ -12,7 +12,7 @@ // The parts of MutableCollection that OrderedSet is able to implement. #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift index 8ed990c9..400214b4 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift index 1603008a..c7f71e0f 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift index 665e4b7b..9325cc7f 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift index 0efe8ce9..1c5d634f 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift index 5e7747d2..f0730acd 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift index 038016cd..8be7a22d 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift index 932d2b0b..b2f6f130 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift index e7c91708..7fbc374e 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift index ad81cc64..5015ee85 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift index 1a974800..9539b841 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet: Sequence { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift index 11eab1a1..38105e99 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift index 40b7d3d6..7ec3a477 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet._UnstableInternals { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift index 9edede0b..12bb94e8 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift index 67f3958b..ae165719 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// An ordered collection of unique elements. diff --git a/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift b/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift index e188e525..4365097a 100644 --- a/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift +++ b/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift @@ -10,8 +10,8 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities @usableFromInline -internal typealias _UnsafeBitSet = _CollectionsUtilities._UnsafeBitSet +internal typealias _UnsafeBitSet = InternalCollectionsUtilities._UnsafeBitSet #endif diff --git a/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift b/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift index bb5f7844..11ae4e4c 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift @@ -12,7 +12,7 @@ #if swift(>=5.8) #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *) diff --git a/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift b/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift index c18e47e7..a68bebec 100644 --- a/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift +++ b/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift @@ -12,7 +12,7 @@ #if swift(>=5.8) #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *) diff --git a/Sources/RopeModule/CMakeLists.txt b/Sources/RopeModule/CMakeLists.txt index 912ae427..7324a011 100644 --- a/Sources/RopeModule/CMakeLists.txt +++ b/Sources/RopeModule/CMakeLists.txt @@ -86,7 +86,7 @@ add_library(_RopeModule "Utilities/Optional Utilities.swift" ) target_link_libraries(_RopeModule PRIVATE - _CollectionsUtilities) + InternalCollectionsUtilities) set_target_properties(_RopeModule PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) diff --git a/Sources/RopeModule/Rope/Basics/Rope+Builder.swift b/Sources/RopeModule/Rope/Basics/Rope+Builder.swift index 5b1785b6..6e3517fc 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+Builder.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+Builder.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Rope { diff --git a/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift b/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift index dda00c99..3eb56ce8 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension Rope._UnmanagedLeaf: CustomStringConvertible { diff --git a/Sources/RopeModule/Rope/Basics/Rope+_Node.swift b/Sources/RopeModule/Rope/Basics/Rope+_Node.swift index fcea269f..87525063 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+_Node.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+_Node.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if swift(<5.8) && !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities // for 5.8 polyfills +import InternalCollectionsUtilities // for 5.8 polyfills #endif extension Rope { diff --git a/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift b/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift index d4e327c2..8abf1d59 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift @@ -10,7 +10,7 @@ //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE -import _CollectionsUtilities +import InternalCollectionsUtilities #endif extension RandomAccessCollection { diff --git a/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift b/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift index f13a3db6..75fb75c0 100644 --- a/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift @@ -12,7 +12,7 @@ #if COLLECTIONS_SINGLE_MODULE import Collections #else -import _CollectionsUtilities +import InternalCollectionsUtilities #endif /// This protocol simply lists Collection/Sequence extensions that ought to be diff --git a/Xcode/Collections.xcodeproj/project.pbxproj b/Xcode/Collections.xcodeproj/project.pbxproj index be6ef648..2eaac634 100644 --- a/Xcode/Collections.xcodeproj/project.pbxproj +++ b/Xcode/Collections.xcodeproj/project.pbxproj @@ -936,7 +936,7 @@ 7DE91E7029CA70F3004483EB /* Sources */ = { isa = PBXGroup; children = ( - 7DE91F2229CA70F3004483EB /* _CollectionsUtilities */, + 7DE91F2229CA70F3004483EB /* InternalCollectionsUtilities */, 7DE91F3929CA70F3004483EB /* BitCollections */, 7DE91F7929CA70F3004483EB /* Collections */, 7DE91EB629CA70F3004483EB /* DequeModule */, @@ -1249,7 +1249,7 @@ path = Utilities; sourceTree = ""; }; - 7DE91F2229CA70F3004483EB /* _CollectionsUtilities */ = { + 7DE91F2229CA70F3004483EB /* InternalCollectionsUtilities */ = { isa = PBXGroup; children = ( 7DEBDAD329CBEE5300ADC226 /* autogenerated */, @@ -1266,7 +1266,7 @@ 7DEBDAEC29CBEE5300ADC226 /* UnsafeMutableBufferPointer+Extras.swift.gyb */, 7DE91F2E29CA70F3004483EB /* CMakeLists.txt */, ); - path = _CollectionsUtilities; + path = InternalCollectionsUtilities; sourceTree = ""; }; 7DE91F3929CA70F3004483EB /* BitCollections */ = {