diff --git a/Benchmarks/Package.swift b/Benchmarks/Package.swift index c2cb224e..db33de1a 100644 --- a/Benchmarks/Package.swift +++ b/Benchmarks/Package.swift @@ -8,6 +8,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import PackageDescription diff --git a/Benchmarks/Plugins/RustBuild/RustBuild.swift b/Benchmarks/Plugins/RustBuild/RustBuild.swift index 08a6ef50..fd76676f 100644 --- a/Benchmarks/Plugins/RustBuild/RustBuild.swift +++ b/Benchmarks/Plugins/RustBuild/RustBuild.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import Foundation diff --git a/Benchmarks/Sources/Benchmarks/ArrayBenchmarks.swift b/Benchmarks/Sources/Benchmarks/ArrayBenchmarks.swift index 6ccee181..8888b599 100644 --- a/Benchmarks/Sources/Benchmarks/ArrayBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/ArrayBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/BigStringBenchmarks.swift b/Benchmarks/Sources/Benchmarks/BigStringBenchmarks.swift index 41a09535..72860961 100644 --- a/Benchmarks/Sources/Benchmarks/BigStringBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/BigStringBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/BitsetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/BitsetBenchmarks.swift index 7e1423db..74a7d7b9 100644 --- a/Benchmarks/Sources/Benchmarks/BitsetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/BitsetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppBenchmarks.swift index d04085e2..3f76409b 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppDequeBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppDequeBenchmarks.swift index 17a7b70d..373337e6 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppDequeBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppDequeBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppMapBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppMapBenchmarks.swift index fcebabf6..fc656df7 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppMapBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppMapBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppPriorityQueueBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppPriorityQueueBenchmarks.swift index cfdbc957..d2afeb16 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppPriorityQueueBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppPriorityQueueBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedMapBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedMapBenchmarks.swift index 2ba70224..cca1b9a8 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedMapBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedMapBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedSetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedSetBenchmarks.swift index de8da313..13a96e0c 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedSetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppUnorderedSetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBenchmarks.swift index 4f1465e7..2610822d 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBoolBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBoolBenchmarks.swift index 2e13afff..bc960f24 100644 --- a/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBoolBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Cpp/CppVectorBoolBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/CustomGenerators.swift b/Benchmarks/Sources/Benchmarks/CustomGenerators.swift index 8b731b9b..cea0b3a3 100644 --- a/Benchmarks/Sources/Benchmarks/CustomGenerators.swift +++ b/Benchmarks/Sources/Benchmarks/CustomGenerators.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/DequeBenchmarks.swift b/Benchmarks/Sources/Benchmarks/DequeBenchmarks.swift index 6e2dd00c..4ba216fd 100644 --- a/Benchmarks/Sources/Benchmarks/DequeBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/DequeBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/DictionaryBenchmarks.swift b/Benchmarks/Sources/Benchmarks/DictionaryBenchmarks.swift index a37d1673..5ab88ce9 100644 --- a/Benchmarks/Sources/Benchmarks/DictionaryBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/DictionaryBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Foundation/CFBinaryHeapBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Foundation/CFBinaryHeapBenchmarks.swift index 22e3c574..dd42c13b 100644 --- a/Benchmarks/Sources/Benchmarks/Foundation/CFBinaryHeapBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Foundation/CFBinaryHeapBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Foundation/CFBitVectorBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Foundation/CFBitVectorBenchmarks.swift index 431d9817..23c5768c 100644 --- a/Benchmarks/Sources/Benchmarks/Foundation/CFBitVectorBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Foundation/CFBitVectorBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Foundation/FoundationBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Foundation/FoundationBenchmarks.swift index 0a2c0d75..612222ab 100644 --- a/Benchmarks/Sources/Benchmarks/Foundation/FoundationBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Foundation/FoundationBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/HeapBenchmarks.swift b/Benchmarks/Sources/Benchmarks/HeapBenchmarks.swift index 8ef0dc6b..924f906e 100644 --- a/Benchmarks/Sources/Benchmarks/HeapBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/HeapBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Kalimba.swift b/Benchmarks/Sources/Benchmarks/Kalimba.swift index 0560cff1..1ea179f2 100644 --- a/Benchmarks/Sources/Benchmarks/Kalimba.swift +++ b/Benchmarks/Sources/Benchmarks/Kalimba.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import DequeModule diff --git a/Benchmarks/Sources/Benchmarks/OrderedDictionaryBenchmarks.swift b/Benchmarks/Sources/Benchmarks/OrderedDictionaryBenchmarks.swift index 2ccde694..340ee001 100644 --- a/Benchmarks/Sources/Benchmarks/OrderedDictionaryBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/OrderedDictionaryBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/OrderedSetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/OrderedSetBenchmarks.swift index b9f69abd..9e51e2a9 100644 --- a/Benchmarks/Sources/Benchmarks/OrderedSetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/OrderedSetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/RigidDequeBenchmarks.swift b/Benchmarks/Sources/Benchmarks/RigidDequeBenchmarks.swift index e9212a75..bfedda22 100644 --- a/Benchmarks/Sources/Benchmarks/RigidDequeBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/RigidDequeBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/Rust/RustBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Rust/RustBenchmarks.swift index bc3a6df0..2d494def 100644 --- a/Benchmarks/Sources/Benchmarks/Rust/RustBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Rust/RustBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if ENABLE_RUST_BENCHMARKS diff --git a/Benchmarks/Sources/Benchmarks/Rust/RustVecDequeBenchmarks.swift b/Benchmarks/Sources/Benchmarks/Rust/RustVecDequeBenchmarks.swift index fc1229cd..d5a02571 100644 --- a/Benchmarks/Sources/Benchmarks/Rust/RustVecDequeBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/Rust/RustVecDequeBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// diff --git a/Benchmarks/Sources/Benchmarks/SetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/SetBenchmarks.swift index eebd8a02..f157678c 100644 --- a/Benchmarks/Sources/Benchmarks/SetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/SetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/ShareableDictionaryBenchmarks.swift b/Benchmarks/Sources/Benchmarks/ShareableDictionaryBenchmarks.swift index 40bccb9c..9f979c8c 100644 --- a/Benchmarks/Sources/Benchmarks/ShareableDictionaryBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/ShareableDictionaryBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/ShareableSetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/ShareableSetBenchmarks.swift index 495bda3e..1c2e6804 100644 --- a/Benchmarks/Sources/Benchmarks/ShareableSetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/ShareableSetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift b/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift index 944384fb..2833d9f0 100644 --- a/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if false // SortedCollections is not a thing yet diff --git a/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift index 6dbee75d..5e9f0fee 100644 --- a/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if false // SortedCollections is not a thing yet diff --git a/Benchmarks/Sources/Benchmarks/UniqueDequeBenchmarks.swift b/Benchmarks/Sources/Benchmarks/UniqueDequeBenchmarks.swift index 2d2cf2f8..c3cdb40c 100644 --- a/Benchmarks/Sources/Benchmarks/UniqueDequeBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/UniqueDequeBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/benchmark-tool/main.swift b/Benchmarks/Sources/benchmark-tool/main.swift index b29319c7..ebc69034 100644 --- a/Benchmarks/Sources/benchmark-tool/main.swift +++ b/Benchmarks/Sources/benchmark-tool/main.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import CollectionsBenchmark diff --git a/Benchmarks/Sources/memory-benchmark/DictionaryStatistics.swift b/Benchmarks/Sources/memory-benchmark/DictionaryStatistics.swift index 59e6dbf8..c934600c 100644 --- a/Benchmarks/Sources/memory-benchmark/DictionaryStatistics.swift +++ b/Benchmarks/Sources/memory-benchmark/DictionaryStatistics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// struct DictionaryStatistics { diff --git a/Benchmarks/Sources/memory-benchmark/MemoryBenchmarks.swift b/Benchmarks/Sources/memory-benchmark/MemoryBenchmarks.swift index df2ff0ea..d51a517c 100644 --- a/Benchmarks/Sources/memory-benchmark/MemoryBenchmarks.swift +++ b/Benchmarks/Sources/memory-benchmark/MemoryBenchmarks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import ArgumentParser diff --git a/CMakeLists.txt b/CMakeLists.txt index 0971037a..27e4c139 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] cmake_minimum_required(VERSION 3.16) diff --git a/Package.swift b/Package.swift index fda19db7..3f2ca425 100644 --- a/Package.swift +++ b/Package.swift @@ -8,6 +8,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import PackageDescription diff --git a/Package@swift-6.0.swift b/Package@swift-6.0.swift index 33d1031e..acc99152 100644 --- a/Package@swift-6.0.swift +++ b/Package@swift-6.0.swift @@ -8,6 +8,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import PackageDescription diff --git a/Sources/BasicContainers/CMakeLists.txt b/Sources/BasicContainers/CMakeLists.txt index a65fbf65..505d131c 100644 --- a/Sources/BasicContainers/CMakeLists.txt +++ b/Sources/BasicContainers/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2022 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/BasicContainers/HashTable/_HTable+Bitmap.swift b/Sources/BasicContainers/HashTable/_HTable+Bitmap.swift index 19492e24..f061fafe 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Bitmap.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Bitmap.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable+Bucket.swift b/Sources/BasicContainers/HashTable/_HTable+Bucket.swift index b913b2ec..898caed3 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Bucket.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Bucket.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable+Consumption.swift b/Sources/BasicContainers/HashTable/_HTable+Consumption.swift index 083d73d9..ed4090e0 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Consumption.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/HashTable/_HTable+Debug.swift b/Sources/BasicContainers/HashTable/_HTable+Debug.swift index dd830c0b..1ad21e8a 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Debug.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Debug.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable+Find.swift b/Sources/BasicContainers/HashTable/_HTable+Find.swift index 1e90ab8d..5c5ec108 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Find.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Find.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable+Insert.swift b/Sources/BasicContainers/HashTable/_HTable+Insert.swift index 97849cba..585dbbc3 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Insert.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Insert.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/HashTable/_HTable+Iteration.swift b/Sources/BasicContainers/HashTable/_HTable+Iteration.swift index 04417a8a..2905a889 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Iteration.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Iteration.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable+Removal.swift b/Sources/BasicContainers/HashTable/_HTable+Removal.swift index 44839270..9d50febd 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Removal.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Removal.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/HashTable/_HTable+Resizing.swift b/Sources/BasicContainers/HashTable/_HTable+Resizing.swift index 8efcefb5..d5ef0051 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Resizing.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Resizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/HashTable/_HTable+Sizing.swift b/Sources/BasicContainers/HashTable/_HTable+Sizing.swift index 08d04b22..2904769d 100644 --- a/Sources/BasicContainers/HashTable/_HTable+Sizing.swift +++ b/Sources/BasicContainers/HashTable/_HTable+Sizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/HashTable/_HTable.swift b/Sources/BasicContainers/HashTable/_HTable.swift index 54dab757..2ac51797 100644 --- a/Sources/BasicContainers/HashTable/_HTable.swift +++ b/Sources/BasicContainers/HashTable/_HTable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Append.swift b/Sources/BasicContainers/RigidArray/RigidArray+Append.swift index 992b50c8..7399e501 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Append.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Consumption.swift b/Sources/BasicContainers/RigidArray/RigidArray+Consumption.swift index 886c7332..032d75f3 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Consumption.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Container.swift b/Sources/BasicContainers/RigidArray/RigidArray+Container.swift index cac42c03..f001dfa5 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Container.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Container.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Deprecated.swift b/Sources/BasicContainers/RigidArray/RigidArray+Deprecated.swift index 8f84a257..3bc2ba57 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Deprecated.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Deprecated.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Descriptions.swift b/Sources/BasicContainers/RigidArray/RigidArray+Descriptions.swift index f237b812..73a82913 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Descriptions.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Equatable.swift b/Sources/BasicContainers/RigidArray/RigidArray+Equatable.swift index 53d836aa..2a2a37ed 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Equatable.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Experimental.swift b/Sources/BasicContainers/RigidArray/RigidArray+Experimental.swift index 578dc0c1..0b4f18fb 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Experimental.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Experimental.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Hashable.swift b/Sources/BasicContainers/RigidArray/RigidArray+Hashable.swift index fa7d4b5f..3b0e264f 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Hashable.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Initializers.swift b/Sources/BasicContainers/RigidArray/RigidArray+Initializers.swift index c850ba47..ba28a5cb 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Initializers.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Insertions.swift b/Sources/BasicContainers/RigidArray/RigidArray+Insertions.swift index 2df37f9d..d83653b2 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Insertions.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Removals.swift b/Sources/BasicContainers/RigidArray/RigidArray+Removals.swift index 54417656..7770abea 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Removals.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray+Replacements.swift b/Sources/BasicContainers/RigidArray/RigidArray+Replacements.swift index 77f73aaa..e47e38f3 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray+Replacements.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray+Replacements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidArray/RigidArray.swift b/Sources/BasicContainers/RigidArray/RigidArray.swift index cd686378..3294cd5a 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Consumption.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Consumption.swift index c65093f8..50e5651d 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Consumption.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Debugging.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Debugging.swift index 6e5dd8b9..336d357e 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Debugging.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Equatable.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Equatable.swift index 729b62c4..e12f3f0b 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Equatable.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Hashable.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Hashable.swift index c51d00cb..33d0940e 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Hashable.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Index.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Index.swift index 0931e36a..3fc6784b 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Index.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Indices.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Indices.swift index 5fdd9207..af2b5378 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Indices.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Indices.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Initializers.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Initializers.swift index f9a3664d..2ef8d9fc 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Initializers.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Insertions.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Insertions.swift index 536123f0..328a34d3 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Insertions.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Keys.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Keys.swift index 0bc2b3a3..ca0b1efe 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Keys.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Keys.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Lookup.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Lookup.swift index 2ca5247f..3f4365c5 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Lookup.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Lookup.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Removals.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Removals.swift index ac4e48f5..4e706b7f 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Removals.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Resizing.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Resizing.swift index 384f4c0f..43bbc9f7 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary+Resizing.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary+Resizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidDictionary/RigidDictionary.swift b/Sources/BasicContainers/RigidDictionary/RigidDictionary.swift index c9146ccb..be9a6499 100644 --- a/Sources/BasicContainers/RigidDictionary/RigidDictionary.swift +++ b/Sources/BasicContainers/RigidDictionary/RigidDictionary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+BorrowingSequence.swift b/Sources/BasicContainers/RigidSet/RigidSet+BorrowingSequence.swift index f262a453..3210a7c3 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+BorrowingSequence.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+BorrowingSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Consumption.swift b/Sources/BasicContainers/RigidSet/RigidSet+Consumption.swift index baf2e82c..6457fdf0 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Consumption.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Debugging.swift b/Sources/BasicContainers/RigidSet/RigidSet+Debugging.swift index b103e2a2..56d33017 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Debugging.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Equatable.swift b/Sources/BasicContainers/RigidSet/RigidSet+Equatable.swift index c55cbe9b..6525871e 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Equatable.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Hashable.swift b/Sources/BasicContainers/RigidSet/RigidSet+Hashable.swift index 92746f41..f31ed838 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Hashable.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Index.swift b/Sources/BasicContainers/RigidSet/RigidSet+Index.swift index cc626b42..ee1989b9 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Index.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Initializers.swift b/Sources/BasicContainers/RigidSet/RigidSet+Initializers.swift index 2fdf5a8d..71723cbf 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Initializers.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Insertions.swift b/Sources/BasicContainers/RigidSet/RigidSet+Insertions.swift index 8ae13a7b..77fde6fb 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Insertions.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Lookup.swift b/Sources/BasicContainers/RigidSet/RigidSet+Lookup.swift index b4231970..3013843e 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Lookup.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Lookup.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Removals.swift b/Sources/BasicContainers/RigidSet/RigidSet+Removals.swift index 64e6423d..776c84a4 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Removals.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidSet/RigidSet+Resizing.swift b/Sources/BasicContainers/RigidSet/RigidSet+Resizing.swift index 2d339c16..433cc2f4 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet+Resizing.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet+Resizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/RigidSet/RigidSet.swift b/Sources/BasicContainers/RigidSet/RigidSet.swift index a10f390a..68543a19 100644 --- a/Sources/BasicContainers/RigidSet/RigidSet.swift +++ b/Sources/BasicContainers/RigidSet/RigidSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Append.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Append.swift index 67aae1b3..963087ec 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Append.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Consumption.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Consumption.swift index c73320f9..04836dc7 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Consumption.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Container.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Container.swift index b633723f..e2bee05a 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Container.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Container.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Deprecated.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Deprecated.swift index 552da64d..4ec68d50 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Deprecated.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Deprecated.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Descriptions.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Descriptions.swift index bf815ce5..9fbf1124 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Descriptions.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Equatable.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Equatable.swift index 2c4753ae..8b10c1e1 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Equatable.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Experimental.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Experimental.swift index e8af5173..9168ba3b 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Experimental.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Experimental.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Hashable.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Hashable.swift index ee93d30c..c2584c07 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Hashable.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Initializers.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Initializers.swift index 5706f5e8..1d125368 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Initializers.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Insertions.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Insertions.swift index fc6855c7..7013cceb 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Insertions.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Removals.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Removals.swift index 294ff37e..e910461b 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Removals.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray+Replacements.swift b/Sources/BasicContainers/UniqueArray/UniqueArray+Replacements.swift index d8c5114b..75e5e9fd 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray+Replacements.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray+Replacements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray.swift b/Sources/BasicContainers/UniqueArray/UniqueArray.swift index 7d112135..098501fa 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Consumption.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Consumption.swift index aeff0fec..07e887c3 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Consumption.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Debugging.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Debugging.swift index 3c063681..7c2235b3 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Debugging.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Equatable.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Equatable.swift index 6474f35a..9db2f048 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Equatable.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Hashable.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Hashable.swift index 0375b084..33d999d1 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Hashable.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Index.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Index.swift index 0d360c35..bbbf67b1 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Index.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Indices.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Indices.swift index b9e35ac7..447a4d4f 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Indices.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Indices.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Initializers.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Initializers.swift index 9237280f..924d796c 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Initializers.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Insertions.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Insertions.swift index 6cf169f5..f83c4396 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Insertions.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Keys.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Keys.swift index 35539c77..cfa0536d 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Keys.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Keys.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Lookup.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Lookup.swift index 67d9556c..2d7799c5 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Lookup.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Lookup.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Removals.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Removals.swift index 30804e10..678b97e0 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Removals.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Resizing.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Resizing.swift index 1d582569..55ff8903 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Resizing.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary+Resizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary.swift b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary.swift index 9695c50c..4d1d858e 100644 --- a/Sources/BasicContainers/UniqueDictionary/UniqueDictionary.swift +++ b/Sources/BasicContainers/UniqueDictionary/UniqueDictionary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(<6.4) || !COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+BorrowingSequence.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+BorrowingSequence.swift index 2540d1b5..cfe5b408 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+BorrowingSequence.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+BorrowingSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Consumption.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Consumption.swift index 613a2657..cb941b6b 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Consumption.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Debugging.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Debugging.swift index e68dbc63..1cd14ba4 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Debugging.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Equatable.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Equatable.swift index a41f0ac8..b827b805 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Equatable.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Hashable.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Hashable.swift index 56167490..e6025688 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Hashable.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Index.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Index.swift index 69fbc4ce..7ee2a6ca 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Index.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Initializers.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Initializers.swift index 1b8f017f..69b164b2 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Initializers.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Insertions.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Insertions.swift index 5d14e66d..9406afc3 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Insertions.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Lookup.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Lookup.swift index 7ee3430b..6e3c306a 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Lookup.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Lookup.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Removals.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Removals.swift index 5ee47df9..43941f23 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Removals.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet+Resizing.swift b/Sources/BasicContainers/UniqueSet/UniqueSet+Resizing.swift index 61b238f6..784c2550 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet+Resizing.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet+Resizing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.4) && COLLECTIONS_UNSTABLE_HASHED_CONTAINERS diff --git a/Sources/BasicContainers/UniqueSet/UniqueSet.swift b/Sources/BasicContainers/UniqueSet/UniqueSet.swift index 3cec80bc..eb405f7d 100644 --- a/Sources/BasicContainers/UniqueSet/UniqueSet.swift +++ b/Sources/BasicContainers/UniqueSet/UniqueSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BinaryInteger extensions.swift b/Sources/BitCollections/BitArray/BinaryInteger extensions.swift index 57b1187c..1e1ae26d 100644 --- a/Sources/BitCollections/BitArray/BinaryInteger extensions.swift +++ b/Sources/BitCollections/BitArray/BinaryInteger extensions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+BitwiseOperations.swift b/Sources/BitCollections/BitArray/BitArray+BitwiseOperations.swift index ff685c46..6ab3a1ab 100644 --- a/Sources/BitCollections/BitArray/BitArray+BitwiseOperations.swift +++ b/Sources/BitCollections/BitArray/BitArray+BitwiseOperations.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift b/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift index d6534e7d..5b6c7610 100644 --- a/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift +++ b/Sources/BitCollections/BitArray/BitArray+ChunkedBitsIterators.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+Codable.swift b/Sources/BitCollections/BitArray/BitArray+Codable.swift index e225e92b..b9663ddb 100644 --- a/Sources/BitCollections/BitArray/BitArray+Codable.swift +++ b/Sources/BitCollections/BitArray/BitArray+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+Collection.swift b/Sources/BitCollections/BitArray/BitArray+Collection.swift index 48f55d30..f08021e1 100644 --- a/Sources/BitCollections/BitArray/BitArray+Collection.swift +++ b/Sources/BitCollections/BitArray/BitArray+Collection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitArray: Sequence { diff --git a/Sources/BitCollections/BitArray/BitArray+Copy.swift b/Sources/BitCollections/BitArray/BitArray+Copy.swift index fb21ff1a..2cc80b73 100644 --- a/Sources/BitCollections/BitArray/BitArray+Copy.swift +++ b/Sources/BitCollections/BitArray/BitArray+Copy.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+CustomReflectable.swift b/Sources/BitCollections/BitArray/BitArray+CustomReflectable.swift index 4d4fc3a4..c226f2bf 100644 --- a/Sources/BitCollections/BitArray/BitArray+CustomReflectable.swift +++ b/Sources/BitCollections/BitArray/BitArray+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitArray/BitArray+Descriptions.swift b/Sources/BitCollections/BitArray/BitArray+Descriptions.swift index 44a81d37..c2ebb11b 100644 --- a/Sources/BitCollections/BitArray/BitArray+Descriptions.swift +++ b/Sources/BitCollections/BitArray/BitArray+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UInt8 { diff --git a/Sources/BitCollections/BitArray/BitArray+Equatable.swift b/Sources/BitCollections/BitArray/BitArray+Equatable.swift index abe67c46..31ec256f 100644 --- a/Sources/BitCollections/BitArray/BitArray+Equatable.swift +++ b/Sources/BitCollections/BitArray/BitArray+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+ExpressibleByArrayLiteral.swift b/Sources/BitCollections/BitArray/BitArray+ExpressibleByArrayLiteral.swift index 451661e1..cc118fe0 100644 --- a/Sources/BitCollections/BitArray/BitArray+ExpressibleByArrayLiteral.swift +++ b/Sources/BitCollections/BitArray/BitArray+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitArray: ExpressibleByArrayLiteral { diff --git a/Sources/BitCollections/BitArray/BitArray+ExpressibleByStringLiteral.swift b/Sources/BitCollections/BitArray/BitArray+ExpressibleByStringLiteral.swift index b8e1807f..caee4906 100644 --- a/Sources/BitCollections/BitArray/BitArray+ExpressibleByStringLiteral.swift +++ b/Sources/BitCollections/BitArray/BitArray+ExpressibleByStringLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitArray/BitArray+Extras.swift b/Sources/BitCollections/BitArray/BitArray+Extras.swift index 752ecfc9..d9a72e4d 100644 --- a/Sources/BitCollections/BitArray/BitArray+Extras.swift +++ b/Sources/BitCollections/BitArray/BitArray+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray+Fill.swift b/Sources/BitCollections/BitArray/BitArray+Fill.swift index ba684e79..38eaa8b2 100644 --- a/Sources/BitCollections/BitArray/BitArray+Fill.swift +++ b/Sources/BitCollections/BitArray/BitArray+Fill.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray+Hashable.swift b/Sources/BitCollections/BitArray/BitArray+Hashable.swift index 84525bf0..4a2acf25 100644 --- a/Sources/BitCollections/BitArray/BitArray+Hashable.swift +++ b/Sources/BitCollections/BitArray/BitArray+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+Initializers.swift b/Sources/BitCollections/BitArray/BitArray+Initializers.swift index 248ea9db..bd7958d7 100644 --- a/Sources/BitCollections/BitArray/BitArray+Initializers.swift +++ b/Sources/BitCollections/BitArray/BitArray+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+Invariants.swift b/Sources/BitCollections/BitArray/BitArray+Invariants.swift index d848da71..5d7c7fc7 100644 --- a/Sources/BitCollections/BitArray/BitArray+Invariants.swift +++ b/Sources/BitCollections/BitArray/BitArray+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+LosslessStringConvertible.swift b/Sources/BitCollections/BitArray/BitArray+LosslessStringConvertible.swift index 9fce02d7..c9317330 100644 --- a/Sources/BitCollections/BitArray/BitArray+LosslessStringConvertible.swift +++ b/Sources/BitCollections/BitArray/BitArray+LosslessStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitArray/BitArray+RandomBits.swift b/Sources/BitCollections/BitArray/BitArray+RandomBits.swift index be558b97..bf083cb5 100644 --- a/Sources/BitCollections/BitArray/BitArray+RandomBits.swift +++ b/Sources/BitCollections/BitArray/BitArray+RandomBits.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift b/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift index 097ddebf..ca1e319e 100644 --- a/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift +++ b/Sources/BitCollections/BitArray/BitArray+RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray+Shifts.swift b/Sources/BitCollections/BitArray/BitArray+Shifts.swift index 78e66307..9ff20c00 100644 --- a/Sources/BitCollections/BitArray/BitArray+Shifts.swift +++ b/Sources/BitCollections/BitArray/BitArray+Shifts.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitArray { diff --git a/Sources/BitCollections/BitArray/BitArray+Testing.swift b/Sources/BitCollections/BitArray/BitArray+Testing.swift index b855962b..d62c631b 100644 --- a/Sources/BitCollections/BitArray/BitArray+Testing.swift +++ b/Sources/BitCollections/BitArray/BitArray+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift b/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift index c3db859c..0e441831 100644 --- a/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift +++ b/Sources/BitCollections/BitArray/BitArray._UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitArray/BitArray.swift b/Sources/BitCollections/BitArray/BitArray.swift index e636a697..bc9583d5 100644 --- a/Sources/BitCollections/BitArray/BitArray.swift +++ b/Sources/BitCollections/BitArray/BitArray.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift b/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift index b8fe6b72..4f222975 100644 --- a/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift +++ b/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Codable.swift b/Sources/BitCollections/BitSet/BitSet+Codable.swift index 380cf63c..a2eb3639 100644 --- a/Sources/BitCollections/BitSet/BitSet+Codable.swift +++ b/Sources/BitCollections/BitSet/BitSet+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitSet/BitSet+CustomDebugStringConvertible.swift b/Sources/BitCollections/BitSet/BitSet+CustomDebugStringConvertible.swift index e525f6e3..c2461974 100644 --- a/Sources/BitCollections/BitSet/BitSet+CustomDebugStringConvertible.swift +++ b/Sources/BitCollections/BitSet/BitSet+CustomDebugStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitSet/BitSet+CustomReflectable.swift b/Sources/BitCollections/BitSet/BitSet+CustomReflectable.swift index 28dd470f..3f27e628 100644 --- a/Sources/BitCollections/BitSet/BitSet+CustomReflectable.swift +++ b/Sources/BitCollections/BitSet/BitSet+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift b/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift index ac80fcc2..b6d52799 100644 --- a/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift +++ b/Sources/BitCollections/BitSet/BitSet+CustomStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Equatable.swift b/Sources/BitCollections/BitSet/BitSet+Equatable.swift index 7526ecaa..33769a6f 100644 --- a/Sources/BitCollections/BitSet/BitSet+Equatable.swift +++ b/Sources/BitCollections/BitSet/BitSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitSet: Equatable { diff --git a/Sources/BitCollections/BitSet/BitSet+ExpressibleByArrayLiteral.swift b/Sources/BitCollections/BitSet/BitSet+ExpressibleByArrayLiteral.swift index c4e79f9b..855bae06 100644 --- a/Sources/BitCollections/BitSet/BitSet+ExpressibleByArrayLiteral.swift +++ b/Sources/BitCollections/BitSet/BitSet+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitSet: ExpressibleByArrayLiteral { diff --git a/Sources/BitCollections/BitSet/BitSet+Extras.swift b/Sources/BitCollections/BitSet/BitSet+Extras.swift index 5ada1037..1bd68f09 100644 --- a/Sources/BitCollections/BitSet/BitSet+Extras.swift +++ b/Sources/BitCollections/BitSet/BitSet+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Hashable.swift b/Sources/BitCollections/BitSet/BitSet+Hashable.swift index ba42b5d0..faf7f7bc 100644 --- a/Sources/BitCollections/BitSet/BitSet+Hashable.swift +++ b/Sources/BitCollections/BitSet/BitSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Initializers.swift b/Sources/BitCollections/BitSet/BitSet+Initializers.swift index dfe2e3aa..871c5b54 100644 --- a/Sources/BitCollections/BitSet/BitSet+Initializers.swift +++ b/Sources/BitCollections/BitSet/BitSet+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Invariants.swift b/Sources/BitCollections/BitSet/BitSet+Invariants.swift index 8e0251cf..467298d1 100644 --- a/Sources/BitCollections/BitSet/BitSet+Invariants.swift +++ b/Sources/BitCollections/BitSet/BitSet+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Random.swift b/Sources/BitCollections/BitSet/BitSet+Random.swift index f688aa6e..d9af3141 100644 --- a/Sources/BitCollections/BitSet/BitSet+Random.swift +++ b/Sources/BitCollections/BitSet/BitSet+Random.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra basics.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra basics.swift index 82b59405..e80c7fe9 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra basics.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra basics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra conformance.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra conformance.swift index 999b988c..a4cdf645 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra conformance.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra conformance.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension BitSet: SetAlgebra {} diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift index 4891a8b5..1e82ba5f 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formIntersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift index 3a440381..bd9dfa37 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formSymmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift index 69860867..77e66f04 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra formUnion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift index f1b1850d..09f6fcb1 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra intersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift index 979b70d5..6b68ef8e 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isDisjoint.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift index 6397dfeb..93e0298d 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isEqualSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift index f6813422..83c125c5 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift index 5e287976..be20a879 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isStrictSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift index fc2b3b1b..ff42bafb 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift index 5f2b0dcd..cceca0eb 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra isSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift index 8f7ebf60..88d56fa3 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtract.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift index 5c4305e4..c225038f 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra subtracting.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift index 27ead68b..b6c32524 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra symmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift b/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift index b82df0f3..5b72525c 100644 --- a/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift +++ b/Sources/BitCollections/BitSet/BitSet+SetAlgebra union.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift b/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift index f1f12c78..cf414465 100644 --- a/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift +++ b/Sources/BitCollections/BitSet/BitSet+Sorted Collection APIs.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet.Counted.swift b/Sources/BitCollections/BitSet/BitSet.Counted.swift index 15c6a3bc..7fae3d25 100644 --- a/Sources/BitCollections/BitSet/BitSet.Counted.swift +++ b/Sources/BitCollections/BitSet/BitSet.Counted.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet.Index.swift b/Sources/BitCollections/BitSet/BitSet.Index.swift index 3fb14a40..28120f8a 100644 --- a/Sources/BitCollections/BitSet/BitSet.Index.swift +++ b/Sources/BitCollections/BitSet/BitSet.Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift b/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift index babab78a..a9de5822 100644 --- a/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift +++ b/Sources/BitCollections/BitSet/BitSet._UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/BitSet/BitSet.swift b/Sources/BitCollections/BitSet/BitSet.swift index b9e983a7..c7b8ac60 100644 --- a/Sources/BitCollections/BitSet/BitSet.swift +++ b/Sources/BitCollections/BitSet/BitSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/CMakeLists.txt b/Sources/BitCollections/CMakeLists.txt index 39523e27..82066302 100644 --- a/Sources/BitCollections/CMakeLists.txt +++ b/Sources/BitCollections/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2022 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/BitCollections/Shared/Range+Utilities.swift b/Sources/BitCollections/Shared/Range+Utilities.swift index e24d59cb..bd12da26 100644 --- a/Sources/BitCollections/Shared/Range+Utilities.swift +++ b/Sources/BitCollections/Shared/Range+Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Range where Bound: FixedWidthInteger { diff --git a/Sources/BitCollections/Shared/Slice+Utilities.swift b/Sources/BitCollections/Shared/Slice+Utilities.swift index d22ffc8d..2b63dd77 100644 --- a/Sources/BitCollections/Shared/Slice+Utilities.swift +++ b/Sources/BitCollections/Shared/Slice+Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Slice { diff --git a/Sources/BitCollections/Shared/UInt+Tricks.swift b/Sources/BitCollections/Shared/UInt+Tricks.swift index a27a9046..459f1f9c 100644 --- a/Sources/BitCollections/Shared/UInt+Tricks.swift +++ b/Sources/BitCollections/Shared/UInt+Tricks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/BitCollections/Shared/_Word.swift b/Sources/BitCollections/Shared/_Word.swift index ae066b71..c759772b 100644 --- a/Sources/BitCollections/Shared/_Word.swift +++ b/Sources/BitCollections/Shared/_Word.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 7d40b705..c1678f88 100644 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/Collections/BitCollections reexports.swift b/Sources/Collections/BitCollections reexports.swift index ce1a1641..e27ce472 100644 --- a/Sources/Collections/BitCollections reexports.swift +++ b/Sources/Collections/BitCollections reexports.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/Collections/CMakeLists.txt b/Sources/Collections/CMakeLists.txt index d49d7584..d5a3fc4d 100644 --- a/Sources/Collections/CMakeLists.txt +++ b/Sources/Collections/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] add_library(Collections diff --git a/Sources/Collections/DequeModule reexports.swift b/Sources/Collections/DequeModule reexports.swift index 6aad0586..acebc6a8 100644 --- a/Sources/Collections/DequeModule reexports.swift +++ b/Sources/Collections/DequeModule reexports.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/Collections/HashTreeCollections reexports.swift b/Sources/Collections/HashTreeCollections reexports.swift index e83a2589..c4b6b70c 100644 --- a/Sources/Collections/HashTreeCollections reexports.swift +++ b/Sources/Collections/HashTreeCollections reexports.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/Collections/HeapModule reexports.swift b/Sources/Collections/HeapModule reexports.swift index a99ce48f..612e281c 100644 --- a/Sources/Collections/HeapModule reexports.swift +++ b/Sources/Collections/HeapModule reexports.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/Collections/OrderedCollections reexports.swift b/Sources/Collections/OrderedCollections reexports.swift index f64b9927..58e2b8a9 100644 --- a/Sources/Collections/OrderedCollections reexports.swift +++ b/Sources/Collections/OrderedCollections reexports.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/ContainersPreview/CMakeLists.txt b/Sources/ContainersPreview/CMakeLists.txt index b3fc95c8..a7845028 100644 --- a/Sources/ContainersPreview/CMakeLists.txt +++ b/Sources/ContainersPreview/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2022 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/ContainersPreview/Extensions/OutputSpan+Extras.swift b/Sources/ContainersPreview/Extensions/OutputSpan+Extras.swift index 77318a9c..11042da5 100644 --- a/Sources/ContainersPreview/Extensions/OutputSpan+Extras.swift +++ b/Sources/ContainersPreview/Extensions/OutputSpan+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/ContainersPreview/Extensions/TemporaryAllocation.swift b/Sources/ContainersPreview/Extensions/TemporaryAllocation.swift index 6ec7b5fe..70dd9b18 100644 --- a/Sources/ContainersPreview/Extensions/TemporaryAllocation.swift +++ b/Sources/ContainersPreview/Extensions/TemporaryAllocation.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/ContainersPreview/Protocols/BorrowingIteratorProtocol.swift b/Sources/ContainersPreview/Protocols/BorrowingIteratorProtocol.swift index 651937d9..5f7204b8 100644 --- a/Sources/ContainersPreview/Protocols/BorrowingIteratorProtocol.swift +++ b/Sources/ContainersPreview/Protocols/BorrowingIteratorProtocol.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Protocols/BorrowingSequence+Standard Conformances.swift b/Sources/ContainersPreview/Protocols/BorrowingSequence+Standard Conformances.swift index f256b0e1..5febd035 100644 --- a/Sources/ContainersPreview/Protocols/BorrowingSequence+Standard Conformances.swift +++ b/Sources/ContainersPreview/Protocols/BorrowingSequence+Standard Conformances.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Protocols/BorrowingSequence+Utilities.swift b/Sources/ContainersPreview/Protocols/BorrowingSequence+Utilities.swift index d797e82f..c5da3a41 100644 --- a/Sources/ContainersPreview/Protocols/BorrowingSequence+Utilities.swift +++ b/Sources/ContainersPreview/Protocols/BorrowingSequence+Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/ContainersPreview/Protocols/BorrowingSequence.swift b/Sources/ContainersPreview/Protocols/BorrowingSequence.swift index f963de7a..9c90ef0e 100644 --- a/Sources/ContainersPreview/Protocols/BorrowingSequence.swift +++ b/Sources/ContainersPreview/Protocols/BorrowingSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Protocols/Container.swift b/Sources/ContainersPreview/Protocols/Container.swift index 1e0ca137..a7ebbc8e 100644 --- a/Sources/ContainersPreview/Protocols/Container.swift +++ b/Sources/ContainersPreview/Protocols/Container.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Protocols/ContainerAlgorithms.swift b/Sources/ContainersPreview/Protocols/ContainerAlgorithms.swift index d1c9f394..a172b3ee 100644 --- a/Sources/ContainersPreview/Protocols/ContainerAlgorithms.swift +++ b/Sources/ContainersPreview/Protocols/ContainerAlgorithms.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/ContainersPreview/Protocols/Drain.swift b/Sources/ContainersPreview/Protocols/Drain.swift index 1908b55f..c2212dc4 100644 --- a/Sources/ContainersPreview/Protocols/Drain.swift +++ b/Sources/ContainersPreview/Protocols/Drain.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Protocols/Producer.swift b/Sources/ContainersPreview/Protocols/Producer.swift index fd5a812b..a74c0c74 100644 --- a/Sources/ContainersPreview/Protocols/Producer.swift +++ b/Sources/ContainersPreview/Protocols/Producer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Types/Borrow.swift b/Sources/ContainersPreview/Types/Borrow.swift index 0f815407..d988d3ff 100644 --- a/Sources/ContainersPreview/Types/Borrow.swift +++ b/Sources/ContainersPreview/Types/Borrow.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Types/Box.swift b/Sources/ContainersPreview/Types/Box.swift index d6a9957f..6dbd88bb 100644 --- a/Sources/ContainersPreview/Types/Box.swift +++ b/Sources/ContainersPreview/Types/Box.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(<6.2) diff --git a/Sources/ContainersPreview/Types/Inout.swift b/Sources/ContainersPreview/Types/Inout.swift index b2712279..16e7e007 100644 --- a/Sources/ContainersPreview/Types/Inout.swift +++ b/Sources/ContainersPreview/Types/Inout.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Types/InputSpan.swift b/Sources/ContainersPreview/Types/InputSpan.swift index 45cc7958..406fcb6f 100644 --- a/Sources/ContainersPreview/Types/InputSpan.swift +++ b/Sources/ContainersPreview/Types/InputSpan.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/ContainersPreview/Types/Shared.swift b/Sources/ContainersPreview/Types/Shared.swift index 594665f3..e9241d3c 100644 --- a/Sources/ContainersPreview/Types/Shared.swift +++ b/Sources/ContainersPreview/Types/Shared.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Sources/DequeModule/CMakeLists.txt b/Sources/DequeModule/CMakeLists.txt index bcfa461f..3271a3cc 100644 --- a/Sources/DequeModule/CMakeLists.txt +++ b/Sources/DequeModule/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/DequeModule/Deque/Deque+Codable.swift b/Sources/DequeModule/Deque/Deque+Codable.swift index 5605b76b..c56b86af 100644 --- a/Sources/DequeModule/Deque/Deque+Codable.swift +++ b/Sources/DequeModule/Deque/Deque+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/DequeModule/Deque/Deque+Collection.swift b/Sources/DequeModule/Deque/Deque+Collection.swift index 7a99eb0a..0053368e 100644 --- a/Sources/DequeModule/Deque/Deque+Collection.swift +++ b/Sources/DequeModule/Deque/Deque+Collection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/Deque/Deque+CustomReflectable.swift b/Sources/DequeModule/Deque/Deque+CustomReflectable.swift index 9f638255..a8a169ec 100644 --- a/Sources/DequeModule/Deque/Deque+CustomReflectable.swift +++ b/Sources/DequeModule/Deque/Deque+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/DequeModule/Deque/Deque+Descriptions.swift b/Sources/DequeModule/Deque/Deque+Descriptions.swift index 67784802..3e9510e0 100644 --- a/Sources/DequeModule/Deque/Deque+Descriptions.swift +++ b/Sources/DequeModule/Deque/Deque+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/Deque/Deque+Equatable.swift b/Sources/DequeModule/Deque/Deque+Equatable.swift index d59ba2e0..c65ea07d 100644 --- a/Sources/DequeModule/Deque/Deque+Equatable.swift +++ b/Sources/DequeModule/Deque/Deque+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Deque: Equatable where Element: Equatable { diff --git a/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift b/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift index 3c1aab34..b2565a5b 100644 --- a/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift +++ b/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Deque: ExpressibleByArrayLiteral { diff --git a/Sources/DequeModule/Deque/Deque+Extras.swift b/Sources/DequeModule/Deque/Deque+Extras.swift index e4b36ba0..515897f0 100644 --- a/Sources/DequeModule/Deque/Deque+Extras.swift +++ b/Sources/DequeModule/Deque/Deque+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/Deque/Deque+Hashable.swift b/Sources/DequeModule/Deque/Deque+Hashable.swift index 795b9d4d..3250016b 100644 --- a/Sources/DequeModule/Deque/Deque+Hashable.swift +++ b/Sources/DequeModule/Deque/Deque+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Deque: Hashable where Element: Hashable { diff --git a/Sources/DequeModule/Deque/Deque+Testing.swift b/Sources/DequeModule/Deque/Deque+Testing.swift index a101b001..373f9d55 100644 --- a/Sources/DequeModule/Deque/Deque+Testing.swift +++ b/Sources/DequeModule/Deque/Deque+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/Deque/Deque._Storage.swift b/Sources/DequeModule/Deque/Deque._Storage.swift index 75567ce0..ab360089 100644 --- a/Sources/DequeModule/Deque/Deque._Storage.swift +++ b/Sources/DequeModule/Deque/Deque._Storage.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Deque { diff --git a/Sources/DequeModule/Deque/Deque._UnsafeHandle.swift b/Sources/DequeModule/Deque/Deque._UnsafeHandle.swift index 263e5c40..91916abb 100644 --- a/Sources/DequeModule/Deque/Deque._UnsafeHandle.swift +++ b/Sources/DequeModule/Deque/Deque._UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Deque { diff --git a/Sources/DequeModule/Deque/Deque.swift b/Sources/DequeModule/Deque/Deque.swift index 8f3ea128..0b1a57b1 100644 --- a/Sources/DequeModule/Deque/Deque.swift +++ b/Sources/DequeModule/Deque/Deque.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A collection implementing a double-ended queue. `Deque` (pronounced "deck") diff --git a/Sources/DequeModule/Deque/_DequeBuffer.swift b/Sources/DequeModule/Deque/_DequeBuffer.swift index 99cd5a41..41e3e8ad 100644 --- a/Sources/DequeModule/Deque/_DequeBuffer.swift +++ b/Sources/DequeModule/Deque/_DequeBuffer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @_fixed_layout diff --git a/Sources/DequeModule/Deque/_DequeBufferHeader.swift b/Sources/DequeModule/Deque/_DequeBufferHeader.swift index b8963b7b..31f37179 100644 --- a/Sources/DequeModule/Deque/_DequeBufferHeader.swift +++ b/Sources/DequeModule/Deque/_DequeBufferHeader.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Append.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Append.swift index b06cece8..3a757fed 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Append.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Consumption.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Consumption.swift index 4b264e88..b99f2633 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Consumption.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Container.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Container.swift index 16ed1ee5..f47d0cf0 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Container.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Container.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Descriptions.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Descriptions.swift index 5d7e53de..4a3aedf9 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Descriptions.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Equatable.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Equatable.swift index 32dd9181..8a7f7710 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Equatable.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Experimental.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Experimental.swift index 250ab5d3..8a0954a2 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Experimental.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Experimental.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift index 5600a2b7..1eea2934 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift index c6b2868a..4d103209 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift index 6cdc3055..48b69967 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift index 6faab1d1..9d123956 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift index 38f3048b..6c80e801 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift index 70f8a206..f8218011 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift b/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift index cd6a0d12..b669f4f5 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/RigidDeque/RigidDeque.swift b/Sources/DequeModule/RigidDeque/RigidDeque.swift index 64131b20..9ea6e8a7 100644 --- a/Sources/DequeModule/RigidDeque/RigidDeque.swift +++ b/Sources/DequeModule/RigidDeque/RigidDeque.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift index c13fc18c..de4753da 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift index e0cae681..157bcc24 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Container.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Container.swift index 09f39802..d48c3bbe 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Container.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Container.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift index 5378d5ec..ea563bbd 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift index 7ee9fc88..5de7bd43 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Experimental.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Experimental.swift index e150c28c..331f527a 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Experimental.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Experimental.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift index 25e0fccd..0a4f8b4a 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift index 50e1c637..8b9ba675 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift index 025f39f0..a838f15c 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift index 71d06904..0f1f6b9a 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift index 60030e84..5e2fc9f9 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift index d17ea86b..61918389 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/UniqueDeque/UniqueDeque.swift b/Sources/DequeModule/UniqueDeque/UniqueDeque.swift index fdff52b1..c82d299e 100644 --- a/Sources/DequeModule/UniqueDeque/UniqueDeque.swift +++ b/Sources/DequeModule/UniqueDeque/UniqueDeque.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/_DequeSlot.swift b/Sources/DequeModule/_DequeSlot.swift index 0a584477..4a28672c 100644 --- a/Sources/DequeModule/_DequeSlot.swift +++ b/Sources/DequeModule/_DequeSlot.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/DequeModule/_UnsafeDequeHandle.swift b/Sources/DequeModule/_UnsafeDequeHandle.swift index ca3d12e1..f7e34400 100644 --- a/Sources/DequeModule/_UnsafeDequeHandle.swift +++ b/Sources/DequeModule/_UnsafeDequeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/DequeModule/_UnsafeDequeSegments.swift b/Sources/DequeModule/_UnsafeDequeSegments.swift index c5e334a6..ec7f1215 100644 --- a/Sources/DequeModule/_UnsafeDequeSegments.swift +++ b/Sources/DequeModule/_UnsafeDequeSegments.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/CMakeLists.txt b/Sources/HashTreeCollections/CMakeLists.txt index 43e4a26d..a206b0f0 100644 --- a/Sources/HashTreeCollections/CMakeLists.txt +++ b/Sources/HashTreeCollections/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2022 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/HashTreeCollections/HashNode/_AncestorHashSlots.swift b/Sources/HashTreeCollections/HashNode/_AncestorHashSlots.swift index 92243644..c50406a6 100644 --- a/Sources/HashTreeCollections/HashNode/_AncestorHashSlots.swift +++ b/Sources/HashTreeCollections/HashNode/_AncestorHashSlots.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A collection of slot values logically addressing a particular node in a diff --git a/Sources/HashTreeCollections/HashNode/_Bitmap.swift b/Sources/HashTreeCollections/HashNode/_Bitmap.swift index e6965519..bd80daf5 100644 --- a/Sources/HashTreeCollections/HashNode/_Bitmap.swift +++ b/Sources/HashTreeCollections/HashNode/_Bitmap.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_Bucket.swift b/Sources/HashTreeCollections/HashNode/_Bucket.swift index d8aedd47..63f0798e 100644 --- a/Sources/HashTreeCollections/HashNode/_Bucket.swift +++ b/Sources/HashTreeCollections/HashNode/_Bucket.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Identifies an entry in the hash table inside a node. diff --git a/Sources/HashTreeCollections/HashNode/_Hash.swift b/Sources/HashTreeCollections/HashNode/_Hash.swift index 7ad1af45..b5e06319 100644 --- a/Sources/HashTreeCollections/HashNode/_Hash.swift +++ b/Sources/HashTreeCollections/HashNode/_Hash.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An abstract representation of a hash value. diff --git a/Sources/HashTreeCollections/HashNode/_HashLevel.swift b/Sources/HashTreeCollections/HashNode/_HashLevel.swift index 0bf1bf4e..175f4730 100644 --- a/Sources/HashTreeCollections/HashNode/_HashLevel.swift +++ b/Sources/HashTreeCollections/HashNode/_HashLevel.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Identifies a particular level within the hash tree. diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Builder.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Builder.swift index df18f626..1906623a 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Builder.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Builder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift index 846b2d9e..e393c73f 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift index 2a5b6ea1..68968ad8 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Invariants.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Invariants.swift index f8461f45..7e64354d 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Invariants.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNodeHeader { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Lookups.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Lookups.swift index 23185e3a..d3dbe436 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Lookups.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Lookups.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // MARK: Node-level lookup operations diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Insertions.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Insertions.swift index 87fc91ce..147260c5 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Insertions.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // MARK: Node-level insertion operations diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Removals.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Removals.swift index 4a1da0ba..03950752 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Removals.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // MARK: Node-level removal operations diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Replacement.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Replacement.swift index dfab78a7..912d5ecd 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Replacement.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Primitive Replacement.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift index d4f2fef8..077318ae 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Storage.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural compactMapValues.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural compactMapValues.swift index 828e544e..b0137e25 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural compactMapValues.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural compactMapValues.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural filter.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural filter.swift index 13f963af..2a6c0422 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural filter.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural filter.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural intersection.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural intersection.swift index 5524464b..cff0c600 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural intersection.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural intersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isDisjoint.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isDisjoint.swift index fb126a13..48217a8c 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isDisjoint.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isDisjoint.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isEqualSet.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isEqualSet.swift index 82dbdf02..1b6099cd 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isEqualSet.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isEqualSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // TODO: `Equatable` needs more test coverage, apart from hash-collision smoke test diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isSubset.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isSubset.swift index 5a1eea7a..1e1291cd 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural isSubset.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural isSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift index aabdfd63..53dd46e3 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural mapValues.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural merge.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural merge.swift index 145c93fc..c0e2c37f 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural merge.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural merge.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural subtracting.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural subtracting.swift index 1b0e8e64..b18b47a2 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural subtracting.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural subtracting.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural symmetricDifference.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural symmetricDifference.swift index f287c7fd..8e4626bf 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural symmetricDifference.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural symmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Structural union.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Structural union.swift index 6ec1e0bd..5166610e 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Structural union.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Structural union.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift index f9ea85fc..88d56498 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Modify.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Modify.swift index 4baa92a8..8ccab003 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Modify.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Modify.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // MARK: Subtree-level in-place mutation operations diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Removals.swift b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Removals.swift index 5a90e7c3..4aebfc77 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Removals.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+Subtree Removals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // MARK: Subtree-level removal operations diff --git a/Sources/HashTreeCollections/HashNode/_HashNode+UnsafeHandle.swift b/Sources/HashTreeCollections/HashNode/_HashNode+UnsafeHandle.swift index aac1b2b9..78c8d7e9 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode+UnsafeHandle.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode+UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashNode { diff --git a/Sources/HashTreeCollections/HashNode/_HashNode.swift b/Sources/HashTreeCollections/HashNode/_HashNode.swift index f154cd47..b807aef8 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A node in the hash tree, logically representing a hash table with diff --git a/Sources/HashTreeCollections/HashNode/_HashNodeHeader.swift b/Sources/HashTreeCollections/HashNode/_HashNodeHeader.swift index 6e9ddbb7..f178ebdb 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNodeHeader.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNodeHeader.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// The storage header in a hash tree node. This includes data about the diff --git a/Sources/HashTreeCollections/HashNode/_HashSlot.swift b/Sources/HashTreeCollections/HashNode/_HashSlot.swift index eac97906..82c5a5ef 100644 --- a/Sources/HashTreeCollections/HashNode/_HashSlot.swift +++ b/Sources/HashTreeCollections/HashNode/_HashSlot.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Identifies a position within a contiguous storage region within a hash tree diff --git a/Sources/HashTreeCollections/HashNode/_HashStack.swift b/Sources/HashTreeCollections/HashNode/_HashStack.swift index 143b449c..630f99b9 100644 --- a/Sources/HashTreeCollections/HashNode/_HashStack.swift +++ b/Sources/HashTreeCollections/HashNode/_HashStack.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A fixed-size array of just enough size to hold an ancestor path in a diff --git a/Sources/HashTreeCollections/HashNode/_HashTreeIterator.swift b/Sources/HashTreeCollections/HashNode/_HashTreeIterator.swift index 43d0653f..8c4a4e3e 100644 --- a/Sources/HashTreeCollections/HashNode/_HashTreeIterator.swift +++ b/Sources/HashTreeCollections/HashNode/_HashTreeIterator.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/HashTreeCollections/HashNode/_HashTreeStatistics.swift b/Sources/HashTreeCollections/HashNode/_HashTreeStatistics.swift index 198149dc..d17987ea 100644 --- a/Sources/HashTreeCollections/HashNode/_HashTreeStatistics.swift +++ b/Sources/HashTreeCollections/HashNode/_HashTreeStatistics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public struct _HashTreeStatistics { diff --git a/Sources/HashTreeCollections/HashNode/_RawHashNode+UnsafeHandle.swift b/Sources/HashTreeCollections/HashNode/_RawHashNode+UnsafeHandle.swift index e23c8957..624f9bc4 100644 --- a/Sources/HashTreeCollections/HashNode/_RawHashNode+UnsafeHandle.swift +++ b/Sources/HashTreeCollections/HashNode/_RawHashNode+UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _RawHashNode { diff --git a/Sources/HashTreeCollections/HashNode/_RawHashNode.swift b/Sources/HashTreeCollections/HashNode/_RawHashNode.swift index 130dad97..99755e53 100644 --- a/Sources/HashTreeCollections/HashNode/_RawHashNode.swift +++ b/Sources/HashTreeCollections/HashNode/_RawHashNode.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A type-erased node in a hash tree. This doesn't know about the user data diff --git a/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift b/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift index ffacbabe..9bc617dc 100644 --- a/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift +++ b/Sources/HashTreeCollections/HashNode/_UnmanagedHashNode.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/HashNode/_UnsafePath.swift b/Sources/HashTreeCollections/HashNode/_UnsafePath.swift index 9ed4be3e..a31faf0c 100644 --- a/Sources/HashTreeCollections/HashNode/_UnsafePath.swift +++ b/Sources/HashTreeCollections/HashNode/_UnsafePath.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A non-owning, mutable construct representing a path to an item or child node diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Codable.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Codable.swift index 5f150633..4c270399 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Codable.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Collection.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Collection.swift index da0c45aa..539e5d9d 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Collection.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Collection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+CustomReflectable.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+CustomReflectable.swift index b30541db..70349a3e 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+CustomReflectable.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift index 1a34cd99..549f6d13 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift index d86e5bd2..fc1c7afe 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Equatable.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Equatable.swift index 548eb28e..a87e61d8 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Equatable.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary: Equatable where Value: Equatable { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+ExpressibleByDictionaryLiteral.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+ExpressibleByDictionaryLiteral.swift index 3899cd70..eaf98b82 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+ExpressibleByDictionaryLiteral.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+ExpressibleByDictionaryLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary: ExpressibleByDictionaryLiteral { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Filter.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Filter.swift index 11c32c33..106a27f2 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Filter.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Filter.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Hashable.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Hashable.swift index 06f735ef..ecc3f36d 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Hashable.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary: Hashable where Value: Hashable { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift index 46f43b69..2738fa80 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift index cbb039c8..a5b32d06 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Keys.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+MapValues.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+MapValues.swift index f78b68cd..8d60e55f 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+MapValues.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+MapValues.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Merge.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Merge.swift index 3f0435d1..752885ef 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Merge.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Merge.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sendable.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sendable.swift index 1667619d..527b8688 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sendable.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary: @unchecked Sendable diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sequence.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sequence.swift index 7106ec18..30da91c1 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sequence.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeDictionary: Sequence { diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift index 76571c8f..1beacf84 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary+Values.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary.swift b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary.swift index e77e3d5a..76f3cd04 100644 --- a/Sources/HashTreeCollections/TreeDictionary/TreeDictionary.swift +++ b/Sources/HashTreeCollections/TreeDictionary/TreeDictionary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An unordered collection of unique keys and associated values, optimized for diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Codable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Codable.swift index 3e773ca2..96c03f43 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Codable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Collection.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Collection.swift index e4b6c4ca..eb9249ef 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Collection.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Collection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+CustomReflectable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+CustomReflectable.swift index e754080d..42a50f07 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+CustomReflectable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift index b1e4400e..898240b9 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift index 2273eeff..a5249244 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift index e27fb19b..7e9e7d8a 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+ExpressibleByArrayLiteral.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+ExpressibleByArrayLiteral.swift index 18f657c5..c38eb024 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+ExpressibleByArrayLiteral.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet: ExpressibleByArrayLiteral { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift index adcff12b..222978eb 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Filter.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Filter.swift index 5bbf8eda..056b6a7a 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Filter.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Filter.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Hashable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Hashable.swift index d05227b0..12b2a196 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Hashable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet: Hashable { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Sendable.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Sendable.swift index eba33233..a690cbde 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Sendable.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet: @unchecked Sendable where Element: Sendable {} diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+Sequence.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+Sequence.swift index 1ec02bf1..c482126c 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+Sequence.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet: Sequence { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift index 44cd323a..e1e5aa1d 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift index e22a4a87..a903298d 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra basics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formIntersection.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formIntersection.swift index 658f2dc2..298a9aad 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formIntersection.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formIntersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formSymmetricDifference.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formSymmetricDifference.swift index f1cb06f1..d0c57fac 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formSymmetricDifference.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formSymmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formUnion.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formUnion.swift index 3270b25f..406aac7d 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formUnion.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra formUnion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift index 3ccf5015..61087f71 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra intersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift index e45611df..74c4199c 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isDisjoint.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift index f1383102..85957192 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isEqualSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift index f3da4a8f..8ee1e699 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift index 41cb0abe..804d8340 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isStrictSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift index e4e92ab8..699fb23c 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift index 1ab9f56b..283a4a54 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra isSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtract.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtract.swift index 11dfd313..5c39fd44 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtract.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtract.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension TreeSet { diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift index eaa75301..6ca99658 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra subtracting.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift index fc6fb029..84f260ae 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra symmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift index 8575f24f..a8904513 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet+SetAlgebra union.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HashTreeCollections/TreeSet/TreeSet.swift b/Sources/HashTreeCollections/TreeSet/TreeSet.swift index fb962437..42c636b0 100644 --- a/Sources/HashTreeCollections/TreeSet/TreeSet.swift +++ b/Sources/HashTreeCollections/TreeSet/TreeSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An unordered collection of unique elements, optimized for mutating shared diff --git a/Sources/HeapModule/CMakeLists.txt b/Sources/HeapModule/CMakeLists.txt index 44f450e4..52fef5dc 100644 --- a/Sources/HeapModule/CMakeLists.txt +++ b/Sources/HeapModule/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/HeapModule/Heap+Descriptions.swift b/Sources/HeapModule/Heap+Descriptions.swift index 78862f58..c9c5171c 100644 --- a/Sources/HeapModule/Heap+Descriptions.swift +++ b/Sources/HeapModule/Heap+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/HeapModule/Heap+ExpressibleByArrayLiteral.swift b/Sources/HeapModule/Heap+ExpressibleByArrayLiteral.swift index b22f7384..618b5af4 100644 --- a/Sources/HeapModule/Heap+ExpressibleByArrayLiteral.swift +++ b/Sources/HeapModule/Heap+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Heap: ExpressibleByArrayLiteral { diff --git a/Sources/HeapModule/Heap+Invariants.swift b/Sources/HeapModule/Heap+Invariants.swift index f138e412..0a350438 100644 --- a/Sources/HeapModule/Heap+Invariants.swift +++ b/Sources/HeapModule/Heap+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/HeapModule/Heap+UnsafeHandle.swift b/Sources/HeapModule/Heap+UnsafeHandle.swift index b3c30707..25c4c5cc 100644 --- a/Sources/HeapModule/Heap+UnsafeHandle.swift +++ b/Sources/HeapModule/Heap+UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Heap { diff --git a/Sources/HeapModule/Heap.swift b/Sources/HeapModule/Heap.swift index 75b1bd5b..9243f54a 100644 --- a/Sources/HeapModule/Heap.swift +++ b/Sources/HeapModule/Heap.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// diff --git a/Sources/HeapModule/_HeapNode.swift b/Sources/HeapModule/_HeapNode.swift index 66815228..686473e7 100644 --- a/Sources/HeapModule/_HeapNode.swift +++ b/Sources/HeapModule/_HeapNode.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline @frozen diff --git a/Sources/InternalCollectionsUtilities/CMakeLists.txt b/Sources/InternalCollectionsUtilities/CMakeLists.txt index 36e3b8ba..e52b1c50 100644 --- a/Sources/InternalCollectionsUtilities/CMakeLists.txt +++ b/Sources/InternalCollectionsUtilities/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2022 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/InternalCollectionsUtilities/Debugging.swift b/Sources/InternalCollectionsUtilities/Debugging.swift index 00ac0830..f75ff645 100644 --- a/Sources/InternalCollectionsUtilities/Debugging.swift +++ b/Sources/InternalCollectionsUtilities/Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// True if consistency checking is enabled in the implementation of the diff --git a/Sources/InternalCollectionsUtilities/Descriptions.swift b/Sources/InternalCollectionsUtilities/Descriptions.swift index 38355750..7ac7eb3a 100644 --- a/Sources/InternalCollectionsUtilities/Descriptions.swift +++ b/Sources/InternalCollectionsUtilities/Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift index a90428b1..320bcf1f 100644 --- a/Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift +++ b/Sources/InternalCollectionsUtilities/IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension FixedWidthInteger { diff --git a/Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift index 235f88be..5f115736 100644 --- a/Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift +++ b/Sources/InternalCollectionsUtilities/IntegerTricks/Integer rank.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension FixedWidthInteger { diff --git a/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift index ac31f695..9016c87a 100644 --- a/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift +++ b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+first and last set bit.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UInt { diff --git a/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift index f9c75748..b5fa226d 100644 --- a/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift +++ b/Sources/InternalCollectionsUtilities/IntegerTricks/UInt+reversed.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UInt { diff --git a/Sources/InternalCollectionsUtilities/LifetimeOverride.swift b/Sources/InternalCollectionsUtilities/LifetimeOverride.swift index 7c346da1..61a8f681 100644 --- a/Sources/InternalCollectionsUtilities/LifetimeOverride.swift +++ b/Sources/InternalCollectionsUtilities/LifetimeOverride.swift @@ -6,6 +6,8 @@ // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information +// +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // // SPDX-License-Identifier: Apache-2.0 WITH Swift-exception diff --git a/Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift b/Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift index df144a41..ef05e77e 100644 --- a/Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift +++ b/Sources/InternalCollectionsUtilities/RandomAccessCollection+Offsets.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension RandomAccessCollection { diff --git a/Sources/InternalCollectionsUtilities/Span+Extras.swift b/Sources/InternalCollectionsUtilities/Span+Extras.swift index a1e7473c..3abfd8b6 100644 --- a/Sources/InternalCollectionsUtilities/Span+Extras.swift +++ b/Sources/InternalCollectionsUtilities/Span+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Sources/InternalCollectionsUtilities/String+Padding.swift b/Sources/InternalCollectionsUtilities/String+Padding.swift index 8f3f22f0..5aa89653 100644 --- a/Sources/InternalCollectionsUtilities/String+Padding.swift +++ b/Sources/InternalCollectionsUtilities/String+Padding.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension String { diff --git a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift index 853c39ef..e950f232 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _UnsafeBitSet { diff --git a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift index 81a8f996..f0af791b 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet+_Word.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _UnsafeBitSet { diff --git a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift index 5a96814a..30bd357f 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeBitSet/_UnsafeBitSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An unsafe-unowned bitset view over `UInt` storage, providing bit set diff --git a/Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift index 8c7cde3c..0db4d879 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeBufferPointer+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UnsafeBufferPointer where Element: ~Copyable{ diff --git a/Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift index e8bfc012..a42d5d70 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UnsafeMutableBufferPointer where Element: ~Copyable { diff --git a/Sources/InternalCollectionsUtilities/UnsafeMutableRawBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/UnsafeMutableRawBufferPointer+Extras.swift index cb0f78b0..f468b380 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeMutableRawBufferPointer+Extras.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeMutableRawBufferPointer+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UnsafeMutableRawBufferPointer { diff --git a/Sources/InternalCollectionsUtilities/UnsafeRawBufferPointer+Extras.swift b/Sources/InternalCollectionsUtilities/UnsafeRawBufferPointer+Extras.swift index 945950ad..f4d25ccf 100644 --- a/Sources/InternalCollectionsUtilities/UnsafeRawBufferPointer+Extras.swift +++ b/Sources/InternalCollectionsUtilities/UnsafeRawBufferPointer+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension UnsafeRawBufferPointer { diff --git a/Sources/InternalCollectionsUtilities/_SortedCollection.swift b/Sources/InternalCollectionsUtilities/_SortedCollection.swift index e5e70d20..1337bdd2 100644 --- a/Sources/InternalCollectionsUtilities/_SortedCollection.swift +++ b/Sources/InternalCollectionsUtilities/_SortedCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A Collection type that is guaranteed to contain elements in monotonically diff --git a/Sources/InternalCollectionsUtilities/_UniqueCollection.swift b/Sources/InternalCollectionsUtilities/_UniqueCollection.swift index 8dae8cd5..ea3ada35 100644 --- a/Sources/InternalCollectionsUtilities/_UniqueCollection.swift +++ b/Sources/InternalCollectionsUtilities/_UniqueCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A Collection type that is guaranteed not to contain any duplicate elements. diff --git a/Sources/OrderedCollections/CMakeLists.txt b/Sources/OrderedCollections/CMakeLists.txt index 0f0fc07c..84aace63 100644 --- a/Sources/OrderedCollections/CMakeLists.txt +++ b/Sources/OrderedCollections/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/OrderedCollections/HashTable/_HashTable+Bucket.swift b/Sources/OrderedCollections/HashTable/_HashTable+Bucket.swift index e372a055..9d9f81df 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+Bucket.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+Bucket.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashTable { diff --git a/Sources/OrderedCollections/HashTable/_HashTable+BucketIterator.swift b/Sources/OrderedCollections/HashTable/_HashTable+BucketIterator.swift index 8de53bb6..743d24d2 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+BucketIterator.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+BucketIterator.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashTable { diff --git a/Sources/OrderedCollections/HashTable/_HashTable+Constants.swift b/Sources/OrderedCollections/HashTable/_HashTable+Constants.swift index 5654b0d5..0f9a334c 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+Constants.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+Constants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashTable { diff --git a/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift b/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift index 69923124..2ed4c7f5 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // These are primarily for debugging. diff --git a/Sources/OrderedCollections/HashTable/_HashTable+Testing.swift b/Sources/OrderedCollections/HashTable/_HashTable+Testing.swift index f79d28d0..0ea51d17 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+Testing.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashTable.Bucket: CustomStringConvertible { diff --git a/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift b/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift index 472a8eff..6d9fc9b6 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/HashTable/_HashTable.swift b/Sources/OrderedCollections/HashTable/_HashTable.swift index cc193119..22ea6606 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/OrderedCollections/HashTable/_Hashtable+Header.swift b/Sources/OrderedCollections/HashTable/_Hashtable+Header.swift index a7fa452e..e7cd6598 100644 --- a/Sources/OrderedCollections/HashTable/_Hashtable+Header.swift +++ b/Sources/OrderedCollections/HashTable/_Hashtable+Header.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension _HashTable { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Codable.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Codable.swift index f2c3bf22..a63b65c3 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Codable.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+CustomReflectable.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+CustomReflectable.swift index fa3bdee6..68c453f0 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+CustomReflectable.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Deprecations.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Deprecations.swift index d9f8019b..30053ef8 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Deprecations.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Deprecations.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift index 34f7c2f8..53ad1ff5 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift index 1bb17ff4..c65f7748 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift index 89568b64..4649462c 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Equatable.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Equatable.swift index d770558f..ded5df91 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Equatable.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary: Equatable where Value: Equatable { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral.swift index 82e8e8c0..e65ccefb 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary: ExpressibleByDictionaryLiteral { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Hashable.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Hashable.swift index 2da6e0fd..2358edb3 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Hashable.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary: Hashable where Value: Hashable { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift index ffee23dc..12099b15 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift index 6a2a316a..c9de1170 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift index a225a127..4cdd46ec 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial RangeReplaceableCollection.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial RangeReplaceableCollection.swift index a8ebdeb1..22cddc24 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial RangeReplaceableCollection.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // The parts of RangeReplaceableCollection that OrderedDictionary is able to implement. diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sendable.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sendable.swift index 4a59430e..66cdf214 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sendable.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary: @unchecked Sendable diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sequence.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sequence.swift index 485ffa3a..0c3a2547 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sequence.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedDictionary: Sequence { diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift index 6ed785fc..205d8874 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift index ae7b3750..1f90bffb 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An ordered collection of key-value pairs. diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Codable.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Codable.swift index 23109bce..ef78aa77 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Codable.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+CustomReflectable.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+CustomReflectable.swift index c63524bb..023c61dd 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+CustomReflectable.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !$Embedded diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift index ae1089bc..509d98f4 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Descriptions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Diffing.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Diffing.swift index cd27dee6..51e6369a 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Diffing.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Diffing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Equatable.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Equatable.swift index a9f40074..3507ae74 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Equatable.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet: Equatable { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+ExpressibleByArrayLiteral.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+ExpressibleByArrayLiteral.swift index e2b64f6f..cb4d44fa 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+ExpressibleByArrayLiteral.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet: ExpressibleByArrayLiteral { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Hashable.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Hashable.swift index 896fe4f8..9fdf4974 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Hashable.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet: Hashable { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift index ac8c78bb..fd107e34 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Insertions.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Insertions.swift index ee8e2d59..f08928fe 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Insertions.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Insertions.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift index e25a3351..3422f8dd 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift index 13a01e39..e44b3245 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // The parts of MutableCollection that OrderedSet is able to implement. diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial RangeReplaceableCollection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial RangeReplaceableCollection.swift index bd75829c..fd0c0e79 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial RangeReplaceableCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // The parts of RangeReplaceableCollection that OrderedSet is able to implement. diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formIntersection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formIntersection.swift index ab48813e..0088bfca 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formIntersection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formIntersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formSymmetricDifference.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formSymmetricDifference.swift index c1aafbcd..df84aa5a 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formSymmetricDifference.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formSymmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formUnion.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formUnion.swift index ee19458a..02a79ad4 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formUnion.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra formUnion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift index d8d676c1..892f7219 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift index ce385695..23f1af41 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift index afc6b121..fbc4b587 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isEqualSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift index f9294d7c..d43bbd5e 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift index 6dba1019..4bf910e6 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift index 3241682e..fa316dba 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift index 56853780..e93d82c2 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtract.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtract.swift index 6cbe3f90..e0103323 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtract.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtract.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `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 c5069d33..4740a2a2 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift index 213ecf5a..9531a849 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra union.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra union.swift index 813b92a5..59732fad 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra union.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra union.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `OrderedSet` does not directly conform to `SetAlgebra` because its definition diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra+Basics.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra+Basics.swift index 82b8a0e1..59ab5444 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra+Basics.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial SetAlgebra+Basics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // `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 04657a0a..8d18ec6a 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+RandomAccessCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+ReserveCapacity.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+ReserveCapacity.swift index b58b5254..b7bf0123 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+ReserveCapacity.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+ReserveCapacity.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift index ace6c256..ed90c0bd 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet: @unchecked Sendable where Element: Sendable {} diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift index 62b368ff..4678550d 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift index 4113cd6f..6c71f50a 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift index 4c2c264f..b23feb2c 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnstableInternals.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnstableInternals.swift index bea5b07c..0a754274 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+UnstableInternals.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+UnstableInternals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension OrderedSet { diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift index 4cbcc71e..46bd55d5 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift b/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift index 2f1c1a88..65980d33 100644 --- a/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift +++ b/Sources/OrderedCollections/Utilities/_UnsafeBitset.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/RopeModule/BigString/Basics/BigString+Builder.swift b/Sources/RopeModule/BigString/Basics/BigString+Builder.swift index a0d9c619..c9f980c3 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Builder.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Builder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Contents.swift b/Sources/RopeModule/BigString/Basics/BigString+Contents.swift index 1644741d..ccb46e2e 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Contents.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Contents.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Debugging.swift b/Sources/RopeModule/BigString/Basics/BigString+Debugging.swift index 6a1b344a..6a516ac6 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Debugging.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Index.swift b/Sources/RopeModule/BigString/Basics/BigString+Index.swift index 2ef55df9..7ce00e42 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Index.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Ingester.swift b/Sources/RopeModule/BigString/Basics/BigString+Ingester.swift index 0fa0da72..a1493fe8 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Ingester.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Ingester.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Invariants.swift b/Sources/RopeModule/BigString/Basics/BigString+Invariants.swift index c64ee839..a1234621 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Invariants.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Metrics.swift b/Sources/RopeModule/BigString/Basics/BigString+Metrics.swift index 02929394..abcba84b 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Metrics.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Metrics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString+Summary.swift b/Sources/RopeModule/BigString/Basics/BigString+Summary.swift index eaca90fc..f09e06bc 100644 --- a/Sources/RopeModule/BigString/Basics/BigString+Summary.swift +++ b/Sources/RopeModule/BigString/Basics/BigString+Summary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Basics/BigString.swift b/Sources/RopeModule/BigString/Basics/BigString.swift index b42cb48e..b87abf75 100644 --- a/Sources/RopeModule/BigString/Basics/BigString.swift +++ b/Sources/RopeModule/BigString/Basics/BigString.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Append and Insert.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Append and Insert.swift index 5f3091cd..b9d7e1e1 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Append and Insert.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Append and Insert.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Breaks.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Breaks.swift index f8a3176d..d33763d4 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Breaks.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Breaks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Character.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Character.swift index ffa4bdb5..c179fa17 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Character.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Character.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Counts.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Counts.swift index 271def0b..f9aa3338 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Counts.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Counts.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Description.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Description.swift index 876aabce..d86f1d6c 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Description.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Description.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Index.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Index.swift index e63b556a..ef22fc38 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Index.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+RopeElement.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+RopeElement.swift index 1a825b76..683fc26f 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+RopeElement.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+RopeElement.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Splitting.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Splitting.swift index 53db193f..aea9261d 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Splitting.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+Splitting.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF16.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF16.swift index 3c86f17f..c5792a02 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF16.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF16.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF8.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF8.swift index 187726c8..8f767530 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF8.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UTF8.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UnicodeScalar.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UnicodeScalar.swift index e0eaeda6..1d5fe7f1 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UnicodeScalar.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk+UnicodeScalar.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Chunk/BigString+Chunk.swift b/Sources/RopeModule/BigString/Chunk/BigString+Chunk.swift index 2710838f..8fb5e477 100644 --- a/Sources/RopeModule/BigString/Chunk/BigString+Chunk.swift +++ b/Sources/RopeModule/BigString/Chunk/BigString+Chunk.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+BidirectionalCollection.swift b/Sources/RopeModule/BigString/Conformances/BigString+BidirectionalCollection.swift index c1e65823..7923a3b3 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+BidirectionalCollection.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+BidirectionalCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+Comparable.swift b/Sources/RopeModule/BigString/Conformances/BigString+Comparable.swift index 1a84dbfa..ba93181b 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+Comparable.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+Comparable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+CustomDebugStringConvertible.swift b/Sources/RopeModule/BigString/Conformances/BigString+CustomDebugStringConvertible.swift index 79b0b61d..e24dd264 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+CustomDebugStringConvertible.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+CustomDebugStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+CustomStringConvertible.swift b/Sources/RopeModule/BigString/Conformances/BigString+CustomStringConvertible.swift index a35fad5c..b8645a52 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+CustomStringConvertible.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+CustomStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+Equatable.swift b/Sources/RopeModule/BigString/Conformances/BigString+Equatable.swift index a4fdf9ea..8d61e7e4 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+Equatable.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+ExpressibleByStringLiteral.swift b/Sources/RopeModule/BigString/Conformances/BigString+ExpressibleByStringLiteral.swift index 81bcc823..35c3eb2e 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+ExpressibleByStringLiteral.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+ExpressibleByStringLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+Hashing.swift b/Sources/RopeModule/BigString/Conformances/BigString+Hashing.swift index d1ba5770..b6b438ec 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+Hashing.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+Hashing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+LosslessStringConvertible.swift b/Sources/RopeModule/BigString/Conformances/BigString+LosslessStringConvertible.swift index 9731b222..6c26a75b 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+LosslessStringConvertible.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+LosslessStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift b/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift index dd6839c7..6bc0ae1f 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+Sequence.swift b/Sources/RopeModule/BigString/Conformances/BigString+Sequence.swift index c6d33058..f9101195 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+Sequence.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Conformances/BigString+TextOutputStream.swift b/Sources/RopeModule/BigString/Conformances/BigString+TextOutputStream.swift index ed4af9d9..466e2b2a 100644 --- a/Sources/RopeModule/BigString/Conformances/BigString+TextOutputStream.swift +++ b/Sources/RopeModule/BigString/Conformances/BigString+TextOutputStream.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+Append.swift b/Sources/RopeModule/BigString/Operations/BigString+Append.swift index aebfecda..04fa89d4 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+Append.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+Initializers.swift b/Sources/RopeModule/BigString/Operations/BigString+Initializers.swift index 940b93fe..c7a5e33e 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+Initializers.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+Insert.swift b/Sources/RopeModule/BigString/Operations/BigString+Insert.swift index ca7caae3..f21b9b0f 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+Insert.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+Insert.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+Managing Breaks.swift b/Sources/RopeModule/BigString/Operations/BigString+Managing Breaks.swift index 37885cdd..c788fe5e 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+Managing Breaks.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+Managing Breaks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+RemoveSubrange.swift b/Sources/RopeModule/BigString/Operations/BigString+RemoveSubrange.swift index 079d6e23..d8a1b28f 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+RemoveSubrange.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+RemoveSubrange.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+ReplaceSubrange.swift b/Sources/RopeModule/BigString/Operations/BigString+ReplaceSubrange.swift index 2d5772a3..ed75a9e0 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+ReplaceSubrange.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+ReplaceSubrange.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/BigString+Split.swift b/Sources/RopeModule/BigString/Operations/BigString+Split.swift index a92e7d57..666844f6 100644 --- a/Sources/RopeModule/BigString/Operations/BigString+Split.swift +++ b/Sources/RopeModule/BigString/Operations/BigString+Split.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Operations/Range+BigString.swift b/Sources/RopeModule/BigString/Operations/Range+BigString.swift index b843e0e5..7d1c1f90 100644 --- a/Sources/RopeModule/BigString/Operations/Range+BigString.swift +++ b/Sources/RopeModule/BigString/Operations/Range+BigString.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigString+UTF16View.swift b/Sources/RopeModule/BigString/Views/BigString+UTF16View.swift index 12723f49..8d22b5f9 100644 --- a/Sources/RopeModule/BigString/Views/BigString+UTF16View.swift +++ b/Sources/RopeModule/BigString/Views/BigString+UTF16View.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigString+UTF8View.swift b/Sources/RopeModule/BigString/Views/BigString+UTF8View.swift index 0c41562d..6d727b5d 100644 --- a/Sources/RopeModule/BigString/Views/BigString+UTF8View.swift +++ b/Sources/RopeModule/BigString/Views/BigString+UTF8View.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift b/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift index 6d00d2e4..fcf7d305 100644 --- a/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift +++ b/Sources/RopeModule/BigString/Views/BigString+UnicodeScalarView.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigSubstring+UTF16View.swift b/Sources/RopeModule/BigString/Views/BigSubstring+UTF16View.swift index a2547944..323c30b7 100644 --- a/Sources/RopeModule/BigString/Views/BigSubstring+UTF16View.swift +++ b/Sources/RopeModule/BigString/Views/BigSubstring+UTF16View.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigSubstring+UTF8View.swift b/Sources/RopeModule/BigString/Views/BigSubstring+UTF8View.swift index 8290a8d4..583fe46c 100644 --- a/Sources/RopeModule/BigString/Views/BigSubstring+UTF8View.swift +++ b/Sources/RopeModule/BigString/Views/BigSubstring+UTF8View.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigSubstring+UnicodeScalarView.swift b/Sources/RopeModule/BigString/Views/BigSubstring+UnicodeScalarView.swift index 2662131e..2978718e 100644 --- a/Sources/RopeModule/BigString/Views/BigSubstring+UnicodeScalarView.swift +++ b/Sources/RopeModule/BigString/Views/BigSubstring+UnicodeScalarView.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/BigString/Views/BigSubstring.swift b/Sources/RopeModule/BigString/Views/BigSubstring.swift index aa7d8803..860717f2 100644 --- a/Sources/RopeModule/BigString/Views/BigSubstring.swift +++ b/Sources/RopeModule/BigString/Views/BigSubstring.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/CMakeLists.txt b/Sources/RopeModule/CMakeLists.txt index b32aa45b..545e5269 100644 --- a/Sources/RopeModule/CMakeLists.txt +++ b/Sources/RopeModule/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2023 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_FOUNDATION_TOOLCHAIN_MODULE) diff --git a/Sources/RopeModule/Rope/Basics/Rope+Builder.swift b/Sources/RopeModule/Rope/Basics/Rope+Builder.swift index d6c57747..66deee50 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+Builder.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+Builder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift b/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift index 3703089c..5c47ac9a 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+Debugging.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Sources/RopeModule/Rope/Basics/Rope+Invariants.swift b/Sources/RopeModule/Rope/Basics/Rope+Invariants.swift index 05a5969b..6c079332 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+Invariants.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Basics/Rope+_Node.swift b/Sources/RopeModule/Rope/Basics/Rope+_Node.swift index 0b194f80..f49b0e86 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+_Node.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+_Node.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Basics/Rope+_Storage.swift b/Sources/RopeModule/Rope/Basics/Rope+_Storage.swift index b9cecfb8..024a4c33 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+_Storage.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+_Storage.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/RopeModule/Rope/Basics/Rope+_UnmanagedLeaf.swift b/Sources/RopeModule/Rope/Basics/Rope+_UnmanagedLeaf.swift index 5867de37..1b8c4dde 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+_UnmanagedLeaf.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+_UnmanagedLeaf.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Basics/Rope+_UnsafeHandle.swift b/Sources/RopeModule/Rope/Basics/Rope+_UnsafeHandle.swift index a977181f..4f54fb17 100644 --- a/Sources/RopeModule/Rope/Basics/Rope+_UnsafeHandle.swift +++ b/Sources/RopeModule/Rope/Basics/Rope+_UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Basics/Rope.swift b/Sources/RopeModule/Rope/Basics/Rope.swift index 49dba489..465573c5 100644 --- a/Sources/RopeModule/Rope/Basics/Rope.swift +++ b/Sources/RopeModule/Rope/Basics/Rope.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An ordered data structure of `Element` values that organizes itself into a tree. diff --git a/Sources/RopeModule/Rope/Basics/RopeElement.swift b/Sources/RopeModule/Rope/Basics/RopeElement.swift index b72959fd..6fd2e882 100644 --- a/Sources/RopeModule/Rope/Basics/RopeElement.swift +++ b/Sources/RopeModule/Rope/Basics/RopeElement.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// The element type of a rope. Rope elements are expected to be container types diff --git a/Sources/RopeModule/Rope/Basics/RopeMetric.swift b/Sources/RopeModule/Rope/Basics/RopeMetric.swift index 0c3eed20..0d2b620d 100644 --- a/Sources/RopeModule/Rope/Basics/RopeMetric.swift +++ b/Sources/RopeModule/Rope/Basics/RopeMetric.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public protocol RopeMetric: Sendable { diff --git a/Sources/RopeModule/Rope/Basics/RopeSummary.swift b/Sources/RopeModule/Rope/Basics/RopeSummary.swift index 85fe5b3a..6bff9778 100644 --- a/Sources/RopeModule/Rope/Basics/RopeSummary.swift +++ b/Sources/RopeModule/Rope/Basics/RopeSummary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A commutative group that is used to augment a tree, enabling quick lookup operations. diff --git a/Sources/RopeModule/Rope/Basics/_RopeItem.swift b/Sources/RopeModule/Rope/Basics/_RopeItem.swift index 096f3d95..ac347a73 100644 --- a/Sources/RopeModule/Rope/Basics/_RopeItem.swift +++ b/Sources/RopeModule/Rope/Basics/_RopeItem.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An internal protocol describing a summarizable entity that isn't a full `RopeElement`. diff --git a/Sources/RopeModule/Rope/Basics/_RopePath.swift b/Sources/RopeModule/Rope/Basics/_RopePath.swift index fa12c470..48884efd 100644 --- a/Sources/RopeModule/Rope/Basics/_RopePath.swift +++ b/Sources/RopeModule/Rope/Basics/_RopePath.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/RopeModule/Rope/Basics/_RopeVersion.swift b/Sources/RopeModule/Rope/Basics/_RopeVersion.swift index 5b19e163..9366fe66 100644 --- a/Sources/RopeModule/Rope/Basics/_RopeVersion.swift +++ b/Sources/RopeModule/Rope/Basics/_RopeVersion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// @usableFromInline diff --git a/Sources/RopeModule/Rope/Conformances/Rope+Collection.swift b/Sources/RopeModule/Rope/Conformances/Rope+Collection.swift index 6fb7c0e0..fb237016 100644 --- a/Sources/RopeModule/Rope/Conformances/Rope+Collection.swift +++ b/Sources/RopeModule/Rope/Conformances/Rope+Collection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Conformances/Rope+Index.swift b/Sources/RopeModule/Rope/Conformances/Rope+Index.swift index 1b419ad0..4b8447b4 100644 --- a/Sources/RopeModule/Rope/Conformances/Rope+Index.swift +++ b/Sources/RopeModule/Rope/Conformances/Rope+Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Conformances/Rope+Sequence.swift b/Sources/RopeModule/Rope/Conformances/Rope+Sequence.swift index 64a09887..30893223 100644 --- a/Sources/RopeModule/Rope/Conformances/Rope+Sequence.swift +++ b/Sources/RopeModule/Rope/Conformances/Rope+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope: Sequence { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Append.swift b/Sources/RopeModule/Rope/Operations/Rope+Append.swift index a78830c5..1beadba0 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Append.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Append.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Extract.swift b/Sources/RopeModule/Rope/Operations/Rope+Extract.swift index ea8643a2..0c36d74c 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Extract.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Extract.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Find.swift b/Sources/RopeModule/Rope/Operations/Rope+Find.swift index 4d38f6db..1bc8df2f 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Find.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Find.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+ForEachWhile.swift b/Sources/RopeModule/Rope/Operations/Rope+ForEachWhile.swift index 2e2e8a03..92ad48b0 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+ForEachWhile.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+ForEachWhile.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Insert.swift b/Sources/RopeModule/Rope/Operations/Rope+Insert.swift index a3080e4d..7437762f 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Insert.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Insert.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Join.swift b/Sources/RopeModule/Rope/Operations/Rope+Join.swift index 3026676e..28f04e76 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Join.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Join.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+MutatingForEach.swift b/Sources/RopeModule/Rope/Operations/Rope+MutatingForEach.swift index 2d7239e6..ac0adf98 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+MutatingForEach.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+MutatingForEach.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Remove.swift b/Sources/RopeModule/Rope/Operations/Rope+Remove.swift index b35aeac0..734ee45e 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Remove.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Remove.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+RemoveSubrange.swift b/Sources/RopeModule/Rope/Operations/Rope+RemoveSubrange.swift index 59596771..d3b57575 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+RemoveSubrange.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+RemoveSubrange.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Rope/Operations/Rope+Split.swift b/Sources/RopeModule/Rope/Operations/Rope+Split.swift index 586f5a7e..f17ab097 100644 --- a/Sources/RopeModule/Rope/Operations/Rope+Split.swift +++ b/Sources/RopeModule/Rope/Operations/Rope+Split.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Rope { diff --git a/Sources/RopeModule/Utilities/Optional Utilities.swift b/Sources/RopeModule/Utilities/Optional Utilities.swift index 8d1fd195..35745606 100644 --- a/Sources/RopeModule/Utilities/Optional Utilities.swift +++ b/Sources/RopeModule/Utilities/Optional Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension Optional { diff --git a/Sources/RopeModule/Utilities/String Utilities.swift b/Sources/RopeModule/Utilities/String Utilities.swift index e78435ca..8d0d4d03 100644 --- a/Sources/RopeModule/Utilities/String Utilities.swift +++ b/Sources/RopeModule/Utilities/String Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/RopeModule/Utilities/String.Index+ABI.swift b/Sources/RopeModule/Utilities/String.Index+ABI.swift index 1006481e..d9ce6a18 100644 --- a/Sources/RopeModule/Utilities/String.Index+ABI.swift +++ b/Sources/RopeModule/Utilities/String.Index+ABI.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Bits of String.Index that are ABI but aren't exposed by public API. diff --git a/Sources/RopeModule/Utilities/_CharacterRecognizer.swift b/Sources/RopeModule/Utilities/_CharacterRecognizer.swift index 0d78b22e..694d773b 100644 --- a/Sources/RopeModule/Utilities/_CharacterRecognizer.swift +++ b/Sources/RopeModule/Utilities/_CharacterRecognizer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && !$Embedded diff --git a/Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift b/Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift index 6a68db02..00c37fa2 100644 --- a/Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift +++ b/Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+CustomDebugStringConvertible.swift b/Sources/SortedCollections/BTree/_BTree+CustomDebugStringConvertible.swift index 9a0fd7d1..1bff9052 100644 --- a/Sources/SortedCollections/BTree/_BTree+CustomDebugStringConvertible.swift +++ b/Sources/SortedCollections/BTree/_BTree+CustomDebugStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+CustomReflectable.swift b/Sources/SortedCollections/BTree/_BTree+CustomReflectable.swift index c5a03829..83d95cac 100644 --- a/Sources/SortedCollections/BTree/_BTree+CustomReflectable.swift +++ b/Sources/SortedCollections/BTree/_BTree+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+Invariants.swift b/Sources/SortedCollections/BTree/_BTree+Invariants.swift index 376a2738..42c78e65 100644 --- a/Sources/SortedCollections/BTree/_BTree+Invariants.swift +++ b/Sources/SortedCollections/BTree/_BTree+Invariants.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+Partial RangeReplaceableCollection.swift b/Sources/SortedCollections/BTree/_BTree+Partial RangeReplaceableCollection.swift index 16c684c0..994ae0aa 100644 --- a/Sources/SortedCollections/BTree/_BTree+Partial RangeReplaceableCollection.swift +++ b/Sources/SortedCollections/BTree/_BTree+Partial RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+Sequence.swift b/Sources/SortedCollections/BTree/_BTree+Sequence.swift index 3c5bd7bf..6e4b05eb 100644 --- a/Sources/SortedCollections/BTree/_BTree+Sequence.swift +++ b/Sources/SortedCollections/BTree/_BTree+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+SubSequence.swift b/Sources/SortedCollections/BTree/_BTree+SubSequence.swift index 587a8db0..8bb8c529 100644 --- a/Sources/SortedCollections/BTree/_BTree+SubSequence.swift +++ b/Sources/SortedCollections/BTree/_BTree+SubSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift b/Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift index 084e2c84..d6b1542c 100644 --- a/Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift +++ b/Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree.Builder.swift b/Sources/SortedCollections/BTree/_BTree.Builder.swift index 3e5fa4e6..3e9505ff 100644 --- a/Sources/SortedCollections/BTree/_BTree.Builder.swift +++ b/Sources/SortedCollections/BTree/_BTree.Builder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree.Index.swift b/Sources/SortedCollections/BTree/_BTree.Index.swift index 90affe71..314e4067 100644 --- a/Sources/SortedCollections/BTree/_BTree.Index.swift +++ b/Sources/SortedCollections/BTree/_BTree.Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_BTree.swift b/Sources/SortedCollections/BTree/_BTree.swift index 5e349c35..5f244ec4 100644 --- a/Sources/SortedCollections/BTree/_BTree.swift +++ b/Sources/SortedCollections/BTree/_BTree.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_FixedSizeArray.swift b/Sources/SortedCollections/BTree/_FixedSizeArray.swift index 39fee198..c8158bec 100644 --- a/Sources/SortedCollections/BTree/_FixedSizeArray.swift +++ b/Sources/SortedCollections/BTree/_FixedSizeArray.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node+CustomDebugString.swift b/Sources/SortedCollections/BTree/_Node+CustomDebugString.swift index e7d8e8c2..2d1b3ceb 100644 --- a/Sources/SortedCollections/BTree/_Node+CustomDebugString.swift +++ b/Sources/SortedCollections/BTree/_Node+CustomDebugString.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node+Testing.swift b/Sources/SortedCollections/BTree/_Node+Testing.swift index 78ad1f7a..c7c20a6a 100644 --- a/Sources/SortedCollections/BTree/_Node+Testing.swift +++ b/Sources/SortedCollections/BTree/_Node+Testing.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.Splinter.swift b/Sources/SortedCollections/BTree/_Node.Splinter.swift index dca06b75..8f5e77d3 100644 --- a/Sources/SortedCollections/BTree/_Node.Splinter.swift +++ b/Sources/SortedCollections/BTree/_Node.Splinter.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.Storage.swift b/Sources/SortedCollections/BTree/_Node.Storage.swift index 25c57be4..c36937da 100644 --- a/Sources/SortedCollections/BTree/_Node.Storage.swift +++ b/Sources/SortedCollections/BTree/_Node.Storage.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+CustomDebugStringConvertible.swift b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+CustomDebugStringConvertible.swift index b130f4ba..2a821b72 100644 --- a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+CustomDebugStringConvertible.swift +++ b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+CustomDebugStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Deletion.swift b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Deletion.swift index 8108dc83..211d8496 100644 --- a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Deletion.swift +++ b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Deletion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift index 36654954..1f2ef2f7 100644 --- a/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift +++ b/Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.UnsafeHandle.swift b/Sources/SortedCollections/BTree/_Node.UnsafeHandle.swift index e417b1df..b5079570 100644 --- a/Sources/SortedCollections/BTree/_Node.UnsafeHandle.swift +++ b/Sources/SortedCollections/BTree/_Node.UnsafeHandle.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/BTree/_Node.swift b/Sources/SortedCollections/BTree/_Node.swift index 5f44794e..9dc53861 100644 --- a/Sources/SortedCollections/BTree/_Node.swift +++ b/Sources/SortedCollections/BTree/_Node.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+BidirectionalCollection.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+BidirectionalCollection.swift index 0a95fad3..f7124a05 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+BidirectionalCollection.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+BidirectionalCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Codable.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Codable.swift index 9f283ce0..058922a9 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Codable.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomReflectable.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomReflectable.swift index 58ecfe8d..4a707ca1 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomReflectable.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomStringConvertible.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomStringConvertible.swift index 3e1e0668..8952cf71 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomStringConvertible.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+CustomStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Equatable.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Equatable.swift index 7e3816e1..128d20a4 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Equatable.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+ExpressibleByDictionaryLiteral.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+ExpressibleByDictionaryLiteral.swift index 2e506e75..fb211da5 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+ExpressibleByDictionaryLiteral.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+ExpressibleByDictionaryLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Hashable.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Hashable.swift index d82e7a03..66556c46 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Hashable.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Initializers.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Initializers.swift index 9bafce0e..dabdf73f 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Initializers.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Keys.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Keys.swift index 1b507171..612739c5 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Keys.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Keys.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Partial RangeReplaceableCollection.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Partial RangeReplaceableCollection.swift index 999c6082..90d89db3 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Partial RangeReplaceableCollection.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Partial RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sendable.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sendable.swift index 4d498803..ede91eb7 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sendable.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sequence.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sequence.swift index a041d050..0a993ca4 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sequence.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+SubSequence.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+SubSequence.swift index f3eb2bcd..fc1e6485 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+SubSequence.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+SubSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Subscripts.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Subscripts.swift index 9807e79f..1223e00d 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Subscripts.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Subscripts.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Values.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Values.swift index a09c7385..d0baaba1 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary+Values.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary+Values.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary.Index.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary.Index.swift index 90393d72..bd759efb 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary.Index.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary.Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedDictionary/SortedDictionary.swift b/Sources/SortedCollections/SortedDictionary/SortedDictionary.swift index 7c1ec6d0..f6a077ae 100644 --- a/Sources/SortedCollections/SortedDictionary/SortedDictionary.swift +++ b/Sources/SortedCollections/SortedDictionary/SortedDictionary.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+BidirectionalCollection.swift b/Sources/SortedCollections/SortedSet/SortedSet+BidirectionalCollection.swift index abcdd283..3403a1bd 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+BidirectionalCollection.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+BidirectionalCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Codable.swift b/Sources/SortedCollections/SortedSet/SortedSet+Codable.swift index 6810dec8..ac8ebbc1 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Codable.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Codable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+CustomReflectable.swift b/Sources/SortedCollections/SortedSet/SortedSet+CustomReflectable.swift index d6844681..43f80fd5 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+CustomReflectable.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+CustomReflectable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+CustomStringConvertible.swift b/Sources/SortedCollections/SortedSet/SortedSet+CustomStringConvertible.swift index 457e8ab5..c08fa88f 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+CustomStringConvertible.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+CustomStringConvertible.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Equatable.swift b/Sources/SortedCollections/SortedSet/SortedSet+Equatable.swift index 8f0bfdea..e43a0a3b 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Equatable.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Equatable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+ExpressibleByArrayLiteral.swift b/Sources/SortedCollections/SortedSet/SortedSet+ExpressibleByArrayLiteral.swift index 7faa416f..f231b42a 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+ExpressibleByArrayLiteral.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+ExpressibleByArrayLiteral.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Hashable.swift b/Sources/SortedCollections/SortedSet/SortedSet+Hashable.swift index 700740b2..3d07b58d 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Hashable.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Hashable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Initializers.swift b/Sources/SortedCollections/SortedSet/SortedSet+Initializers.swift index 1b3050d6..831f4398 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Initializers.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Initializers.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Partial RangeReplaceableCollection.swift b/Sources/SortedCollections/SortedSet/SortedSet+Partial RangeReplaceableCollection.swift index 3997f5c2..2f22f25c 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Partial RangeReplaceableCollection.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Partial RangeReplaceableCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Sendable.swift b/Sources/SortedCollections/SortedSet/SortedSet+Sendable.swift index 38876765..ec2f90c0 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Sendable.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Sendable.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Sequence.swift b/Sources/SortedCollections/SortedSet/SortedSet+Sequence.swift index 6cc3dc0a..3db88fd3 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Sequence.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Sequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+SetAlgebra.swift b/Sources/SortedCollections/SortedSet/SortedSet+SetAlgebra.swift index 542d9249..d6a03973 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+SetAlgebra.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+SetAlgebra.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+SubSequence.swift b/Sources/SortedCollections/SortedSet/SortedSet+SubSequence.swift index 9fbc7f17..7232d27b 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+SubSequence.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+SubSequence.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet+Subscripts.swift b/Sources/SortedCollections/SortedSet/SortedSet+Subscripts.swift index d1e02b80..62f8d325 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet+Subscripts.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet+Subscripts.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet.Index.swift b/Sources/SortedCollections/SortedSet/SortedSet.Index.swift index 5f08bb6a..3c435422 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet.Index.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet.Index.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/SortedCollections/SortedSet/SortedSet.swift b/Sources/SortedCollections/SortedSet/SortedSet.swift index 49b406b3..daebfa7b 100644 --- a/Sources/SortedCollections/SortedSet/SortedSet.swift +++ b/Sources/SortedCollections/SortedSet/SortedSet.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Sources/TrailingElementsModule/CMakeLists.txt b/Sources/TrailingElementsModule/CMakeLists.txt index d2c0ce64..eeb2a127 100644 --- a/Sources/TrailingElementsModule/CMakeLists.txt +++ b/Sources/TrailingElementsModule/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2025 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] if(COLLECTIONS_SINGLE_MODULE) diff --git a/Sources/TrailingElementsModule/TrailingArray.swift b/Sources/TrailingElementsModule/TrailingArray.swift index 78261cfd..bd3cf8f3 100644 --- a/Sources/TrailingElementsModule/TrailingArray.swift +++ b/Sources/TrailingElementsModule/TrailingArray.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A value that manages a contiguous block of memory starting with a header diff --git a/Sources/TrailingElementsModule/TrailingElements.swift b/Sources/TrailingElementsModule/TrailingElements.swift index 3f0d0ed9..44d5a67d 100644 --- a/Sources/TrailingElementsModule/TrailingElements.swift +++ b/Sources/TrailingElementsModule/TrailingElements.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Describes a type that has some number of elements following it directly diff --git a/Sources/TrailingElementsModule/TrailingPadding.swift b/Sources/TrailingElementsModule/TrailingPadding.swift index 2c16a3b1..05f3e0f2 100644 --- a/Sources/TrailingElementsModule/TrailingPadding.swift +++ b/Sources/TrailingElementsModule/TrailingPadding.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Represents memory containing a header value followed by some extra padding diff --git a/Tests/BasicContainersTests/ArrayLayout.swift b/Tests/BasicContainersTests/ArrayLayout.swift index b3ad0e9c..da10e368 100644 --- a/Tests/BasicContainersTests/ArrayLayout.swift +++ b/Tests/BasicContainersTests/ArrayLayout.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/RigidArrayTests.swift b/Tests/BasicContainersTests/RigidArrayTests.swift index 16b42310..4db10b76 100644 --- a/Tests/BasicContainersTests/RigidArrayTests.swift +++ b/Tests/BasicContainersTests/RigidArrayTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/RigidDictionaryTests.swift b/Tests/BasicContainersTests/RigidDictionaryTests.swift index 827bbb0e..6559371a 100644 --- a/Tests/BasicContainersTests/RigidDictionaryTests.swift +++ b/Tests/BasicContainersTests/RigidDictionaryTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/RigidSetTests.swift b/Tests/BasicContainersTests/RigidSetTests.swift index 579720ae..0355b148 100644 --- a/Tests/BasicContainersTests/RigidSetTests.swift +++ b/Tests/BasicContainersTests/RigidSetTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/UniqueArrayTests.swift b/Tests/BasicContainersTests/UniqueArrayTests.swift index 7df34f1c..c18ce0bb 100644 --- a/Tests/BasicContainersTests/UniqueArrayTests.swift +++ b/Tests/BasicContainersTests/UniqueArrayTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/UniqueDictionaryTests.swift b/Tests/BasicContainersTests/UniqueDictionaryTests.swift index ad046492..0ad30cd4 100644 --- a/Tests/BasicContainersTests/UniqueDictionaryTests.swift +++ b/Tests/BasicContainersTests/UniqueDictionaryTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BasicContainersTests/UniqueSetTests.swift b/Tests/BasicContainersTests/UniqueSetTests.swift index 3f965ce7..2591a10e 100644 --- a/Tests/BasicContainersTests/UniqueSetTests.swift +++ b/Tests/BasicContainersTests/UniqueSetTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BitCollectionsTests/BitArrayTests.swift b/Tests/BitCollectionsTests/BitArrayTests.swift index a442a618..e68c197c 100644 --- a/Tests/BitCollectionsTests/BitArrayTests.swift +++ b/Tests/BitCollectionsTests/BitArrayTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BitCollectionsTests/BitSet.Counted Tests.swift b/Tests/BitCollectionsTests/BitSet.Counted Tests.swift index b0b9a495..ff5216e5 100644 --- a/Tests/BitCollectionsTests/BitSet.Counted Tests.swift +++ b/Tests/BitCollectionsTests/BitSet.Counted Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/BitCollectionsTests/BitSetTests.swift b/Tests/BitCollectionsTests/BitSetTests.swift index 180f1923..bb2408bd 100644 --- a/Tests/BitCollectionsTests/BitSetTests.swift +++ b/Tests/BitCollectionsTests/BitSetTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/CollectionsTestSupportTests/CombinatoricsChecks.swift b/Tests/CollectionsTestSupportTests/CombinatoricsChecks.swift index 4dd2685b..68abc74a 100644 --- a/Tests/CollectionsTestSupportTests/CombinatoricsChecks.swift +++ b/Tests/CollectionsTestSupportTests/CombinatoricsChecks.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/CollectionsTestSupportTests/IndexRangeCollectionTests.swift b/Tests/CollectionsTestSupportTests/IndexRangeCollectionTests.swift index a0787f06..8b453ba6 100644 --- a/Tests/CollectionsTestSupportTests/IndexRangeCollectionTests.swift +++ b/Tests/CollectionsTestSupportTests/IndexRangeCollectionTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/CollectionsTestSupportTests/MinimalTypeConformances.swift b/Tests/CollectionsTestSupportTests/MinimalTypeConformances.swift index 8301c297..10c6889c 100644 --- a/Tests/CollectionsTestSupportTests/MinimalTypeConformances.swift +++ b/Tests/CollectionsTestSupportTests/MinimalTypeConformances.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/CollectionsTestSupportTests/UtilitiesTests.swift b/Tests/CollectionsTestSupportTests/UtilitiesTests.swift index 57a8589c..52623c28 100644 --- a/Tests/CollectionsTestSupportTests/UtilitiesTests.swift +++ b/Tests/CollectionsTestSupportTests/UtilitiesTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/ContainersTests/BorrowTests.swift b/Tests/ContainersTests/BorrowTests.swift index 7052c467..236267ff 100644 --- a/Tests/ContainersTests/BorrowTests.swift +++ b/Tests/ContainersTests/BorrowTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_CONTAINERS_PREVIEW diff --git a/Tests/ContainersTests/BoxTests.swift b/Tests/ContainersTests/BoxTests.swift index e50c7892..14a1a9e2 100644 --- a/Tests/ContainersTests/BoxTests.swift +++ b/Tests/ContainersTests/BoxTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/ContainersTests/InoutTests.swift b/Tests/ContainersTests/InoutTests.swift index fcc41ba3..173b876e 100644 --- a/Tests/ContainersTests/InoutTests.swift +++ b/Tests/ContainersTests/InoutTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/DequeTests/DequeInternals.swift b/Tests/DequeTests/DequeInternals.swift index cb38992d..909ecc1f 100644 --- a/Tests/DequeTests/DequeInternals.swift +++ b/Tests/DequeTests/DequeInternals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/DequeTests/DequeTests.swift b/Tests/DequeTests/DequeTests.swift index d7fcd346..6831db03 100644 --- a/Tests/DequeTests/DequeTests.swift +++ b/Tests/DequeTests/DequeTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/DequeTests/MutableCollectionTests.swift b/Tests/DequeTests/MutableCollectionTests.swift index 7c493615..9601a263 100644 --- a/Tests/DequeTests/MutableCollectionTests.swift +++ b/Tests/DequeTests/MutableCollectionTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/DequeTests/RangeReplaceableCollectionTests.swift b/Tests/DequeTests/RangeReplaceableCollectionTests.swift index b8ed38ec..1c1010aa 100644 --- a/Tests/DequeTests/RangeReplaceableCollectionTests.swift +++ b/Tests/DequeTests/RangeReplaceableCollectionTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/DequeTests/RigidDequeCrashTests.swift b/Tests/DequeTests/RigidDequeCrashTests.swift index 717919a6..b161cc10 100644 --- a/Tests/DequeTests/RigidDequeCrashTests.swift +++ b/Tests/DequeTests/RigidDequeCrashTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import Testing diff --git a/Tests/DequeTests/RigidDequeTests.swift b/Tests/DequeTests/RigidDequeTests.swift index 17094207..9d772f96 100644 --- a/Tests/DequeTests/RigidDequeTests.swift +++ b/Tests/DequeTests/RigidDequeTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/DequeTests/UniqueDequeTests.swift b/Tests/DequeTests/UniqueDequeTests.swift index 27f5cff3..6bfe8429 100644 --- a/Tests/DequeTests/UniqueDequeTests.swift +++ b/Tests/DequeTests/UniqueDequeTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/HashTreeCollectionsTests/Colliders.swift b/Tests/HashTreeCollectionsTests/Colliders.swift index 4c068ee6..2d4a72de 100644 --- a/Tests/HashTreeCollectionsTests/Colliders.swift +++ b/Tests/HashTreeCollectionsTests/Colliders.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A type with manually controlled hash values, for easy testing of collision diff --git a/Tests/HashTreeCollectionsTests/Hash.swift b/Tests/HashTreeCollectionsTests/Hash.swift index 9524b1ac..58e29c65 100644 --- a/Tests/HashTreeCollectionsTests/Hash.swift +++ b/Tests/HashTreeCollectionsTests/Hash.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// An abstract representation of a hash value. diff --git a/Tests/HashTreeCollectionsTests/TreeDictionary Smoke Tests.swift b/Tests/HashTreeCollectionsTests/TreeDictionary Smoke Tests.swift index dded1266..612cb68e 100644 --- a/Tests/HashTreeCollectionsTests/TreeDictionary Smoke Tests.swift +++ b/Tests/HashTreeCollectionsTests/TreeDictionary Smoke Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/HashTreeCollectionsTests/TreeDictionary Tests.swift b/Tests/HashTreeCollectionsTests/TreeDictionary Tests.swift index f2c1ef3b..4c971d00 100644 --- a/Tests/HashTreeCollectionsTests/TreeDictionary Tests.swift +++ b/Tests/HashTreeCollectionsTests/TreeDictionary Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/HashTreeCollectionsTests/TreeDictionary.Keys Tests.swift b/Tests/HashTreeCollectionsTests/TreeDictionary.Keys Tests.swift index c6413108..5769cd86 100644 --- a/Tests/HashTreeCollectionsTests/TreeDictionary.Keys Tests.swift +++ b/Tests/HashTreeCollectionsTests/TreeDictionary.Keys Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/HashTreeCollectionsTests/TreeDictionary.Values Tests.swift b/Tests/HashTreeCollectionsTests/TreeDictionary.Values Tests.swift index 4f96000f..6820259a 100644 --- a/Tests/HashTreeCollectionsTests/TreeDictionary.Values Tests.swift +++ b/Tests/HashTreeCollectionsTests/TreeDictionary.Values Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/HashTreeCollectionsTests/TreeHashedCollections Fixtures.swift b/Tests/HashTreeCollectionsTests/TreeHashedCollections Fixtures.swift index 36860409..76d1b1ea 100644 --- a/Tests/HashTreeCollectionsTests/TreeHashedCollections Fixtures.swift +++ b/Tests/HashTreeCollectionsTests/TreeHashedCollections Fixtures.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/HashTreeCollectionsTests/TreeSet Tests.swift b/Tests/HashTreeCollectionsTests/TreeSet Tests.swift index bc05c50a..ac2663bc 100644 --- a/Tests/HashTreeCollectionsTests/TreeSet Tests.swift +++ b/Tests/HashTreeCollectionsTests/TreeSet Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/HashTreeCollectionsTests/Utilities.swift b/Tests/HashTreeCollectionsTests/Utilities.swift index bb549bff..07c638d4 100644 --- a/Tests/HashTreeCollectionsTests/Utilities.swift +++ b/Tests/HashTreeCollectionsTests/Utilities.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/HeapTests/HeapNodeTests.swift b/Tests/HeapTests/HeapNodeTests.swift index 67d8c2b2..863fa393 100644 --- a/Tests/HeapTests/HeapNodeTests.swift +++ b/Tests/HeapTests/HeapNodeTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if DEBUG // These unit tests need access to HeapModule internals diff --git a/Tests/HeapTests/HeapTests.swift b/Tests/HeapTests/HeapTests.swift index f50db6ff..6a6bd3ee 100644 --- a/Tests/HeapTests/HeapTests.swift +++ b/Tests/HeapTests/HeapTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/HashTable/HashTableTests.swift b/Tests/OrderedCollectionsTests/HashTable/HashTableTests.swift index eb93a41a..06e0b453 100644 --- a/Tests/OrderedCollectionsTests/HashTable/HashTableTests.swift +++ b/Tests/OrderedCollectionsTests/HashTable/HashTableTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Tests.swift b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Tests.swift index 41bd8136..ecf57f03 100644 --- a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Tests.swift +++ b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Utils.swift b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Utils.swift index 03272c20..1e96e57e 100644 --- a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Utils.swift +++ b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary Utils.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Elements Tests.swift b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Elements Tests.swift index 7017aae2..3db7d455 100644 --- a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Elements Tests.swift +++ b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Elements Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Values Tests.swift b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Values Tests.swift index 20a81941..ea5b7e8a 100644 --- a/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Values Tests.swift +++ b/Tests/OrderedCollectionsTests/OrderedDictionary/OrderedDictionary+Values Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet Diffing Tests.swift b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet Diffing Tests.swift index d1d87134..367fc0bf 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet Diffing Tests.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet Diffing Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet.UnorderedView Tests.swift b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet.UnorderedView Tests.swift index 43ca958e..48d59ccf 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet.UnorderedView Tests.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSet.UnorderedView Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetInternals.swift b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetInternals.swift index ca118a76..b7715a70 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetInternals.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetInternals.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetTests.swift b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetTests.swift index 2ba89702..05475d8b 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetTests.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/OrderedSetTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift b/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift index 625bee1c..b0a9bd3c 100644 --- a/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift +++ b/Tests/OrderedCollectionsTests/OrderedSet/RandomAccessCollection+Extras.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/RopeModuleTests/Availability.swift b/Tests/RopeModuleTests/Availability.swift index 95e5d704..0e9c1023 100644 --- a/Tests/RopeModuleTests/Availability.swift +++ b/Tests/RopeModuleTests/Availability.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// var isRunningOnSwiftStdlib5_8: Bool { diff --git a/Tests/RopeModuleTests/SampleStrings.swift b/Tests/RopeModuleTests/SampleStrings.swift index 998a8e7b..563fb8f8 100644 --- a/Tests/RopeModuleTests/SampleStrings.swift +++ b/Tests/RopeModuleTests/SampleStrings.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if !COLLECTIONS_SINGLE_MODULE diff --git a/Tests/RopeModuleTests/TestBigString.swift b/Tests/RopeModuleTests/TestBigString.swift index c5e4dc47..74686f99 100644 --- a/Tests/RopeModuleTests/TestBigString.swift +++ b/Tests/RopeModuleTests/TestBigString.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) diff --git a/Tests/RopeModuleTests/TestRope.swift b/Tests/RopeModuleTests/TestRope.swift index 0e37719d..95bb4b99 100644 --- a/Tests/RopeModuleTests/TestRope.swift +++ b/Tests/RopeModuleTests/TestRope.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/SortedCollectionsTests/BTree/BTree Tests.swift b/Tests/SortedCollectionsTests/BTree/BTree Tests.swift index ac84bccb..a2d0a4c2 100644 --- a/Tests/SortedCollectionsTests/BTree/BTree Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/BTree Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/BTree+Deletion Tests.swift b/Tests/SortedCollectionsTests/BTree/BTree+Deletion Tests.swift index 9a4c6bc4..8cbfddfb 100644 --- a/Tests/SortedCollectionsTests/BTree/BTree+Deletion Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/BTree+Deletion Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/BTree.Builder Tests.swift b/Tests/SortedCollectionsTests/BTree/BTree.Builder Tests.swift index 5adea566..d3cb7a53 100644 --- a/Tests/SortedCollectionsTests/BTree/BTree.Builder Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/BTree.Builder Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/Node Utils.swift b/Tests/SortedCollectionsTests/BTree/Node Utils.swift index ca04be1d..603e35d1 100644 --- a/Tests/SortedCollectionsTests/BTree/Node Utils.swift +++ b/Tests/SortedCollectionsTests/BTree/Node Utils.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/Node+Balancing Tests.swift b/Tests/SortedCollectionsTests/BTree/Node+Balancing Tests.swift index be7f9422..c7c36ab2 100644 --- a/Tests/SortedCollectionsTests/BTree/Node+Balancing Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/Node+Balancing Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/Node+Insertion Tests.swift b/Tests/SortedCollectionsTests/BTree/Node+Insertion Tests.swift index 21566924..e9ab6746 100644 --- a/Tests/SortedCollectionsTests/BTree/Node+Insertion Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/Node+Insertion Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift b/Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift index dbe84b0d..c74f3aab 100644 --- a/Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift +++ b/Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/BTree/NodeTests.swift b/Tests/SortedCollectionsTests/BTree/NodeTests.swift index f33830c8..95f8a069 100644 --- a/Tests/SortedCollectionsTests/BTree/NodeTests.swift +++ b/Tests/SortedCollectionsTests/BTree/NodeTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Tests.swift b/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Tests.swift index f017ac46..e8b13486 100644 --- a/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Tests.swift +++ b/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Utils.swift b/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Utils.swift index 07254704..60742e2d 100644 --- a/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Utils.swift +++ b/Tests/SortedCollectionsTests/SortedDictionary/SortedDictionary Utils.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/SortedCollectionsTests/SortedSet/SortedSet Tests.swift b/Tests/SortedCollectionsTests/SortedSet/SortedSet Tests.swift index 5b54f78a..f060fff1 100644 --- a/Tests/SortedCollectionsTests/SortedSet/SortedSet Tests.swift +++ b/Tests/SortedCollectionsTests/SortedSet/SortedSet Tests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_UNSTABLE_SORTED_COLLECTIONS diff --git a/Tests/TrailingElementsTests/TrailingElementsTests.swift b/Tests/TrailingElementsTests/TrailingElementsTests.swift index 6795f0dd..31737f0a 100644 --- a/Tests/TrailingElementsTests/TrailingElementsTests.swift +++ b/Tests/TrailingElementsTests/TrailingElementsTests.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import Testing diff --git a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift index 2921f259..f6a69dc0 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift index a149244e..e9bf8fc4 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift b/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift index 9ea65df0..0660a3c4 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/_CollectionsTestSupport/AssertionContexts/Combinatorics.swift b/Tests/_CollectionsTestSupport/AssertionContexts/Combinatorics.swift index 276520c0..8d2bcc39 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/Combinatorics.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/Combinatorics.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// Run the supplied closure with all values in `items` in a loop, diff --git a/Tests/_CollectionsTestSupport/AssertionContexts/TestContext.swift b/Tests/_CollectionsTestSupport/AssertionContexts/TestContext.swift index 9fa2b17a..ca58b228 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/TestContext.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/TestContext.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// import XCTest diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift index 76fda453..8738162c 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift index 518a4afb..eba73e64 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest @@ -195,7 +197,7 @@ public func _checkCollection( } } } - + withSomeRanges( "range", in: 0 ..< allIndices.count - 1, maxSamples: maxSamples ) { range in @@ -212,7 +214,7 @@ public func _checkCollection( // Check `distance(from:to:)` let d = collection.distance(from: allIndices[i], to: allIndices[j]) expectEqual(d, j - i) - + // Check slicing. let range = allIndices[i] ..< allIndices[j] let slice = collection[range] @@ -222,30 +224,30 @@ public func _checkCollection( expectEqual(slice.endIndex, allIndices[j]) expectEqual(slice.distance(from: allIndices[i], to: allIndices[j]), j - i) expectEqual(slice.index(allIndices[i], offsetBy: j - i), allIndices[j]) - + expectEqual(slice.index(allIndices[i], offsetBy: j - i, limitedBy: allIndices[j]), allIndices[j]) expectEqual(slice.index(allIndices[i], offsetBy: j - i, limitedBy: allIndices[i]), j - i > 0 ? nil : allIndices[i]) expectEqual(slice.index(allIndices[i], offsetBy: j - i, limitedBy: allIndices[0]), i > 0 || j == 0 ? allIndices[j] : nil) - + expectEquivalentElements(slice, expectedContents[i ..< j], by: areEquivalent) - + expectEquivalentElements( slice._contentsByIterator(), expectedContents[i ..< j], by: areEquivalent) expectEquivalentElements( slice._contentsByCopyContents(), expectedContents[i ..< j], by: areEquivalent) - + // Check _copyContents. let copyContents = collection._contentsByCopyContents() expectEquivalentElements( copyContents, expectedContents, by: areEquivalent) - + expectEqualElements(slice._indicesByIndexAfter(), allIndices[i ..< j]) expectEqualElements(slice._indicesByFormIndexAfter(), allIndices[i ..< j]) expectEqualElements(slice.indices, allIndices[i ..< j]) diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift index 68bd5007..6e5be336 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibUnittest @@ -133,9 +135,9 @@ public func _checkComparable( } else { let x = instances[i] let y = instances[j] - + let expected = oracle(i, j) - + expectEqual( expected.flip(), oracle(j, i), """ @@ -143,7 +145,7 @@ public func _checkComparable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + expectEqual( expected == .lt, x < y, """ @@ -151,7 +153,7 @@ public func _checkComparable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + expectEqual( expected != .gt, x <= y, """ @@ -159,7 +161,7 @@ public func _checkComparable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + expectEqual( expected != .lt, x >= y, """ @@ -167,7 +169,7 @@ public func _checkComparable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + expectEqual( expected == .gt, x > y, """ @@ -175,7 +177,7 @@ public func _checkComparable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + withSome("k", in: instances.indices, maxSamples: 10) { k in let expected2 = oracle(j, k) if expected == expected2 { diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckContainer.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckContainer.swift index 97d9a708..0fb3e6dd 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckContainer.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckContainer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift index 3675e1f5..6c80dc1d 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibUnittest @@ -78,7 +80,7 @@ public func checkEquatable( let expectedXY = oracle(i, j) expectEqual(oracle(j, i), expectedXY, "bad oracle: broken symmetry between indices \(i), \(j)") - + let actualXY = (x == y) let actualYX = (y == x) expectEqual( @@ -110,7 +112,7 @@ public func checkEquatable( lhs (at index \(i)): \(String(reflecting: x)) rhs (at index \(j)): \(String(reflecting: y)) """) - + // Check transitivity of the predicate represented by the oracle. // If we are adding the instance `j` into an equivalence set, check that // it is equal to every other instance in the set. diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift index 79eeb6a3..d3215cc2 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibUnittest diff --git a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift index 432be7aa..12c7d9ab 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/CustomDrain.swift b/Tests/_CollectionsTestSupport/MinimalTypes/CustomDrain.swift index 48c84d07..d9938c52 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/CustomDrain.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/CustomDrain.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/CustomProducer.swift b/Tests/_CollectionsTestSupport/MinimalTypes/CustomProducer.swift index d3a22485..b9dfddb9 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/CustomProducer.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/CustomProducer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift index e7e06f90..4568d42b 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift index b56be935..7a7c2805 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift index b87d27a8..603bf6e3 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public class MinimalDecoder { diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalEncoder.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalEncoder.swift index d70a0f39..ebbdaa94 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalEncoder.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalEncoder.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A Plist-style encoder that attempts to enforce a strict interpretation of diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift index 5f2fa0fd..3f17cd94 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift index 13f703c7..edf47c3d 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift index 566182fc..d264cb9b 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift index 1ea5e444..6b4950ca 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift index ef015c50..2b6756aa 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift index 5b253d34..801d9648 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift index 07be9fcd..671d7780 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift b/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift index 075de146..e77009a3 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/StaccatoContainer.swift b/Tests/_CollectionsTestSupport/MinimalTypes/StaccatoContainer.swift index 6fb7607c..20edf640 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/StaccatoContainer.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/StaccatoContainer.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift b/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift index 5a358bed..ed54170e 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Loosely adapted from https://github.com/apple/swift/tree/main/stdlib/private/StdlibCollectionUnittest diff --git a/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift b/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift index 1316d376..1e254b4a 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// struct _MinimalCollectionCore { @@ -354,4 +356,3 @@ extension _MinimalCollectionCore { try elements.removeAll(where: shouldBeRemoved) } } - diff --git a/Tests/_CollectionsTestSupport/Utilities/AllOnesRandomNumberGenerator.swift b/Tests/_CollectionsTestSupport/Utilities/AllOnesRandomNumberGenerator.swift index 8e335dbb..01ba2def 100644 --- a/Tests/_CollectionsTestSupport/Utilities/AllOnesRandomNumberGenerator.swift +++ b/Tests/_CollectionsTestSupport/Utilities/AllOnesRandomNumberGenerator.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A terrible random number generator that always returns values with all diff --git a/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift b/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift index c81b1b19..110dd049 100644 --- a/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift +++ b/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public final class ClassBox { diff --git a/Tests/_CollectionsTestSupport/Utilities/DictionaryAPIChecker.swift b/Tests/_CollectionsTestSupport/Utilities/DictionaryAPIChecker.swift index 2dc96876..d339bb02 100644 --- a/Tests/_CollectionsTestSupport/Utilities/DictionaryAPIChecker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/DictionaryAPIChecker.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A test protocol for validating that dictionary-like types implement users' diff --git a/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift b/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift index 81123134..97198c56 100644 --- a/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift +++ b/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public final class HashableBox: Hashable { diff --git a/Tests/_CollectionsTestSupport/Utilities/IndexRangeCollection.swift b/Tests/_CollectionsTestSupport/Utilities/IndexRangeCollection.swift index 0bf1fb56..bfb27c67 100644 --- a/Tests/_CollectionsTestSupport/Utilities/IndexRangeCollection.swift +++ b/Tests/_CollectionsTestSupport/Utilities/IndexRangeCollection.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public struct IndexRangeCollection diff --git a/Tests/_CollectionsTestSupport/Utilities/Integer Square Root.swift b/Tests/_CollectionsTestSupport/Utilities/Integer Square Root.swift index 827812c4..466b4f75 100644 --- a/Tests/_CollectionsTestSupport/Utilities/Integer Square Root.swift +++ b/Tests/_CollectionsTestSupport/Utilities/Integer Square Root.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// extension FixedWidthInteger { diff --git a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift index 054fabe9..7357bd58 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift index 3844d24c..85d47f1a 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A type that tracks the number of live instances. @@ -115,4 +117,3 @@ extension LifetimeTrackedStruct/*: Comparable*/ where Payload: Comparable /*& ~C return left.payload < right.payload } } - diff --git a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift index d93762ec..23c84e38 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE @@ -28,7 +30,7 @@ import BasicContainers public class LifetimeTracker { @usableFromInline package var _instances = 0 - + @usableFromInline package var _nextSerialNumber = 0 @@ -37,7 +39,7 @@ public class LifetimeTracker { deinit { check() } - + @inlinable public var instances: Int { _instances } diff --git a/Tests/_CollectionsTestSupport/Utilities/RandomStableSample.swift b/Tests/_CollectionsTestSupport/Utilities/RandomStableSample.swift index 001709b2..361640df 100644 --- a/Tests/_CollectionsTestSupport/Utilities/RandomStableSample.swift +++ b/Tests/_CollectionsTestSupport/Utilities/RandomStableSample.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// // Note: This comes from swift-algorithms. diff --git a/Tests/_CollectionsTestSupport/Utilities/RepeatableRandomNumberGenerator.swift b/Tests/_CollectionsTestSupport/Utilities/RepeatableRandomNumberGenerator.swift index c06a7e18..c90c212d 100644 --- a/Tests/_CollectionsTestSupport/Utilities/RepeatableRandomNumberGenerator.swift +++ b/Tests/_CollectionsTestSupport/Utilities/RepeatableRandomNumberGenerator.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public struct RepeatableRandomNumberGenerator: RandomNumberGenerator { diff --git a/Tests/_CollectionsTestSupport/Utilities/SetAPIChecker.swift b/Tests/_CollectionsTestSupport/Utilities/SetAPIChecker.swift index 8db639ad..1d03677c 100644 --- a/Tests/_CollectionsTestSupport/Utilities/SetAPIChecker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/SetAPIChecker.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// /// A test protocol for validating that set-like types implement users' diff --git a/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift b/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift index 893a1236..9f855100 100644 --- a/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/SortedCollectionAPIChecker.swift @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift b/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift index 3c1f8e27..6563567d 100644 --- a/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift +++ b/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// public struct StringConvertibleValue { diff --git a/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift b/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift index f081befc..9b78cec6 100644 --- a/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift +++ b/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift @@ -8,6 +8,8 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #if COLLECTIONS_SINGLE_MODULE diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index cac4115d..d1c38faf 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -5,6 +5,8 @@ Copyright (c) 2021 - 2026 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information + +SPDX-License-Identifier: Apache-2.0 WITH Swift-exception #]] set(SWIFT_COLLECTIONS_EXPORTS_FILE ${CMAKE_CURRENT_BINARY_DIR}/SwiftCollectionsExports.cmake)