Merge pull request #593 from lorentey/enforce-dress-code

Enforce dress code for license headers
This commit is contained in:
Karoy Lorentey authored and GitHub committed 2026-03-09 10:10:19 -07:00
commit db3cc4bacb
66 files changed
+167 -156

No files matched your search

-2
View File
@@ -42,7 +42,5 @@ jobs:
shell_check_enabled: false
# https://github.com/apple/swift-collections/issues/431
format_check_enabled: false
# https://github.com/apple/swift-collections/issues/434
license_header_check_enabled: false
# https://github.com/apple/swift-collections/issues/435
api_breakage_check_enabled: false
+12
View File
@@ -0,0 +1,12 @@
@@===----------------------------------------------------------------------===@@
@@
@@ This source file is part of the Swift Collections open source project
@@
@@ Copyright (c) YEARS 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
@@
@@===----------------------------------------------------------------------===@@
+16
View File
@@ -0,0 +1,16 @@
**/*.md
**/*.png
**/*.rs
**/*.sh
**/*.xcconfig
**/*.xcodeproj/*
**/*.xctestplan
**/*.xcworkspace/*
**/*.yml
**/Package.resolved
.editorconfig
Package.swift
Benchmarks/Package.swift
Package@swift-*.swift
CODEOWNERS
LICENSE.txt
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
swift_version_tag = "5.10-jammy"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
swift_version_tag = "5.7-jammy"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
swift_version_tag = "5.8-jammy"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
swift_version_tag = "5.9-jammy"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
macOSSwiftPackageJob {
swift_version = "6.0"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
nightly_docker_tag = "nightly-6.0-jammy"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
macOSSwiftPackageJob {
swift_version = "main"
repo = "swift-collections"
branch = "main"
}
-5
View File
@@ -1,5 +0,0 @@
LinuxSwiftPackageJob {
nightly_docker_tag = "nightly-jammy"
repo = "swift-collections"
branch = "main"
}
-7
View File
@@ -1,7 +0,0 @@
WindowsSwiftPackageWithDockerImageJob {
docker_image = "swiftlang/swift:nightly-windowsservercore-1809"
repo = "swift-collections"
branch = "main"
sub_dir = "swift-collections"
label = "windows-server-2019"
}
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <deque>
@@ -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));
}
}
@@ -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"
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <queue>
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <unordered_map>
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <unordered_set>
@@ -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"
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <vector>
@@ -7,6 +7,8 @@
//
// See https://swift.org/LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0 WITH Swift-exception
//
//===----------------------------------------------------------------------===//
#include <vector>
@@ -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
//
//===----------------------------------------------------------------------===//
+12 -10
View File
@@ -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
@@ -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
@@ -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
//
//===----------------------------------------------------------------------===//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
@@ -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
//
+12 -10
View File
@@ -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)
+12 -8
View File
@@ -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@)
+12 -8
View File
@@ -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)