diff --git a/Benchmarks/Sources/CppBenchmarks/include/DequeBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/DequeBenchmarks.h index 94b44901..646ce79f 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/DequeBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/DequeBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_DEQUE_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/Hashing.h b/Benchmarks/Sources/CppBenchmarks/include/Hashing.h index ba9eba8d..beef29bb 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/Hashing.h +++ b/Benchmarks/Sources/CppBenchmarks/include/Hashing.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_HASHING_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/MapBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/MapBenchmarks.h index 8e5c77c6..490971e1 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/MapBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/MapBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_MAP_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/PriorityQueueBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/PriorityQueueBenchmarks.h index d06d888a..b074fb27 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/PriorityQueueBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/PriorityQueueBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_PRIORITY_QUEUE_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/UnorderedMapBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/UnorderedMapBenchmarks.h index 611a8f44..ffeb3b95 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/UnorderedMapBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/UnorderedMapBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_UNORDERED_MAP_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/UnorderedSetBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/UnorderedSetBenchmarks.h index 55eb434b..adaf2917 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/UnorderedSetBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/UnorderedSetBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_UNORDERED_SET_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/Utils.h b/Benchmarks/Sources/CppBenchmarks/include/Utils.h index d2670982..254a5782 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/Utils.h +++ b/Benchmarks/Sources/CppBenchmarks/include/Utils.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef BLACK_HOLE_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/VectorBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/VectorBenchmarks.h index e817c07a..db66a4af 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/VectorBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/VectorBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_VECTOR_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/include/VectorBoolBenchmarks.h b/Benchmarks/Sources/CppBenchmarks/include/VectorBoolBenchmarks.h index 4f7eb9d3..e4518c9e 100644 --- a/Benchmarks/Sources/CppBenchmarks/include/VectorBoolBenchmarks.h +++ b/Benchmarks/Sources/CppBenchmarks/include/VectorBoolBenchmarks.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CPPBENCHMARKS_VECTOR_BOOL_BENCHMARKS_H diff --git a/Benchmarks/Sources/CppBenchmarks/src/CustomHash.h b/Benchmarks/Sources/CppBenchmarks/src/CustomHash.h index 8ac14a99..3b1147bc 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/CustomHash.h +++ b/Benchmarks/Sources/CppBenchmarks/src/CustomHash.h @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #ifndef CUSTOMHASH_H diff --git a/Benchmarks/Sources/CppBenchmarks/src/DequeBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/DequeBenchmarks.cpp index dab78021..b951f401 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/DequeBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/DequeBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/CppBenchmarks/src/Hashing.cpp b/Benchmarks/Sources/CppBenchmarks/src/Hashing.cpp index 6a775421..5e6df93d 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/Hashing.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/Hashing.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #import "Hashing.h" @@ -36,4 +38,3 @@ cpp_custom_hash(const intptr_t *start, size_t count) black_hole(custom_intptr_hash{}(*p)); } } - diff --git a/Benchmarks/Sources/CppBenchmarks/src/MapBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/MapBenchmarks.cpp index 3b97d556..965e5253 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/MapBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/MapBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include "MapBenchmarks.h" diff --git a/Benchmarks/Sources/CppBenchmarks/src/PriorityQueueBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/PriorityQueueBenchmarks.cpp index d139964c..ced33518 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/PriorityQueueBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/PriorityQueueBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/CppBenchmarks/src/UnorderedMapBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/UnorderedMapBenchmarks.cpp index f5fbbc60..4074cde7 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/UnorderedMapBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/UnorderedMapBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/CppBenchmarks/src/UnorderedSetBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/UnorderedSetBenchmarks.cpp index c677d7a7..86bee8e6 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/UnorderedSetBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/UnorderedSetBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/CppBenchmarks/src/Utils.cpp b/Benchmarks/Sources/CppBenchmarks/src/Utils.cpp index 35d76a0c..4a5565f6 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/Utils.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/Utils.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include "Utils.h" diff --git a/Benchmarks/Sources/CppBenchmarks/src/VectorBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/VectorBenchmarks.cpp index 7a422fca..b1d4ed87 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/VectorBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/VectorBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/CppBenchmarks/src/VectorBoolBenchmarks.cpp b/Benchmarks/Sources/CppBenchmarks/src/VectorBoolBenchmarks.cpp index efdb922a..33222a62 100644 --- a/Benchmarks/Sources/CppBenchmarks/src/VectorBoolBenchmarks.cpp +++ b/Benchmarks/Sources/CppBenchmarks/src/VectorBoolBenchmarks.cpp @@ -7,6 +7,8 @@ // // See https://swift.org/LICENSE.txt for license information // +// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +// //===----------------------------------------------------------------------===// #include diff --git a/Benchmarks/Sources/RustBenchmarks/dummy.swift b/Benchmarks/Sources/RustBenchmarks/dummy.swift index e69de29b..04f609ec 100644 --- a/Benchmarks/Sources/RustBenchmarks/dummy.swift +++ b/Benchmarks/Sources/RustBenchmarks/dummy.swift @@ -0,0 +1,12 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Swift Collections open source project +// +// Copyright (c) 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 +// +//===----------------------------------------------------------------------===// diff --git a/CMakeLists.txt b/CMakeLists.txt index 27e4c139..ea554867 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,13 +1,15 @@ -#[[ -This source file is part of the Swift Collections Open Source Project - -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 -#]] +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift Collections open source project +## +## 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) project(SwiftCollections diff --git a/Documentation/Announcement-benchmarks/generate-results.sh b/Documentation/Announcement-benchmarks/generate-results.sh index 27517076..4c01bbfe 100755 --- a/Documentation/Announcement-benchmarks/generate-results.sh +++ b/Documentation/Announcement-benchmarks/generate-results.sh @@ -1,14 +1,16 @@ #!/bin/sh -#===----------------------------------------------------------------------===// -# -# This source file is part of the Swift Collections open source project -# -# 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 -# -#===----------------------------------------------------------------------===// +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift Collections open source project +## +## 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 -eux diff --git a/Sources/InternalCollectionsUtilities/LifetimeOverride.swift b/Sources/InternalCollectionsUtilities/LifetimeOverride.swift index 61a8f681..738ba591 100644 --- a/Sources/InternalCollectionsUtilities/LifetimeOverride.swift +++ b/Sources/InternalCollectionsUtilities/LifetimeOverride.swift @@ -1,6 +1,6 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2024 - 2026 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception @@ -8,9 +8,6 @@ // 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/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift index f6a69dc0..2febbe63 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions+Containers.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift index e9bf8fc4..f46529cb 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/Assertions.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift b/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift index 0660a3c4..2c8d61f6 100644 --- a/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift +++ b/Tests/_CollectionsTestSupport/AssertionContexts/CollectionTestCase.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift index 8738162c..b9063bf6 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckBidirectionalCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift index eba73e64..00144c92 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift index 6e5be336..67ed39c0 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckComparable.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift index 6c80dc1d..c78e620c 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckEquatable.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift index d3215cc2..a37677df 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckHashable.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift index 12c7d9ab..c331c766 100644 --- a/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift +++ b/Tests/_CollectionsTestSupport/ConformanceCheckers/CheckSequence.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift index 4568d42b..c03b48db 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalBidirectionalCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift index 7a7c2805..333c9f56 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift index 3f17cd94..9d2d1ee2 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIndex.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift index edf47c3d..baac9c0f 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalIterator.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift index d264cb9b..dcfc0b5a 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRandomAccessCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift index 6b4950ca..f7f4f861 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalMutableRangeReplaceableRandomAccessCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift index 2b6756aa..b0f81760 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRandomAccessCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift index 801d9648..2571c483 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalRangeReplaceableRandomAccessCollection.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift index 671d7780..3101cb4e 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift b/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift index e77009a3..7236bd75 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/ResettableValue.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift b/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift index ed54170e..b2e41bf0 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/_CollectionState.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift b/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift index 1e254b4a..af00ef35 100644 --- a/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift +++ b/Tests/_CollectionsTestSupport/MinimalTypes/_MinimalCollectionCore.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift b/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift index 110dd049..331f7856 100644 --- a/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift +++ b/Tests/_CollectionsTestSupport/Utilities/ClassBox.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift b/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift index 97198c56..9eee73f8 100644 --- a/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift +++ b/Tests/_CollectionsTestSupport/Utilities/HashableBox.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift index 7357bd58..504d7743 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracked.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift index 85d47f1a..be41f3b6 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTrackedStruct.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // 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 -// 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/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift index 23c84e38..e411ce5b 100644 --- a/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift +++ b/Tests/_CollectionsTestSupport/Utilities/LifetimeTracker.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift b/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift index 6563567d..87cad164 100644 --- a/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift +++ b/Tests/_CollectionsTestSupport/Utilities/StringConvertibleValue.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // Copyright (c) 2014 - 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 -// 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/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift b/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift index 9b78cec6..b34b7f9f 100644 --- a/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift +++ b/Tests/_CollectionsTestSupport/Utilities/TestPrintable.swift @@ -1,12 +1,11 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Swift.org open source project +// This source file is part of the Swift Collections open source project // // 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 -// 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/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index d1c38faf..9e58cf7f 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -1,13 +1,15 @@ -#[[ -This source file is part of the Swift Collections Open Source Project - -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 -#]] +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift Collections open source project +## +## 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) diff --git a/cmake/modules/SwiftCollectionsConfig.cmake.in b/cmake/modules/SwiftCollectionsConfig.cmake.in index 2112aa0a..2054f885 100644 --- a/cmake/modules/SwiftCollectionsConfig.cmake.in +++ b/cmake/modules/SwiftCollectionsConfig.cmake.in @@ -1,11 +1,15 @@ -#[[ -This source file is part of the Swift Collections Open Source Project - -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 -#]] +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift Collections open source project +## +## 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(NOT TARGET SwiftCollections) include(@SWIFT_COLLECTIONS_EXPORTS_FILE@) diff --git a/cmake/modules/SwiftSupport.cmake b/cmake/modules/SwiftSupport.cmake index 508f3d5e..f26594c7 100644 --- a/cmake/modules/SwiftSupport.cmake +++ b/cmake/modules/SwiftSupport.cmake @@ -1,11 +1,15 @@ -#[[ -This source file is part of the Swift Collections Open Source Project - -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 -#]] +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift Collections open source project +## +## 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(NOT COLLECTIONS_MODULE_TRIPLE OR NOT COLLECTIONS_ARCH OR NOT COLLECTIONS_PLATFORM)