Skip to content

Commit e90df7e

Browse files
authored
Merge pull request swiftlang#71199 from glessard/utf8-license-header
[gardening] add a missing license header
2 parents e33001a + 6b328f9 commit e90df7e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

stdlib/public/core/StringUTF8Validation.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===--- StringUTF8Validation.swift ---------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
private func _isUTF8MultiByteLeading(_ x: UInt8) -> Bool {
214
return (0xC2...0xF4).contains(x)
315
}

0 commit comments

Comments
 (0)