-
-
Save alfonsotesauro/12d9d53126d032a11f741777141b204d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking 'Algorithm.swift' | |
./Algorithm.swift:18: warning: Line 18 uses a space before a colon | |
./Algorithm.swift:19: warning: Line 19 uses a space before a colon | |
./Algorithm.swift:29: warning: Line 29 uses a space before a colon | |
./Algorithm.swift:30: warning: Line 30 uses a space before a colon | |
./Algorithm.swift:41: warning: Line 41 uses a space before a colon | |
./Algorithm.swift:48: warning: Line 48 uses a space before a colon | |
./Algorithm.swift:58: warning: Line 58 uses a space before a colon | |
./Algorithm.swift:76: warning: Line 76 uses a space before a colon | |
./Algorithm.swift:86: warning: Line 86 uses a space before a colon | |
./Algorithm.swift:112: warning: Line 112 uses a space before a colon | |
./Algorithm.swift:124: warning: Line 124 uses a space before a colon | |
./Algorithm.swift:127: warning: Line 127 uses a space before a colon | |
./Algorithm.swift:129: warning: Line 129 uses egregious Allman pattern. Welcome to Swift. | |
./Algorithm.swift:139: warning: Line 139 uses a space before a colon | |
./Algorithm.swift:145: warning: Line 145 uses egregious Allman pattern. Welcome to Swift. | |
./Algorithm.swift:162: warning: Line 162 uses a space before a colon | |
./Algorithm.swift:163: warning: Line 163 uses a space before a colon | |
./Algorithm.swift:195: warning: Line 195 uses a space before a colon | |
./Algorithm.swift:207: note: Line 207: CAUTION: Possible constructor pattern may not require inferred prefix | |
return EnumerateGenerator(base.generate()) | |
./Algorithm.swift:224: warning: Line 224 uses a space before a colon | |
./Algorithm.swift:234: warning: Line 234 uses a space before a colon | |
./Algorithm.swift:237: warning: Line 237 uses a space before a colon | |
./Algorithm.swift:248: warning: Line 248 uses a space before a colon | |
./Algorithm.swift:261: warning: Line 261 uses a space before a colon | |
./Algorithm.swift:264: warning: Line 264 uses a space before a colon | |
./Algorithm.swift:277: warning: Line 277 uses a space before a colon | |
./Algorithm.swift:291: warning: Line 291 uses a space before a colon | |
./Algorithm.swift:299: warning: Line 299 uses a space before a colon | |
./Algorithm.swift:308: warning: Line 308 uses a space before a colon | |
28 warnings, 1 cautions for Algorithm.swift | |
Checking 'ArrayBody.swift' | |
./ArrayBody.swift:0: warning: File ArrayBody.swift should have a single trailing newline | |
1 warnings, 0 cautions for ArrayBody.swift | |
Checking 'ArrayBuffer.swift' | |
./ArrayBuffer.swift:24: warning: Line 24 uses a space before a colon | |
./ArrayBuffer.swift:49: warning: Line 49 uses a space before a colon | |
./ArrayBuffer.swift:62: warning: Line 62 is broken | |
// FIXME: can't check that U is derived from Element pending | |
./ArrayBuffer.swift:91: warning: Line 91 uses a space before a colon | |
./ArrayBuffer.swift:96: warning: Line 96 uses a space before a colon | |
./ArrayBuffer.swift:139: warning: Line 139 uses egregious Allman pattern. Welcome to Swift. | |
./ArrayBuffer.swift:182: warning: Line 182 Else case does not follow colinear 1TBS standard. | |
./ArrayBuffer.swift:199: warning: Line 199: Avoid semantically meaningless iterator names (i, j) | |
./ArrayBuffer.swift:248: warning: Line 248: Swift does not usually require 'self' references outside of closures | |
./ArrayBuffer.swift:250: warning: Line 250: Swift does not usually require 'self' references outside of closures | |
./ArrayBuffer.swift:288: warning: Line 288: Swift if statements do not require parentheses | |
./ArrayBuffer.swift:301: warning: Line 301: Avoid semantically meaningless names like temp, tmp, returnValue | |
./ArrayBuffer.swift:322: warning: Line 322 needs addressing | |
// TODO: gyb this | |
./ArrayBuffer.swift:393: warning: Line 393 Else case does not follow colinear 1TBS standard. | |
./ArrayBuffer.swift:451: warning: Line 451 Else case does not follow colinear 1TBS standard. | |
./ArrayBuffer.swift:481: warning: Line 481 Else case does not follow colinear 1TBS standard. | |
./ArrayBuffer.swift:491: warning: Line 491 Else case does not follow colinear 1TBS standard. | |
17 warnings, 0 cautions for ArrayBuffer.swift | |
Checking 'ArrayBufferType.swift' | |
./ArrayBufferType.swift:15: warning: Line 15 uses a space before a colon | |
./ArrayBufferType.swift:139: warning: Line 139: Swift does not usually require 'self' references outside of closures | |
./ArrayBufferType.swift:143: warning: Line 143: Swift does not usually require 'self' references for assignments | |
./ArrayBufferType.swift:145: warning: Line 145: Swift does not usually require 'self' references outside of closures | |
./ArrayBufferType.swift:160: warning: Line 160: Avoid semantically meaningless iterator names (i, j) | |
./ArrayBufferType.swift:170: warning: Line 170 Else case does not follow colinear 1TBS standard. | |
./ArrayBufferType.swift:172: warning: Line 172: Avoid semantically meaningless iterator names (i, j) | |
./ArrayBufferType.swift:173: warning: Line 173: Avoid semantically meaningless iterator names (i, j) | |
./ArrayBufferType.swift:196: warning: Line 196 Else case does not follow colinear 1TBS standard. | |
9 warnings, 0 cautions for ArrayBufferType.swift | |
Checking 'ArrayCast.swift' | |
./ArrayCast.swift:20: warning: Line 20 is broken | |
// FIXME: These need to be implemented even for non-objc: | |
./ArrayCast.swift:50: warning: Line 50: Swift switch statements do not require parentheses | |
./ArrayCast.swift:85: warning: Line 85 is broken | |
// FIXME: should be an unsafeDowncast, but for <rdar://problem/18638230> | |
./ArrayCast.swift:163: warning: Line 163: Swift cases do not implicitly fall through. | |
./ArrayCast.swift:188: warning: Line 188 includes trailing whitespace characters | |
5 warnings, 0 cautions for ArrayCast.swift | |
Checking 'ArrayType.swift' | |
./ArrayType.swift:15: warning: Line 15 uses a space before a colon | |
./ArrayType.swift:18: warning: Line 18 uses egregious Allman pattern. Welcome to Swift. | |
./ArrayType.swift:76: warning: Line 76 uses a space before a colon | |
./ArrayType.swift:84: warning: Line 84 uses a space before a colon | |
./ArrayType.swift:85: warning: Line 85 uses a space before a colon | |
./ArrayType.swift:86: warning: Line 86 uses a space before a colon | |
./ArrayType.swift:88: warning: Line 88 uses a space before a colon | |
7 warnings, 0 cautions for ArrayType.swift | |
Checking 'Assert.swift' | |
./Assert.swift:103: warning: Line 103 Else case does not follow colinear 1TBS standard. | |
1 warnings, 0 cautions for Assert.swift | |
Checking 'AssertCommon.swift' | |
./AssertCommon.swift:17: warning: Line 17 is broken | |
// FIXME: We could go farther with this simplification, e.g. avoiding | |
./AssertCommon.swift:28: note: Line 28: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Int32(Builtin.assert_configuration()) == 0 | |
./AssertCommon.swift:38: note: Line 38: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Int32(Builtin.assert_configuration()) == 1 | |
./AssertCommon.swift:49: note: Line 49: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Int32(Builtin.assert_configuration()) == 2 | |
1 warnings, 3 cautions for AssertCommon.swift | |
Checking 'Availability.swift' | |
./Availability.swift:39: warning: Line 39 is broken | |
// FIXME: As yet, there is no obvious versioning standard for platforms other | |
./Availability.swift:46: warning: Line 46 uses a space before a colon | |
2 warnings, 0 cautions for Availability.swift | |
Checking 'Bit.swift' | |
./Bit.swift:19: warning: Line 19 uses a space before a colon | |
./Bit.swift:55: warning: Line 55 uses a space before a colon | |
./Bit.swift:59: warning: Line 59: Swift does not usually require 'self' references for assignments | |
./Bit.swift:96: warning: Line 96 uses a space before a colon | |
./Bit.swift:98: warning: Line 98 Many rawValue initializers can now be replaced with option set initialization | |
./Bit.swift:101: warning: Line 101 Many rawValue initializers can now be replaced with option set initialization | |
6 warnings, 0 cautions for Bit.swift | |
Checking 'Bool.swift' | |
./Bool.swift:23: warning: Line 23: Swift does not usually require 'self' references for assignments | |
./Bool.swift:30: warning: Line 30 uses a space before a colon | |
./Bool.swift:33: warning: Line 33: Swift does not usually require 'self' references for assignments | |
./Bool.swift:43: warning: Line 43 uses a space before a colon | |
./Bool.swift:55: warning: Line 55 uses a space before a colon | |
./Bool.swift:60: warning: Line 60 uses a space before a colon | |
./Bool.swift:73: warning: Line 73 uses a space before a colon | |
./Bool.swift:0: warning: File Bool.swift should have a single trailing newline | |
8 warnings, 0 cautions for Bool.swift | |
Checking 'BooleanType.swift' | |
./BooleanType.swift:17: warning: Line 17 uses a space before a colon | |
./BooleanType.swift:25: warning: Line 25 uses a space before a colon | |
./BooleanType.swift:35: warning: Line 35 uses a space before a colon | |
./BooleanType.swift:41: warning: Line 41 is broken | |
// FIXME: We can't make the above @_transparent due to | |
./BooleanType.swift:46: warning: Line 46 uses a space before a colon | |
./BooleanType.swift:54: warning: Line 54 uses a space before a colon | |
6 warnings, 0 cautions for BooleanType.swift | |
Checking 'BridgeObjectiveC.swift' | |
./BridgeObjectiveC.swift:20: warning: Line 20 uses a space before a colon | |
./BridgeObjectiveC.swift:108: warning: Line 108: Forced casts are generally unsafe | |
./BridgeObjectiveC.swift:163: warning: Line 163 uses egregious Allman pattern. Welcome to Swift. | |
./BridgeObjectiveC.swift:194: warning: Line 194: Forced casts are generally unsafe | |
./BridgeObjectiveC.swift:341: warning: Line 341 needs addressing | |
public struct AutoreleasingUnsafeMutablePointer<Memory /* TODO : class */> | |
./BridgeObjectiveC.swift:341: warning: Line 341 uses a space before a colon | |
./BridgeObjectiveC.swift:342: warning: Line 342 uses a space before a colon | |
./BridgeObjectiveC.swift:347: warning: Line 347 Many rawValue initializers can now be replaced with option set initialization | |
./BridgeObjectiveC.swift:351: warning: Line 351 Many rawValue initializers can now be replaced with option set initialization | |
./BridgeObjectiveC.swift:356: warning: Line 356 uses a space before a colon | |
./BridgeObjectiveC.swift:412: warning: Line 412: Swift does not usually require 'self' references for assignments | |
./BridgeObjectiveC.swift:422: warning: Line 422: Swift does not usually require 'self' references for assignments | |
./BridgeObjectiveC.swift:431: warning: Line 431: Swift does not usually require 'self' references for assignments | |
./BridgeObjectiveC.swift:435: warning: Line 435 uses a space before a colon | |
14 warnings, 0 cautions for BridgeObjectiveC.swift | |
Checking 'BridgeStorage.swift' | |
./BridgeStorage.swift:157: warning: Line 157 Many rawValue initializers can now be replaced with option set initialization | |
1 warnings, 0 cautions for BridgeStorage.swift | |
Checking 'Builtin.swift' | |
./Builtin.swift:164: warning: Line 164 is broken | |
// FIXME: use a parameterized version of Builtin.unreachable when | |
./Builtin.swift:186: warning: Line 186: Avoid semantically meaningless names like temp, tmp, returnValue | |
./Builtin.swift:189: warning: Line 189: Avoid semantically meaningless names like temp, tmp, returnValue | |
./Builtin.swift:192: warning: Line 192: Avoid semantically meaningless names like temp, tmp, returnValue | |
./Builtin.swift:233: warning: Line 233 uses a space before a colon | |
./Builtin.swift:292: warning: Line 292 uses a space before a colon | |
./Builtin.swift:309: warning: Line 309 uses a space before a colon | |
./Builtin.swift:494: warning: Line 494 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
8 warnings, 0 cautions for Builtin.swift | |
Checking 'Character.swift' | |
./Character.swift:16: warning: Line 16 uses a space before a colon | |
./Character.swift:30: note: Line 30 : NOTE: may be more than 1 Character long. | |
// NOTE: may be more than 1 Character long. | |
./Character.swift:106: warning: Line 106 Else case does not follow colinear 1TBS standard. | |
./Character.swift:123: warning: Line 123: Avoid semantically meaningless iterator names (i, j) | |
./Character.swift:124: warning: Line 124: Swift if statements do not require parentheses | |
./Character.swift:137: warning: Line 137 uses a space before a colon | |
./Character.swift:141: warning: Line 141: Swift does not usually require 'self' references for assignments | |
./Character.swift:142: warning: Line 142: Swift does not usually require 'self' references for assignments | |
./Character.swift:174: warning: Line 174 uses a space before a colon | |
./Character.swift:176: warning: Line 176: Swift does not usually require 'self' references for assignments | |
./Character.swift:199: warning: Line 199 uses a space before a colon | |
./Character.swift:205: warning: Line 205: Swift does not usually require 'self' references for assignments | |
./Character.swift:214: warning: Line 214: Swift does not usually require 'self' references for assignments | |
./Character.swift:220: warning: Line 220 uses a space before a colon | |
./Character.swift:229: warning: Line 229 uses a space before a colon | |
./Character.swift:258: warning: Line 258 is broken | |
// FIXME(performance): constructing a temporary string is extremely | |
./Character.swift:271: warning: Line 271 uses a space before a colon | |
./Character.swift:315: warning: Line 315 is broken | |
// FIXME(performance): constructing two temporary strings is extremely | |
./Character.swift:331: warning: Line 331 is broken | |
// FIXME(performance): constructing two temporary strings is extremely | |
18 warnings, 0 cautions for Character.swift | |
Checking 'CocoaArray.swift' | |
./CocoaArray.swift:28: warning: Line 28 uses a space before a colon | |
./CocoaArray.swift:51: warning: Line 51 uses egregious Allman pattern. Welcome to Swift. | |
./CocoaArray.swift:59: warning: Line 59: Swift does not usually require 'self' references outside of closures | |
./CocoaArray.swift:66: warning: Line 66 uses a space before a colon | |
4 warnings, 0 cautions for CocoaArray.swift | |
Checking 'Collection.swift' | |
./Collection.swift:14: warning: Line 14 uses a space before a colon | |
./Collection.swift:33: warning: Line 33 uses a space before a colon | |
./Collection.swift:68: warning: Line 68 uses a space before a colon | |
./Collection.swift:90: warning: Line 90 uses a space before a colon | |
./Collection.swift:91: warning: Line 91 uses a space before a colon | |
./Collection.swift:95: warning: Line 95: Swift does not usually require 'self' references for assignments | |
./Collection.swift:96: warning: Line 96: Swift does not usually require 'self' references for assignments | |
./Collection.swift:126: warning: Line 126 uses a space before a colon | |
./Collection.swift:135: warning: Line 135 is broken | |
// FIXME: Needed here so that the Generator is properly deduced from | |
./Collection.swift:140: warning: Line 140 is broken | |
// FIXME: should be constrained to CollectionType | |
./Collection.swift:312: warning: Line 312: Swift does not usually require 'self' references outside of closures | |
./Collection.swift:317: warning: Line 317: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Collection.swift:320: warning: Line 320: Avoid semantically meaningless iterator names (i, j) | |
./Collection.swift:320: warning: Line 320: Swift does not usually require 'self' references outside of closures | |
./Collection.swift:405: note: Line 405: CAUTION: Possible constructor pattern may not require inferred prefix | |
return prefixUpTo(position.successor()) | |
./Collection.swift:455: warning: Line 455: Swift cases do not implicitly fall through. | |
./Collection.swift:470: warning: Line 470 uses a space before a colon | |
./Collection.swift:497: warning: Line 497 uses a space before a colon | |
./Collection.swift:555: warning: Line 555 uses a space before a colon | |
./Collection.swift:583: warning: Line 583 uses a space before a colon | |
./Collection.swift:587: warning: Line 587: Swift does not usually require 'self' references outside of closures | |
./Collection.swift:589: warning: Line 589: Swift does not usually require 'self' references outside of closures | |
./Collection.swift:591: warning: Line 591: Swift does not usually require 'self' references outside of closures | |
./Collection.swift:604: warning: Line 604: leave spaces around the -> return token | |
./Collection.swift:642: warning: Line 642 uses a space before a colon | |
./Collection.swift:643: warning: Line 643 is broken | |
// FIXME: should be constrained to MutableCollectionType | |
./Collection.swift:646: warning: Line 646 uses a space before a colon | |
./Collection.swift:676: warning: Line 676 is broken | |
// FIXME: the signature should use UnsafeMutableBufferPointer, but the | |
./Collection.swift:705: warning: Line 705 uses a space before a colon | |
./Collection.swift:706: warning: Line 706 uses a space before a colon | |
./Collection.swift:714: warning: Line 714 is broken | |
// FIXME(performance): can we use | |
./Collection.swift:746: warning: Line 746 uses a space before a colon | |
./Collection.swift:756: warning: Line 756 uses a space before a colon | |
./Collection.swift:757: warning: Line 757 uses a space before a colon | |
./Collection.swift:758: warning: Line 758 uses a space before a colon | |
./Collection.swift:768: warning: Line 768 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Collection.swift:768: note: Line 768: CAUTION: Possible constructor pattern may not require inferred prefix | |
return indices.next().map { seq[$0] } | |
./Collection.swift:776: warning: Line 776: Swift does not usually require 'self' references for assignments | |
./Collection.swift:777: note: Line 777: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
self.indices = indices.generate() | |
./Collection.swift:787: warning: Line 787 uses a space before a colon | |
./Collection.swift:791: warning: Line 791 includes trailing whitespace characters | |
./Collection.swift:792: warning: Line 792 uses a space before a colon | |
./Collection.swift:798: warning: Line 798 uses a space before a colon | |
./Collection.swift:805: warning: Line 805 uses a space before a colon | |
./Collection.swift:811: warning: Line 811 uses a space before a colon | |
./Collection.swift:0: warning: File Collection.swift should have a single trailing newline | |
43 warnings, 3 cautions for Collection.swift | |
Checking 'CollectionOfOne.swift' | |
./CollectionOfOne.swift:14: warning: Line 14 uses a space before a colon | |
./CollectionOfOne.swift:21: warning: Line 21: Swift does not usually require 'self' references for assignments | |
./CollectionOfOne.swift:39: warning: Line 39 uses a space before a colon | |
./CollectionOfOne.swift:0: warning: File CollectionOfOne.swift should have a single trailing newline | |
4 warnings, 0 cautions for CollectionOfOne.swift | |
Checking 'CompilerProtocols.swift' | |
./CompilerProtocols.swift:41: warning: Line 41 Many rawValue initializers can now be replaced with option set initialization | |
./CompilerProtocols.swift:46: warning: Line 46 Many rawValue initializers can now be replaced with option set initialization | |
./CompilerProtocols.swift:52: warning: Line 52 uses a space before a colon | |
./CompilerProtocols.swift:60: warning: Line 60 uses a space before a colon | |
./CompilerProtocols.swift:70: warning: Line 70 uses a space before a colon | |
./CompilerProtocols.swift:87: warning: Line 87 uses a space before a colon | |
./CompilerProtocols.swift:98: warning: Line 98 uses a space before a colon | |
./CompilerProtocols.swift:110: warning: Line 110 uses a space before a colon | |
./CompilerProtocols.swift:122: warning: Line 122 uses a space before a colon | |
./CompilerProtocols.swift:128: warning: Line 128 uses a space before a colon | |
./CompilerProtocols.swift:139: warning: Line 139 uses a space before a colon | |
./CompilerProtocols.swift:142: warning: Line 142 uses a space before a colon | |
./CompilerProtocols.swift:148: warning: Line 148 uses a space before a colon | |
./CompilerProtocols.swift:157: warning: Line 157 uses a space before a colon | |
./CompilerProtocols.swift:166: warning: Line 166 uses a space before a colon | |
./CompilerProtocols.swift:167: warning: Line 167 is broken | |
// FIXME: when we have default function implementations in protocols, provide | |
./CompilerProtocols.swift:170: warning: Line 170 uses a space before a colon | |
17 warnings, 0 cautions for CompilerProtocols.swift | |
Checking 'ContiguousArrayBuffer.swift' | |
./ContiguousArrayBuffer.swift:22: warning: Line 22 uses a space before a colon | |
./ContiguousArrayBuffer.swift:64: warning: Line 64 uses a space before a colon | |
./ContiguousArrayBuffer.swift:69: warning: Line 69 is broken | |
// FIXME: This whole class is a workaround for | |
./ContiguousArrayBuffer.swift:74: warning: Line 74 uses a space before a colon | |
./ContiguousArrayBuffer.swift:83: warning: Line 83: Swift does not usually require 'self' references outside of closures | |
./ContiguousArrayBuffer.swift:101: warning: Line 101 uses a space before a colon | |
./ContiguousArrayBuffer.swift:148: warning: Line 148: Avoid semantically meaningless iterator names (i, j) | |
./ContiguousArrayBuffer.swift:167: warning: Line 167 is broken | |
// FIXME: Dynamic casts don't currently work without objc. | |
./ContiguousArrayBuffer.swift:182: warning: Line 182 uses a space before a colon | |
./ContiguousArrayBuffer.swift:187: warning: Line 187 uses a space before a colon | |
./ContiguousArrayBuffer.swift:195: warning: Line 195: avoid type-based constructors and prefer [] or [:] initialization instead | |
./ContiguousArrayBuffer.swift:197: warning: Line 197 Else case does not follow colinear 1TBS standard. | |
./ContiguousArrayBuffer.swift:247: warning: Line 247 uses a space before a colon | |
./ContiguousArrayBuffer.swift:252: warning: Line 252 uses a space before a colon | |
./ContiguousArrayBuffer.swift:297: warning: Line 297 uses egregious Allman pattern. Welcome to Swift. | |
./ContiguousArrayBuffer.swift:336: warning: Line 336 is broken | |
// FIXME: Manually swap because it makes the ARC optimizer happy. See | |
./ContiguousArrayBuffer.swift:340: warning: Line 340: Avoid semantically meaningless names like temp, tmp, returnValue | |
./ContiguousArrayBuffer.swift:342: warning: Line 342: Avoid semantically meaningless names like temp, tmp, returnValue | |
./ContiguousArrayBuffer.swift:365: warning: Line 365 uses a space before a colon | |
./ContiguousArrayBuffer.swift:419: note: Line 419 : NOTE: this does not mean | |
/// uniquely-referenced or pinned. NOTE: this does not mean | |
./ContiguousArrayBuffer.swift:503: warning: Line 503 uses a space before a colon | |
./ContiguousArrayBuffer.swift:512: warning: Line 512 Else case does not follow colinear 1TBS standard. | |
./ContiguousArrayBuffer.swift:525: warning: Line 525 uses a space before a colon | |
./ContiguousArrayBuffer.swift:551: warning: Line 551 uses a space before a colon | |
./ContiguousArrayBuffer.swift:560: warning: Line 560 is broken | |
// FIXME(performance): use _initializeTo(). | |
./ContiguousArrayBuffer.swift:564: note: Line 564: CAUTION: Possible constructor pattern may not require inferred prefix | |
builder.addWithExistingCapacity(generator.next()!) | |
./ContiguousArrayBuffer.swift:572: note: Line 572: CAUTION: Possible constructor pattern may not require inferred prefix | |
return builder.finish() | |
./ContiguousArrayBuffer.swift:598: warning: Line 598 uses a space before a colon | |
./ContiguousArrayBuffer.swift:600: warning: Line 600 uses egregious Allman pattern. Welcome to Swift. | |
./ContiguousArrayBuffer.swift:612: warning: Line 612: Avoid semantically meaningless iterator names (i, j) | |
./ContiguousArrayBuffer.swift:614: warning: Line 614 is broken | |
// FIXME(performance): use _initializeTo(). | |
./ContiguousArrayBuffer.swift:700: warning: Line 700: avoid type-based constructors and prefer [] or [:] initialization instead | |
29 warnings, 2 cautions for ContiguousArrayBuffer.swift | |
Checking 'CString.swift' | |
./CString.swift:63: warning: Line 63: Avoid semantically meaningless iterator names (i, j) | |
./CString.swift:64: warning: Line 64 is broken | |
// FIXME: this will not compile on platforms where 'CChar' is unsigned. | |
2 warnings, 0 cautions for CString.swift | |
Checking 'CTypes.swift' | |
./CTypes.swift:57: warning: Line 57 is broken | |
// FIXME: long double | |
./CTypes.swift:59: warning: Line 59 is broken | |
// FIXME: Is it actually UTF-32 on Darwin? | |
./CTypes.swift:64: warning: Line 64 is broken | |
// FIXME: Swift should probably have a UTF-16 type other than UInt16. | |
./CTypes.swift:79: warning: Line 79 uses a space before a colon | |
./CTypes.swift:80: warning: Line 80 Many rawValue initializers can now be replaced with option set initialization | |
./CTypes.swift:112: warning: Line 112: Swift does not usually require 'self' references for assignments | |
./CTypes.swift:118: warning: Line 118: Swift does not usually require 'self' references for assignments | |
./CTypes.swift:123: warning: Line 123 uses a space before a colon | |
./CTypes.swift:145: warning: Line 145 uses a space before a colon | |
./CTypes.swift:174: warning: Line 174 uses a space before a colon | |
10 warnings, 0 cautions for CTypes.swift | |
Checking 'EmptyCollection.swift' | |
./EmptyCollection.swift:23: warning: Line 23 uses a space before a colon | |
./EmptyCollection.swift:37: warning: Line 37 uses a space before a colon | |
./EmptyCollection.swift:0: warning: File EmptyCollection.swift should have a single trailing newline | |
3 warnings, 0 cautions for EmptyCollection.swift | |
Checking 'ErrorType.swift' | |
./ErrorType.swift:14: warning: Line 14 needs addressing | |
// TODO: API review | |
./ErrorType.swift:22: warning: Line 22: Swift does not usually require 'self' references outside of closures | |
./ErrorType.swift:31: warning: Line 31 uses a space before a colon | |
./ErrorType.swift:38: warning: Line 38 uses a space before a colon | |
4 warnings, 0 cautions for ErrorType.swift | |
Checking 'Existential.swift' | |
./Existential.swift:14: warning: Line 14 is broken | |
// FIXME: Workaround for inability to create existentials of protocols | |
./Existential.swift:30: warning: Line 30 uses a space before a colon | |
./Existential.swift:31: warning: Line 31 uses a space before a colon | |
./Existential.swift:33: warning: Line 33: leave spaces around the -> return token | |
./Existential.swift:46: warning: Line 46: Swift does not usually require 'self' references outside of closures | |
./Existential.swift:48: warning: Line 48: Swift does not usually require 'self' references outside of closures | |
./Existential.swift:61: warning: Line 61: leave spaces around the -> return token | |
./Existential.swift:64: warning: Line 64: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Existential.swift:64: warning: Line 64: Prefer Void as a return type over () | |
./Existential.swift:64: warning: Line 64 parens after return token are not required except for tuples | |
./Existential.swift:0: warning: File Existential.swift should have a single trailing newline | |
11 warnings, 0 cautions for Existential.swift | |
Checking 'Filter.swift' | |
./Filter.swift:19: warning: Line 19 uses a space before a colon | |
./Filter.swift:20: warning: Line 20 uses a space before a colon | |
./Filter.swift:41: warning: Line 41: leave spaces around the -> return token | |
./Filter.swift:43: warning: Line 43: Swift does not usually require 'self' references for assignments | |
./Filter.swift:44: warning: Line 44: Swift does not usually require 'self' references for assignments | |
./Filter.swift:54: warning: Line 54: leave spaces around the -> return token | |
./Filter.swift:62: warning: Line 62 uses a space before a colon | |
./Filter.swift:63: warning: Line 63 uses a space before a colon | |
./Filter.swift:77: warning: Line 77: leave spaces around the -> return token | |
./Filter.swift:80: warning: Line 80: Swift does not usually require 'self' references for assignments | |
./Filter.swift:88: warning: Line 88: leave spaces around the -> return token | |
./Filter.swift:104: warning: Line 104 uses a space before a colon | |
./Filter.swift:116: note: Line 116: CAUTION: Possible constructor pattern may not require inferred prefix | |
for p in base.successor()..<_baseElements.endIndex { | |
./Filter.swift:134: warning: Line 134: leave spaces around the -> return token | |
./Filter.swift:142: warning: Line 142 uses a space before a colon | |
./Filter.swift:159: warning: Line 159 uses a space before a colon | |
./Filter.swift:160: warning: Line 160 uses a space before a colon | |
./Filter.swift:172: warning: Line 172: leave spaces around the -> return token | |
./Filter.swift:174: warning: Line 174: Swift does not usually require 'self' references for assignments | |
./Filter.swift:175: warning: Line 175: Swift does not usually require 'self' references for assignments | |
./Filter.swift:188: warning: Line 188: Swift cases do not implicitly fall through. | |
./Filter.swift:225: warning: Line 225: leave spaces around the -> return token | |
./Filter.swift:237: warning: Line 237: leave spaces around the -> return token | |
./Filter.swift:240: warning: Line 240: Swift does not usually require 'self' references outside of closures | |
./Filter.swift:253: warning: Line 253: leave spaces around the -> return token | |
./Filter.swift:256: warning: Line 256: Swift does not usually require 'self' references outside of closures | |
./Filter.swift:263: warning: Line 263 uses a space before a colon | |
./Filter.swift:270: warning: Line 270 uses a space before a colon | |
./Filter.swift:276: warning: Line 276 uses a space before a colon | |
28 warnings, 1 cautions for Filter.swift | |
Checking 'FlatMap.swift' | |
./FlatMap.swift:22: warning: Line 22: leave spaces around the -> return token | |
./FlatMap.swift:25: warning: Line 25: Swift does not usually require 'self' references outside of closures | |
./FlatMap.swift:38: warning: Line 38: leave spaces around the -> return token | |
./FlatMap.swift:43: warning: Line 43: Swift does not usually require 'self' references outside of closures | |
./FlatMap.swift:47: warning: Line 47 uses a space before a colon | |
./FlatMap.swift:48: warning: Line 48 uses egregious Allman pattern. Welcome to Swift. | |
./FlatMap.swift:58: warning: Line 58 uses a space before a colon | |
./FlatMap.swift:60: warning: Line 60: leave spaces around the -> return token | |
./FlatMap.swift:65: warning: Line 65: Swift does not usually require 'self' references outside of closures | |
9 warnings, 0 cautions for FlatMap.swift | |
Checking 'Hashing.swift' | |
./Hashing.swift:32: warning: Line 32 uses inelegant problem solving | |
// HACK: the variable itself is defined in C++ code so that it is | |
./Hashing.swift:45: warning: Line 45 is broken | |
// FIXME: This needs to be a per-execution seed. This is just a placeholder | |
./Hashing.swift:80: note: Line 80 : NOTE: this differs from LLVM's implementation, which selects the lower | |
// NOTE: this differs from LLVM's implementation, which selects the lower | |
./Hashing.swift:0: warning: File Hashing.swift should have a single trailing newline | |
3 warnings, 0 cautions for Hashing.swift | |
Checking 'HeapBuffer.swift' | |
./HeapBuffer.swift:41: warning: Line 41 uses a space before a colon | |
./HeapBuffer.swift:59: warning: Line 59 uses a space before a colon | |
./HeapBuffer.swift:69: warning: Line 69 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./HeapBuffer.swift:96: warning: Line 96: Swift does not usually require 'self' references outside of closures | |
./HeapBuffer.swift:132: warning: Line 132: Swift does not usually require 'self' references for assignments | |
./HeapBuffer.swift:137: warning: Line 137: Swift does not usually require 'self' references for assignments | |
./HeapBuffer.swift:145: warning: Line 145: Swift does not usually require 'self' references for assignments | |
./HeapBuffer.swift:148: warning: Line 148 uses a space before a colon | |
./HeapBuffer.swift:149: warning: Line 149 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./HeapBuffer.swift:153: warning: Line 153: Swift does not usually require 'self' references for assignments | |
./HeapBuffer.swift:175: warning: Line 175: Swift does not usually require 'self' references for assignments | |
./HeapBuffer.swift:176: warning: Line 176: Swift does not usually require 'self' references outside of closures | |
./HeapBuffer.swift:180: warning: Line 180 uses a space before a colon | |
./HeapBuffer.swift:0: warning: File HeapBuffer.swift should have a single trailing newline | |
14 warnings, 0 cautions for HeapBuffer.swift | |
Checking 'ImplicitlyUnwrappedOptional.swift' | |
./ImplicitlyUnwrappedOptional.swift:20: warning: Line 20 uses a space before a colon | |
./ImplicitlyUnwrappedOptional.swift:77: warning: Line 77 is broken | |
// FIXME: This should probably use _OptionalMirror in both cases. | |
./ImplicitlyUnwrappedOptional.swift:86: warning: Line 86 uses a space before a colon | |
./ImplicitlyUnwrappedOptional.swift:116: warning: Line 116: Forced unwrapping is unsafe. Use let to conditionally unwrap where possible. | |
./ImplicitlyUnwrappedOptional.swift:123: warning: Line 123: Forced unwrapping is unsafe. Use let to conditionally unwrap where possible. | |
./ImplicitlyUnwrappedOptional.swift:128: warning: Line 128 uses a space before a colon | |
./ImplicitlyUnwrappedOptional.swift:136: warning: Line 136: Avoid semantically meaningless names like temp, tmp, returnValue | |
7 warnings, 0 cautions for ImplicitlyUnwrappedOptional.swift | |
Checking 'Index.swift' | |
./Index.swift:23: warning: Line 23 uses a space before a colon | |
./Index.swift:28: warning: Line 28 uses a space before a colon | |
./Index.swift:33: warning: Line 33 uses a space before a colon | |
./Index.swift:45: warning: Line 45 uses a space before a colon | |
./Index.swift:58: note: Line 58: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
public mutating func _successorInPlace() { self = self.successor() } | |
./Index.swift:76: warning: Line 76 uses a space before a colon | |
./Index.swift:84: warning: Line 84 uses a space before a colon | |
./Index.swift:93: warning: Line 93 uses a space before a colon | |
./Index.swift:99: warning: Line 99 uses a space before a colon | |
./Index.swift:146: warning: Line 146 is broken | |
// FIXME: the suffix `2` in the name, and passing `startIndex` and `endIndex` | |
./Index.swift:217: warning: Line 217: Prefer for-in or forEach over C-style loops | |
./Index.swift:230: warning: Line 230: Prefer for-in or forEach over C-style loops | |
./Index.swift:238: warning: Line 238: Swift does not usually require 'self' references outside of closures | |
./Index.swift:243: warning: Line 243: Swift does not usually require 'self' references outside of closures | |
./Index.swift:264: warning: Line 264 uses a space before a colon | |
./Index.swift:282: note: Line 282: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
self = self.predecessor() | |
./Index.swift:282: warning: Line 282: Swift does not usually require 'self' references outside of closures | |
./Index.swift:291: warning: Line 291: Prefer for-in or forEach over C-style loops | |
./Index.swift:303: warning: Line 303: Prefer for-in or forEach over C-style loops | |
./Index.swift:313: warning: Line 313 uses a space before a colon | |
./Index.swift:322: warning: Line 322 uses a space before a colon | |
./Index.swift:334: warning: Line 334 uses a space before a colon | |
./Index.swift:346: warning: Line 346 uses a space before a colon | |
./Index.swift:392: warning: Line 392: Swift does not usually require 'self' references outside of closures | |
./Index.swift:396: warning: Line 396: Swift does not usually require 'self' references outside of closures | |
23 warnings, 2 cautions for Index.swift | |
Checking 'InputStream.swift' | |
./InputStream.swift:37: warning: Line 37 is broken | |
// FIXME: Unicode conformance. To fix this, we need to reimplement the | |
./InputStream.swift:52: warning: Line 52: Swift cases do not implicitly fall through. | |
./InputStream.swift:55: warning: Line 55: Swift cases do not implicitly fall through. | |
./InputStream.swift:0: warning: File InputStream.swift should have a single trailing newline | |
4 warnings, 0 cautions for InputStream.swift | |
Checking 'Join.swift' | |
./Join.swift:23: warning: Line 23 uses a space before a colon | |
./Join.swift:24: warning: Line 24 uses a space before a colon | |
./Join.swift:31: warning: Line 31 uses a space before a colon | |
./Join.swift:35: warning: Line 35: Swift does not usually require 'self' references for assignments | |
./Join.swift:36: warning: Line 36: Swift does not usually require 'self' references for assignments | |
./Join.swift:46: note: Line 46: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
_inner = nextSubSequence.generate() | |
./Join.swift:99: warning: Line 99 uses a space before a colon | |
./Join.swift:100: warning: Line 100 uses a space before a colon | |
./Join.swift:107: warning: Line 107 uses a space before a colon | |
./Join.swift:112: warning: Line 112: Swift does not usually require 'self' references for assignments | |
./Join.swift:113: warning: Line 113: Swift does not usually require 'self' references for assignments | |
./Join.swift:127: warning: Line 127: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Join.swift:134: note: Line 134: CAUTION: Possible constructor pattern may not require inferred prefix | |
r += separatorSize + chunk.underestimateCount() | |
./Join.swift:166: warning: Line 166 uses a space before a colon | |
./Join.swift:175: warning: Line 175 uses a space before a colon | |
./Join.swift:185: warning: Line 185 uses a space before a colon | |
./Join.swift:0: warning: File Join.swift should have a single trailing newline | |
15 warnings, 2 cautions for Join.swift | |
Checking 'LazyCollection.swift' | |
./LazyCollection.swift:25: warning: Line 25 uses a space before a colon | |
./LazyCollection.swift:46: warning: Line 46 uses a space before a colon | |
./LazyCollection.swift:47: warning: Line 47 uses a space before a colon | |
./LazyCollection.swift:64: warning: Line 64: Swift does not usually require 'self' references for assignments | |
./LazyCollection.swift:72: warning: Line 72 uses a space before a colon | |
./LazyCollection.swift:85: warning: Line 85 includes trailing whitespace characters | |
./LazyCollection.swift:98: warning: Line 98 includes trailing whitespace characters | |
./LazyCollection.swift:103: warning: Line 103 uses a space before a colon | |
./LazyCollection.swift:191: warning: Line 191 uses a space before a colon | |
9 warnings, 0 cautions for LazyCollection.swift | |
Checking 'LazySequence.swift' | |
./LazySequence.swift:130: warning: Line 130 uses a space before a colon | |
./LazySequence.swift:149: warning: Line 149 includes trailing whitespace characters | |
./LazySequence.swift:171: warning: Line 171 uses a space before a colon | |
./LazySequence.swift:172: warning: Line 172 uses a space before a colon | |
./LazySequence.swift:178: warning: Line 178: Swift does not usually require 'self' references for assignments | |
./LazySequence.swift:211: warning: Line 211 uses a space before a colon | |
./LazySequence.swift:0: warning: File LazySequence.swift should have a single trailing newline | |
7 warnings, 0 cautions for LazySequence.swift | |
Checking 'LifetimeManager.swift' | |
./LifetimeManager.swift:39: warning: Line 39: Swift does not usually require 'self' references outside of closures | |
./LifetimeManager.swift:59: warning: Line 59 uses egregious Allman pattern. Welcome to Swift. | |
./LifetimeManager.swift:100: warning: Line 100 uses egregious Allman pattern. Welcome to Swift. | |
3 warnings, 0 cautions for LifetimeManager.swift | |
Checking 'ManagedBuffer.swift' | |
./ManagedBuffer.swift:31: warning: Line 31 uses a space before a colon | |
./ManagedBuffer.swift:48: warning: Line 48: leave spaces around the -> return token | |
./ManagedBuffer.swift:59: warning: Line 59: leave spaces around the -> return token | |
./ManagedBuffer.swift:70: warning: Line 70: leave spaces around the -> return token | |
./ManagedBuffer.swift:95: warning: Line 95 uses a space before a colon | |
./ManagedBuffer.swift:102: warning: Line 102: leave spaces around the -> return token | |
./ManagedBuffer.swift:164: warning: Line 164 uses a space before a colon | |
./ManagedBuffer.swift:184: warning: Line 184: leave spaces around the -> return token | |
./ManagedBuffer.swift:192: warning: Line 192: Swift does not usually require 'self' references outside of closures | |
./ManagedBuffer.swift:197: warning: Line 197 is broken | |
// FIXME: workaround for <rdar://problem/18619176>. If we don't | |
./ManagedBuffer.swift:210: warning: Line 210: Swift does not usually require 'self' references for assignments | |
./ManagedBuffer.swift:223: warning: Line 223: Swift does not usually require 'self' references for assignments | |
./ManagedBuffer.swift:256: warning: Line 256: leave spaces around the -> return token | |
./ManagedBuffer.swift:267: warning: Line 267: leave spaces around the -> return token | |
./ManagedBuffer.swift:278: warning: Line 278: leave spaces around the -> return token | |
./ManagedBuffer.swift:343: warning: Line 343: Swift does not usually require 'self' references for assignments | |
./ManagedBuffer.swift:442: warning: Line 442 is broken | |
// FIXME: when our calling convention changes to pass self at +0, | |
./ManagedBuffer.swift:468: warning: Line 468 uses a space before a colon | |
./ManagedBuffer.swift:469: warning: Line 469 uses egregious Allman pattern. Welcome to Swift. | |
./ManagedBuffer.swift:473: warning: Line 473 uses a space before a colon | |
./ManagedBuffer.swift:499: warning: Line 499 uses a space before a colon | |
./ManagedBuffer.swift:528: warning: Line 528 uses a space before a colon | |
22 warnings, 0 cautions for ManagedBuffer.swift | |
Checking 'Map.swift' | |
./Map.swift:17: warning: Line 17 uses a space before a colon | |
./Map.swift:18: warning: Line 18 uses a space before a colon | |
./Map.swift:35: warning: Line 35: leave spaces around the -> return token | |
./Map.swift:42: warning: Line 42 uses a space before a colon | |
./Map.swift:43: warning: Line 43 uses a space before a colon | |
./Map.swift:64: warning: Line 64: leave spaces around the -> return token | |
./Map.swift:65: warning: Line 65: Swift does not usually require 'self' references for assignments | |
./Map.swift:66: warning: Line 66: Swift does not usually require 'self' references for assignments | |
./Map.swift:70: warning: Line 70: leave spaces around the -> return token | |
./Map.swift:82: warning: Line 82 uses a space before a colon | |
./Map.swift:83: warning: Line 83 uses a space before a colon | |
./Map.swift:85: warning: Line 85 is broken | |
// FIXME: Should be inferrable. | |
./Map.swift:126: warning: Line 126: leave spaces around the -> return token | |
./Map.swift:127: warning: Line 127: Swift does not usually require 'self' references for assignments | |
./Map.swift:128: warning: Line 128: Swift does not usually require 'self' references for assignments | |
./Map.swift:132: warning: Line 132: leave spaces around the -> return token | |
./Map.swift:148: warning: Line 148: Swift does not usually require 'self' references outside of closures | |
./Map.swift:160: warning: Line 160: Swift does not usually require 'self' references outside of closures | |
./Map.swift:167: warning: Line 167 uses a space before a colon | |
./Map.swift:176: warning: Line 176 uses a space before a colon | |
./Map.swift:183: warning: Line 183 uses a space before a colon | |
./Map.swift:186: warning: Line 186 uses a space before a colon | |
./Map.swift:189: warning: Line 189 uses a space before a colon | |
23 warnings, 0 cautions for Map.swift | |
Checking 'Mirror.swift' | |
./Mirror.swift:12: warning: Line 12 is broken | |
// FIXME: ExistentialCollection needs to be supported before this will work | |
./Mirror.swift:86: warning: Line 86: leave spaces around the -> return token | |
./Mirror.swift:105: note: Line 105: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
self = customized.customMirror() | |
./Mirror.swift:172: warning: Line 172: Prefer Void as a return type over () | |
./Mirror.swift:172: warning: Line 172 parens after return token are not required except for tuples | |
./Mirror.swift:180: warning: Line 180 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Mirror.swift:180: warning: Line 180: Swift does not usually require 'self' references outside of closures | |
./Mirror.swift:222: warning: Line 222: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:223: warning: Line 223: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:226: warning: Line 226: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:228: warning: Line 228: Swift does not usually require 'self' references outside of closures | |
./Mirror.swift:270: warning: Line 270: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:271: warning: Line 271: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:274: warning: Line 274: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:275: warning: Line 275 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Mirror.swift:278: warning: Line 278: Swift does not usually require 'self' references outside of closures | |
./Mirror.swift:311: warning: Line 311: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:312: warning: Line 312: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:315: warning: Line 315 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Mirror.swift:316: warning: Line 316: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:319: warning: Line 319: Swift does not usually require 'self' references outside of closures | |
./Mirror.swift:341: warning: Line 341: leave spaces around the -> return token | |
./Mirror.swift:363: warning: Line 363 uses a space before a colon | |
./Mirror.swift:373: warning: Line 373 uses a space before a colon | |
./Mirror.swift:374: warning: Line 374 uses a space before a colon | |
./Mirror.swift:375: warning: Line 375 uses a space before a colon | |
./Mirror.swift:378: warning: Line 378 uses a space before a colon | |
./Mirror.swift:427: warning: Line 427 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:431: warning: Line 431 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:474: warning: Line 474: Swift does not usually require 'self' references outside of closures | |
./Mirror.swift:497: warning: Line 497 uses a space before a colon | |
./Mirror.swift:499: warning: Line 499: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:533: warning: Line 533 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:541: warning: Line 541 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Mirror.swift:546: note: Line 546: CAUTION: Possible constructor pattern may not require inferred prefix | |
legacy: legacyMirror._superMirror()) | |
./Mirror.swift:555: warning: Line 555: leave spaces around the -> return token | |
./Mirror.swift:558: warning: Line 558: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:560: warning: Line 560 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:561: warning: Line 561: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:562: warning: Line 562 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Mirror.swift:566: warning: Line 566 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:567: warning: Line 567: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:570: warning: Line 570: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:571: warning: Line 571: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:572: warning: Line 572: Swift does not usually require 'self' references for assignments | |
./Mirror.swift:604: warning: Line 604 is broken | |
// FIXME: Uses an Any to avoid coupling a particular Cocoa type. | |
./Mirror.swift:608: warning: Line 608 is broken | |
// FIXME: Uses an Any to avoid coupling a particular Cocoa type. | |
./Mirror.swift:612: warning: Line 612 is broken | |
// FIXME: Uses an Any to avoid coupling a particular Cocoa type. | |
./Mirror.swift:616: warning: Line 616 is broken | |
// FIXME: Uses an Any to avoid coupling a particular Cocoa type. | |
./Mirror.swift:620: warning: Line 620 is broken | |
// FIXME: Uses an Any to avoid coupling a particular Cocoa type. | |
./Mirror.swift:680: note: Line 680: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
self = customized.customPlaygroundQuickLook() | |
./Mirror.swift:682: warning: Line 682 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:686: warning: Line 686 Else case does not follow colinear 1TBS standard. | |
./Mirror.swift:732: warning: Line 732 uses a space before a colon | |
./Mirror.swift:742: warning: Line 742 uses a space before a colon | |
./Mirror.swift:759: warning: Line 759 is broken | |
// FIXME: a typealias is needed to prevent <rdar://20248032> | |
./Mirror.swift:813: warning: Line 813 uses a space before a colon | |
./Mirror.swift:819: warning: Line 819 uses a space before a colon | |
./Mirror.swift:0: warning: File Mirror.swift should have a single trailing newline | |
56 warnings, 3 cautions for Mirror.swift | |
Checking 'Misc.swift' | |
./Misc.swift:15: warning: Line 15 is broken | |
// FIXME: Once we have an FFI interface, make these have proper function bodies | |
./Misc.swift:121: warning: Line 121 needs addressing | |
/// TODO: Implement version working on Int instead of Int64. | |
./Misc.swift:0: warning: File Misc.swift should have a single trailing newline | |
3 warnings, 0 cautions for Misc.swift | |
Checking 'ObjCMirrors.swift' | |
./ObjCMirrors.swift:16: warning: Line 16 includes trailing whitespace characters | |
./ObjCMirrors.swift:18: warning: Line 18 includes trailing whitespace characters | |
./ObjCMirrors.swift:22: note: Line 22: CAUTION: Possible constructor pattern may not require inferred prefix | |
let theDescription = _swift_stdlib_objcDebugDescription(data._loadValue()) | |
./ObjCMirrors.swift:27: warning: Line 27 uses a space before a colon | |
./ObjCMirrors.swift:33: note: Line 33: CAUTION: Possible constructor pattern may not require inferred prefix | |
return data._loadValue() as ObjectIdentifier | |
./ObjCMirrors.swift:51: warning: Line 51 uses a space before a colon | |
4 warnings, 2 cautions for ObjCMirrors.swift | |
Checking 'Optional.swift' | |
./Optional.swift:15: warning: Line 15 uses a space before a colon | |
./Optional.swift:65: warning: Line 65 uses a space before a colon | |
./Optional.swift:89: warning: Line 89: leave spaces around the -> return token | |
./Optional.swift:96: warning: Line 96: leave spaces around the -> return token | |
./Optional.swift:152: warning: Line 152 uses a space before a colon | |
./Optional.swift:158: warning: Line 158 uses a space before a colon | |
./Optional.swift:217: warning: Line 217 uses a space before a colon | |
./Optional.swift:218: warning: Line 218 uses a space before a colon | |
./Optional.swift:220: warning: Line 220 uses a space before a colon | |
./Optional.swift:234: warning: Line 234 uses a space before a colon | |
./Optional.swift:253: warning: Line 253 uses a space before a colon | |
./Optional.swift:265: warning: Line 265 uses a space before a colon | |
./Optional.swift:275: warning: Line 275 uses a space before a colon | |
./Optional.swift:285: warning: Line 285 uses a space before a colon | |
14 warnings, 0 cautions for Optional.swift | |
Checking 'OptionSet.swift' | |
./OptionSet.swift:31: warning: Line 31 uses a space before a colon | |
./OptionSet.swift:39: warning: Line 39 is broken | |
// FIXME: This initializer should just be the failable init from | |
./OptionSet.swift:48: warning: Line 48 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:62: warning: Line 62 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:62: warning: Line 62: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:70: warning: Line 70 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:70: warning: Line 70: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:79: warning: Line 79 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:79: warning: Line 79: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:97: warning: Line 97: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:105: warning: Line 105: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:114: warning: Line 114: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:131: warning: Line 131 uses a space before a colon | |
./OptionSet.swift:136: warning: Line 136 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:144: warning: Line 144 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:144: warning: Line 144: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:153: warning: Line 153 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:153: warning: Line 153: Swift does not usually require 'self' references outside of closures | |
./OptionSet.swift:161: warning: Line 161 Many rawValue initializers can now be replaced with option set initialization | |
./OptionSet.swift:161: warning: Line 161: Swift does not usually require 'self' references outside of closures | |
20 warnings, 0 cautions for OptionSet.swift | |
Checking 'OutputStream.swift' | |
./OutputStream.swift:39: warning: Line 39 uses a space before a colon | |
./OutputStream.swift:86: warning: Line 86 uses a space before a colon | |
./OutputStream.swift:101: warning: Line 101: Avoid semantically meaningless iterator names (i, j) | |
./OutputStream.swift:117: warning: Line 117: Avoid semantically meaningless iterator names (i, j) | |
./OutputStream.swift:156: warning: Line 156: Forced casts are generally unsafe | |
./OutputStream.swift:165: warning: Line 165 uses a space before a colon | |
./OutputStream.swift:194: warning: Line 194 uses a space before a colon | |
./OutputStream.swift:201: warning: Line 201 uses a space before a colon | |
./OutputStream.swift:210: warning: Line 210 uses a space before a colon | |
./OutputStream.swift:235: warning: Line 235 uses a space before a colon | |
./OutputStream.swift:245: warning: Line 245 is broken | |
// FIXME: buffering? | |
./OutputStream.swift:254: warning: Line 254 uses a space before a colon | |
./OutputStream.swift:265: warning: Line 265 uses a space before a colon | |
./OutputStream.swift:267: warning: Line 267 uses a space before a colon | |
./OutputStream.swift:272: warning: Line 272 uses a space before a colon | |
./OutputStream.swift:274: warning: Line 274 uses a space before a colon | |
./OutputStream.swift:279: warning: Line 279 uses a space before a colon | |
./OutputStream.swift:281: warning: Line 281 uses a space before a colon | |
./OutputStream.swift:296: warning: Line 296 uses a space before a colon | |
./OutputStream.swift:318: warning: Line 318 uses a space before a colon | |
./OutputStream.swift:336: warning: Line 336 uses a space before a colon | |
./OutputStream.swift:336: warning: Line 336: leave spaces around the -> return token | |
./OutputStream.swift:339: warning: Line 339 uses a space before a colon | |
./OutputStream.swift:339: warning: Line 339 includes trailing whitespace characters | |
./OutputStream.swift:340: warning: Line 340 uses a space before a colon | |
./OutputStream.swift:341: warning: Line 341 uses a space before a colon | |
./OutputStream.swift:347: warning: Line 347 Excessive content in single-line scope | |
./OutputStream.swift:347: warning: Line 347 uses egregious Allman pattern. Welcome to Swift. | |
./OutputStream.swift:349: warning: Line 349 Excessive content in single-line scope | |
./OutputStream.swift:349: note: Line 349: CAUTION: Possible constructor pattern may not require inferred prefix | |
mutating func _lock() { left._lock(); right._lock() } | |
./OutputStream.swift:350: warning: Line 350 Excessive content in single-line scope | |
./OutputStream.swift:350: note: Line 350: CAUTION: Possible constructor pattern may not require inferred prefix | |
mutating func _unlock() { left._unlock(); right._unlock() } | |
./OutputStream.swift:0: warning: File OutputStream.swift should have a single trailing newline | |
31 warnings, 2 cautions for OutputStream.swift | |
Checking 'Pointer.swift' | |
./Pointer.swift:18: warning: Line 18 Many rawValue initializers can now be replaced with option set initialization | |
./Pointer.swift:21: warning: Line 21 Many rawValue initializers can now be replaced with option set initialization | |
./Pointer.swift:53: warning: Line 53 needs addressing | |
// TODO: Putting a canary at the end of the array in checked builds might | |
./Pointer.swift:71: note: Line 71: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
let (owner, raw) = arr._cPointerArgs() | |
./Pointer.swift:86: note: Line 86: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
let (owner, raw) = utf8._cPointerArgs() | |
3 warnings, 2 cautions for Pointer.swift | |
Checking 'Policy.swift' | |
./Policy.swift:27: warning: Line 27 is broken | |
// FIXME: it should be the other way round, Float = Float32, Double = Float64, | |
./Policy.swift:109: warning: Line 109 uses a space before a colon | |
./Policy.swift:114: warning: Line 114 uses a space before a colon | |
./Policy.swift:119: warning: Line 119 is broken | |
// FIXME: AnyObject should have an alternate version for non-objc without | |
./Policy.swift:200: warning: Line 200 uses a space before a colon | |
./Policy.swift:209: warning: Line 209 uses a space before a colon | |
./Policy.swift:214: warning: Line 214 uses a space before a colon | |
./Policy.swift:219: warning: Line 219 uses a space before a colon | |
./Policy.swift:241: warning: Line 241 uses a space before a colon | |
./Policy.swift:302: warning: Line 302 uses a space before a colon | |
./Policy.swift:307: warning: Line 307 uses a space before a colon | |
./Policy.swift:312: warning: Line 312 uses a space before a colon | |
./Policy.swift:318: warning: Line 318 uses a space before a colon | |
./Policy.swift:330: warning: Line 330: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Policy.swift:330: warning: Line 330: Prefer Void as a return type over () | |
./Policy.swift:330: warning: Line 330 parens after return token are not required except for tuples | |
./Policy.swift:340: warning: Line 340 uses a space before a colon | |
./Policy.swift:360: warning: Line 360: Forced unwrapping is unsafe. Use let to conditionally unwrap where possible. | |
./Policy.swift:389: warning: Line 389 is broken | |
// FIXME: is this the right precedence level for "..." ? | |
./Policy.swift:410: warning: Line 410 is broken | |
// FIXME: ~= will be built into the compiler. | |
./Policy.swift:0: warning: File Policy.swift should have a single trailing newline | |
21 warnings, 0 cautions for Policy.swift | |
Checking 'Prespecialized.swift' | |
./Prespecialized.swift:19: warning: Line 19 uses a space before a colon | |
./Prespecialized.swift:56: warning: Line 56 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Prespecialized.swift:85: warning: Line 85: Avoid semantically meaningless iterator names (i, j) | |
3 warnings, 0 cautions for Prespecialized.swift | |
Checking 'Print.swift' | |
./Print.swift:37: warning: Line 37 Else case does not follow colinear 1TBS standard. | |
./Print.swift:67: warning: Line 67 Else case does not follow colinear 1TBS standard. | |
./Print.swift:168: warning: Line 168 is broken | |
//===--- FIXME: Not working due to <rdar://22101775> ----------------------===// | |
3 warnings, 0 cautions for Print.swift | |
Checking 'Process.swift' | |
./Process.swift:19: warning: Line 19 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./Process.swift:0: warning: File Process.swift should have a single trailing newline | |
2 warnings, 0 cautions for Process.swift | |
Checking 'Range.swift' | |
./Range.swift:15: warning: Line 15 uses a space before a colon | |
./Range.swift:16: warning: Line 16 uses a space before a colon | |
./Range.swift:24: warning: Line 24: Swift does not usually require 'self' references for assignments | |
./Range.swift:25: warning: Line 25: Swift does not usually require 'self' references for assignments | |
./Range.swift:74: warning: Line 74 uses a space before a colon | |
./Range.swift:75: warning: Line 75 uses a space before a colon | |
./Range.swift:93: warning: Line 93: Swift does not usually require 'self' references for assignments | |
./Range.swift:94: warning: Line 94: Swift does not usually require 'self' references for assignments | |
./Range.swift:160: warning: Line 160 uses a space before a colon | |
./Range.swift:168: warning: Line 168 uses a space before a colon | |
./Range.swift:171: note: Line 171: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Range(start: minimum, end: maximum.successor()) | |
./Range.swift:181: warning: Line 181 uses a space before a colon | |
./Range.swift:192: warning: Line 192 uses a space before a colon | |
./Range.swift:196: note: Line 196: CAUTION: Possible constructor pattern may not require inferred prefix | |
_precondition(end.successor() > end, "Range end index has no valid successor") | |
./Range.swift:197: note: Line 197: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Range(start: start, end: end.successor()) | |
./Range.swift:201: warning: Line 201 uses a space before a colon | |
./Range.swift:205: warning: Line 205 includes trailing whitespace characters | |
./Range.swift:0: warning: File Range.swift should have a single trailing newline | |
15 warnings, 3 cautions for Range.swift | |
Checking 'RangeReplaceableCollectionType.swift' | |
./RangeReplaceableCollectionType.swift:19: warning: Line 19 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:33: warning: Line 33 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:46: warning: Line 46 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:51: warning: Line 51 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:56: warning: Line 56 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:61: warning: Line 61 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:78: warning: Line 78 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:96: warning: Line 96 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:105: warning: Line 105 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:122: warning: Line 122 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:184: warning: Line 184 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:195: warning: Line 195 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:209: warning: Line 209 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:246: warning: Line 246 Else case does not follow colinear 1TBS standard. | |
./RangeReplaceableCollectionType.swift:293: warning: Line 293 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:310: warning: Line 310 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:320: note: Line 320: CAUTION: Possible constructor pattern may not require inferred prefix | |
return removeAtIndex(endIndex.predecessor()) | |
./RangeReplaceableCollectionType.swift:360: warning: Line 360 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:411: warning: Line 411 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:419: warning: Line 419 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:427: warning: Line 427 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:438: warning: Line 438 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:445: warning: Line 445 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:446: warning: Line 446 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:450: warning: Line 450 is broken | |
// FIXME: what if lhs is a reference type? This will mutate it. | |
./RangeReplaceableCollectionType.swift:457: warning: Line 457 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:458: warning: Line 458 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:462: note: Line 462: CAUTION: Possible constructor pattern may not require inferred prefix | |
result.reserveCapacity(rhs.count + numericCast(rhs.underestimateCount())) | |
./RangeReplaceableCollectionType.swift:470: warning: Line 470 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:471: warning: Line 471 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:475: warning: Line 475 is broken | |
// FIXME: what if lhs is a reference type? This will mutate it. | |
./RangeReplaceableCollectionType.swift:483: warning: Line 483 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:484: warning: Line 484 uses a space before a colon | |
./RangeReplaceableCollectionType.swift:484: warning: Line 484 includes trailing whitespace characters | |
./RangeReplaceableCollectionType.swift:488: warning: Line 488 is broken | |
// FIXME: what if lhs is a reference type? This will mutate it. | |
33 warnings, 2 cautions for RangeReplaceableCollectionType.swift | |
Checking 'Reflection.swift' | |
./Reflection.swift:30: warning: Line 30 uses a space before a colon | |
./Reflection.swift:40: warning: Line 40 is broken | |
// FIXME: Better hashing algorithm | |
./Reflection.swift:54: warning: Line 54: Swift does not usually require 'self' references for assignments | |
./Reflection.swift:59: warning: Line 59: Swift does not usually require 'self' references for assignments | |
./Reflection.swift:148: warning: Line 148 uses a space before a colon | |
./Reflection.swift:154: warning: Line 154 uses a space before a colon | |
./Reflection.swift:154: warning: Line 154: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Reflection.swift:171: warning: Line 171 uses a space before a colon | |
./Reflection.swift:174: warning: Line 174 uses a space before a colon | |
./Reflection.swift:206: warning: Line 206: Avoid semantically meaningless iterator names (i, j) | |
./Reflection.swift:239: warning: Line 239: Swift does not usually require 'self' references for assignments | |
./Reflection.swift:284: warning: Line 284: Swift does not usually require 'self' references outside of closures | |
./Reflection.swift:294: warning: Line 294 uses a space before a colon | |
./Reflection.swift:309: warning: Line 309 uses a space before a colon | |
./Reflection.swift:326: warning: Line 326 uses a space before a colon | |
./Reflection.swift:346: warning: Line 346 uses a space before a colon | |
./Reflection.swift:362: warning: Line 362: Swift does not usually require 'self' references outside of closures | |
./Reflection.swift:389: warning: Line 389 uses a space before a colon | |
./Reflection.swift:395: note: Line 395: CAUTION: Possible constructor pattern may not require inferred prefix | |
return data._loadValue() as ObjectIdentifier | |
./Reflection.swift:416: warning: Line 416 uses a space before a colon | |
./Reflection.swift:439: warning: Line 439 uses a space before a colon | |
./Reflection.swift:446: note: Line 446: CAUTION: Possible constructor pattern may not require inferred prefix | |
return data._loadValue() as ObjectIdentifier | |
./Reflection.swift:456: note: Line 456: CAUTION: Possible constructor pattern may not require inferred prefix | |
return _typeName(data._loadValue() as Any.Type) | |
./Reflection.swift:0: warning: File Reflection.swift should have a single trailing newline | |
21 warnings, 3 cautions for Reflection.swift | |
Checking 'Repeat.swift' | |
./Repeat.swift:14: warning: Line 14 uses a space before a colon | |
./Repeat.swift:0: warning: File Repeat.swift should have a single trailing newline | |
2 warnings, 0 cautions for Repeat.swift | |
Checking 'REPL.swift' | |
./REPL.swift:0: warning: File REPL.swift should have a single trailing newline | |
1 warnings, 0 cautions for REPL.swift | |
Checking 'Reverse.swift' | |
./Reverse.swift:13: warning: Line 13 uses a space before a colon | |
./Reverse.swift:14: warning: Line 14 uses a space before a colon | |
./Reverse.swift:32: warning: Line 32 uses a space before a colon | |
./Reverse.swift:37: note: Line 37: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Self(base.predecessor()) | |
./Reverse.swift:44: note: Line 44: CAUTION: Possible constructor pattern may not require inferred prefix | |
return Self(base.successor()) | |
./Reverse.swift:79: warning: Line 79 uses a space before a colon | |
./Reverse.swift:106: warning: Line 106 uses a space before a colon | |
./Reverse.swift:107: warning: Line 107 uses a space before a colon | |
./Reverse.swift:108: warning: Line 108 uses a space before a colon | |
./Reverse.swift:113: warning: Line 113 uses a space before a colon | |
./Reverse.swift:114: warning: Line 114 uses a space before a colon | |
./Reverse.swift:120: warning: Line 120 uses a space before a colon | |
./Reverse.swift:121: warning: Line 121 uses egregious Allman pattern. Welcome to Swift. | |
./Reverse.swift:122: warning: Line 122 uses a space before a colon | |
./Reverse.swift:123: warning: Line 123 uses a space before a colon | |
./Reverse.swift:146: warning: Line 146 uses a space before a colon | |
./Reverse.swift:147: warning: Line 147 uses a space before a colon | |
./Reverse.swift:153: warning: Line 153: Swift does not usually require 'self' references for assignments | |
./Reverse.swift:179: warning: Line 179 uses a space before a colon | |
./Reverse.swift:180: warning: Line 180 uses a space before a colon | |
./Reverse.swift:186: warning: Line 186: Swift does not usually require 'self' references for assignments | |
./Reverse.swift:207: warning: Line 207 uses a space before a colon | |
./Reverse.swift:217: warning: Line 217 uses a space before a colon | |
./Reverse.swift:228: warning: Line 228 uses a space before a colon | |
./Reverse.swift:241: warning: Line 241 uses a space before a colon | |
./Reverse.swift:264: warning: Line 264 uses a space before a colon | |
./Reverse.swift:269: warning: Line 269 uses a space before a colon | |
25 warnings, 2 cautions for Reverse.swift | |
Checking 'Sequence.swift' | |
./Sequence.swift:68: warning: Line 68 uses a space before a colon | |
./Sequence.swift:70: warning: Line 70 is broken | |
// FIXME: should be constrained to SequenceType | |
./Sequence.swift:192: warning: Line 192: leave spaces around the -> return token | |
./Sequence.swift:207: warning: Line 207 uses a space before a colon | |
./Sequence.swift:220: warning: Line 220 uses a space before a colon | |
./Sequence.swift:221: warning: Line 221 uses a space before a colon | |
./Sequence.swift:239: note: Line 239: CAUTION: Possible constructor pattern may not require inferred prefix | |
if generator.next() == nil { | |
./Sequence.swift:245: note: Line 245: CAUTION: Possible constructor pattern may not require inferred prefix | |
return generator.next() | |
./Sequence.swift:256: warning: Line 256 uses a space before a colon | |
./Sequence.swift:298: warning: Line 298: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Sequence.swift:305: note: Line 305: CAUTION: Possible constructor pattern may not require inferred prefix | |
result.append(try transform(generator.next()!)) | |
./Sequence.swift:321: warning: Line 321: avoid type-based constructors and prefer [] or [:] initialization instead | |
./Sequence.swift:347: warning: Line 347 is broken | |
// FIXME: <rdar://problem/21885675> Use method dispatch to fold | |
./Sequence.swift:369: warning: Line 369 is broken | |
// FIXME: <rdar://problem/21885650> Create reusable RingBuffer<T> | |
./Sequence.swift:377: warning: Line 377: Avoid semantically meaningless iterator names (i, j) | |
./Sequence.swift:397: warning: Line 397 is broken | |
// FIXME: <rdar://problem/21885675> Use method dispatch to fold | |
./Sequence.swift:415: warning: Line 415 is broken | |
// FIXME: <rdar://problem/21885650> Create reusable RingBuffer<T> | |
./Sequence.swift:423: warning: Line 423: Avoid semantically meaningless iterator names (i, j) | |
./Sequence.swift:484: warning: Line 484: Swift does not usually require 'self' references outside of closures | |
./Sequence.swift:488: warning: Line 488: Swift cases do not implicitly fall through. | |
./Sequence.swift:519: warning: Line 519: leave spaces around the -> return token | |
./Sequence.swift:561: warning: Line 561 uses a space before a colon | |
./Sequence.swift:607: warning: Line 607 uses a space before a colon | |
./Sequence.swift:615: note: Line 615: CAUTION: Possible constructor pattern may not require inferred prefix | |
for x in GeneratorSequence(self.generate()) { | |
./Sequence.swift:615: warning: Line 615: Swift does not usually require 'self' references outside of closures | |
./Sequence.swift:631: warning: Line 631 uses a space before a colon | |
./Sequence.swift:632: warning: Line 632 uses a space before a colon | |
./Sequence.swift:0: warning: File Sequence.swift should have a single trailing newline | |
24 warnings, 4 cautions for Sequence.swift | |
Checking 'SequenceWrapper.swift' | |
./SequenceWrapper.swift:22: warning: Line 22 uses a space before a colon | |
./SequenceWrapper.swift:23: warning: Line 23 uses a space before a colon | |
./SequenceWrapper.swift:29: warning: Line 29 uses a space before a colon | |
./SequenceWrapper.swift:34: warning: Line 34: Swift does not usually require 'self' references outside of closures | |
./SequenceWrapper.swift:57: warning: Line 57 includes trailing whitespace characters | |
./SequenceWrapper.swift:64: warning: Line 64: leave spaces around the -> return token | |
./SequenceWrapper.swift:84: warning: Line 84 uses a space before a colon | |
./SequenceWrapper.swift:85: warning: Line 85 uses a space before a colon | |
./SequenceWrapper.swift:86: warning: Line 86 uses a space before a colon | |
./SequenceWrapper.swift:91: warning: Line 91 uses a space before a colon | |
./SequenceWrapper.swift:133: warning: Line 133 includes trailing whitespace characters | |
./SequenceWrapper.swift:140: warning: Line 140: leave spaces around the -> return token | |
12 warnings, 0 cautions for SequenceWrapper.swift | |
Checking 'SetAlgebra.swift' | |
./SetAlgebra.swift:48: warning: Line 48 uses a space before a colon | |
./SetAlgebra.swift:108: warning: Line 108 includes trailing whitespace characters | |
./SetAlgebra.swift:131: warning: Line 131 uses a space before a colon | |
./SetAlgebra.swift:163: warning: Line 163 uses a space before a colon | |
./SetAlgebra.swift:182: warning: Line 182: Swift does not usually require 'self' references outside of closures | |
./SetAlgebra.swift:188: warning: Line 188: Swift does not usually require 'self' references for assignments | |
./SetAlgebra.swift:200: warning: Line 200: Swift does not usually require 'self' references outside of closures | |
./SetAlgebra.swift:206: warning: Line 206: Swift does not usually require 'self' references outside of closures | |
./SetAlgebra.swift:218: warning: Line 218: Swift does not usually require 'self' references outside of closures | |
9 warnings, 0 cautions for SetAlgebra.swift | |
Checking 'ShadowProtocols.swift' | |
./ShadowProtocols.swift:31: warning: Line 31 uses a space before a colon | |
./ShadowProtocols.swift:40: warning: Line 40 uses a space before a colon | |
./ShadowProtocols.swift:50: warning: Line 50 uses a space before a colon | |
./ShadowProtocols.swift:59: warning: Line 59 uses a space before a colon | |
./ShadowProtocols.swift:79: warning: Line 79 uses a space before a colon | |
./ShadowProtocols.swift:116: warning: Line 116 uses a space before a colon | |
./ShadowProtocols.swift:128: warning: Line 128 uses a space before a colon | |
./ShadowProtocols.swift:160: warning: Line 160 uses a space before a colon | |
8 warnings, 0 cautions for ShadowProtocols.swift | |
Checking 'Shims.swift' | |
0 warnings, 0 cautions for Shims.swift | |
Checking 'SliceBuffer.swift' | |
./SliceBuffer.swift:15: warning: Line 15 uses a space before a colon | |
./SliceBuffer.swift:25: warning: Line 25: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:27: warning: Line 27: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:32: warning: Line 32: avoid type-based constructors and prefer [] or [:] initialization instead | |
./SliceBuffer.swift:33: warning: Line 33: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:34: warning: Line 34: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:35: warning: Line 35: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:36: warning: Line 36: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:80: warning: Line 80 uses a space before a colon | |
./SliceBuffer.swift:107: warning: Line 107: Swift does not usually require 'self' references for assignments | |
./SliceBuffer.swift:135: warning: Line 135 uses egregious Allman pattern. Welcome to Swift. | |
./SliceBuffer.swift:145: warning: Line 145: Swift does not usually require 'self' references outside of closures | |
./SliceBuffer.swift:197: warning: Line 197 uses a space before a colon | |
./SliceBuffer.swift:202: warning: Line 202 uses a space before a colon | |
./SliceBuffer.swift:215: warning: Line 215: Swift does not usually require 'self' references outside of closures | |
./SliceBuffer.swift:223: warning: Line 223 uses a space before a colon | |
./SliceBuffer.swift:229: warning: Line 229: Swift does not usually require 'self' references outside of closures | |
./SliceBuffer.swift:235: warning: Line 235: Swift if statements do not require parentheses | |
18 warnings, 0 cautions for SliceBuffer.swift | |
Checking 'StaticString.swift' | |
./StaticString.swift:31: warning: Line 31 uses a space before a colon | |
./StaticString.swift:119: warning: Line 119: Avoid semantically meaningless iterator names (i, j) | |
./StaticString.swift:151: warning: Line 151: Swift does not usually require 'self' references for assignments | |
./StaticString.swift:152: warning: Line 152: Swift does not usually require 'self' references for assignments | |
./StaticString.swift:153: warning: Line 153: Swift does not usually require 'self' references for assignments | |
./StaticString.swift:160: warning: Line 160: Swift does not usually require 'self' references outside of closures | |
./StaticString.swift:162: warning: Line 162: Swift does not usually require 'self' references for assignments | |
./StaticString.swift:163: warning: Line 163: Swift does not usually require 'self' references for assignments | |
./StaticString.swift:165: warning: Line 165 uses a space before a colon | |
./StaticString.swift:221: warning: Line 221: Swift does not usually require 'self' references outside of closures | |
./StaticString.swift:226: warning: Line 226: Swift does not usually require 'self' references outside of closures | |
./StaticString.swift:230: warning: Line 230: Swift does not usually require 'self' references outside of closures | |
12 warnings, 0 cautions for StaticString.swift | |
Checking 'Stride.swift' | |
./Stride.swift:15: warning: Line 15 uses a space before a colon | |
./Stride.swift:16: warning: Line 16 is broken | |
// FIXME: We'd like to name this type "Distance" but for | |
./Stride.swift:19: warning: Line 19 uses a space before a colon | |
./Stride.swift:44: warning: Line 44 uses a space before a colon | |
./Stride.swift:48: warning: Line 48 uses a space before a colon | |
./Stride.swift:53: warning: Line 53 uses a space before a colon | |
./Stride.swift:58: warning: Line 58 uses a space before a colon | |
./Stride.swift:63: warning: Line 63 uses a space before a colon | |
./Stride.swift:68: warning: Line 68 uses a space before a colon | |
./Stride.swift:72: warning: Line 72 uses a space before a colon | |
./Stride.swift:76: warning: Line 76 uses a space before a colon | |
./Stride.swift:85: warning: Line 85 uses a space before a colon | |
./Stride.swift:91: warning: Line 91 uses a space before a colon | |
./Stride.swift:97: warning: Line 97 uses a space before a colon | |
./Stride.swift:103: warning: Line 103 uses a space before a colon | |
./Stride.swift:109: warning: Line 109 uses a space before a colon | |
./Stride.swift:115: warning: Line 115 uses a space before a colon | |
./Stride.swift:124: warning: Line 124 uses a space before a colon | |
./Stride.swift:145: warning: Line 145 uses a space before a colon | |
./Stride.swift:146: warning: Line 146 is broken | |
// FIXME: should really be a CollectionType, as it is multipass | |
./Stride.swift:184: warning: Line 184 uses a space before a colon | |
./Stride.swift:190: warning: Line 190 uses a space before a colon | |
./Stride.swift:219: warning: Line 219 uses a space before a colon | |
./Stride.swift:220: warning: Line 220 is broken | |
// FIXME: should really be a CollectionType, as it is multipass | |
./Stride.swift:261: warning: Line 261 uses a space before a colon | |
25 warnings, 0 cautions for Stride.swift | |
Checking 'String.swift' | |
./String.swift:167: warning: Line 167 uses a space before a colon | |
./String.swift:176: warning: Line 176 uses a space before a colon | |
./String.swift:183: warning: Line 183 uses a space before a colon | |
./String.swift:198: warning: Line 198 uses a space before a colon | |
./String.swift:205: warning: Line 205 uses a space before a colon | |
./String.swift:222: warning: Line 222 uses a space before a colon | |
./String.swift:238: warning: Line 238 Else case does not follow colinear 1TBS standard. | |
./String.swift:248: warning: Line 248 uses a space before a colon | |
./String.swift:255: warning: Line 255 uses a space before a colon | |
./String.swift:259: warning: Line 259: Swift does not usually require 'self' references outside of closures | |
./String.swift:276: warning: Line 276: Swift does not usually require 'self' references outside of closures | |
./String.swift:280: warning: Line 280 is broken | |
// FIXME: this function does not handle the case when a wrapped NSString | |
./String.swift:290: warning: Line 290 uses egregious Allman pattern. Welcome to Swift. | |
./String.swift:313: warning: Line 313: leave spaces around the -> return token | |
./String.swift:316: warning: Line 316 uses a space before a colon | |
./String.swift:332: warning: Line 332 uses a space before a colon | |
./String.swift:352: warning: Line 352: Swift does not usually require 'self' references outside of closures | |
./String.swift:353: warning: Line 353: Swift does not usually require 'self' references outside of closures | |
./String.swift:355: warning: Line 355: Swift does not usually require 'self' references outside of closures | |
./String.swift:373: note: Line 373: CAUTION: Possible constructor pattern may not require inferred prefix | |
_bridgeToObjectiveCImpl(), rhs._bridgeToObjectiveCImpl())) | |
./String.swift:409: warning: Line 409: Swift if statements do not require parentheses | |
./String.swift:457: warning: Line 457 uses a space before a colon | |
./String.swift:474: warning: Line 474 is broken | |
// FIXME(performance): constructing a temporary NSString is extremely | |
./String.swift:477: warning: Line 477: Swift does not usually require 'self' references outside of closures | |
./String.swift:480: warning: Line 480: Swift does not usually require 'self' references outside of closures | |
./String.swift:486: warning: Line 486: Swift does not usually require 'self' references outside of closures | |
./String.swift:504: warning: Line 504: Swift if statements do not require parentheses | |
./String.swift:516: warning: Line 516 Else case does not follow colinear 1TBS standard. | |
./String.swift:592: warning: Line 592 uses a space before a colon | |
./String.swift:602: warning: Line 602 uses a space before a colon | |
./String.swift:605: warning: Line 605: Swift does not usually require 'self' references for assignments | |
./String.swift:612: warning: Line 612 uses a space before a colon | |
./String.swift:628: warning: Line 628 is broken | |
// FIXME(performance): this code assumes UTF-16 in-memory representation. | |
./String.swift:632: warning: Line 632: Swift does not usually require 'self' references outside of closures | |
./String.swift:636: warning: Line 636 is broken | |
// FIXME(performance): this code assumes UTF-16 in-memory representation. | |
./String.swift:657: warning: Line 657 Else case does not follow colinear 1TBS standard. | |
./String.swift:713: warning: Line 713 uses a space before a colon | |
./String.swift:815: warning: Line 815 is broken | |
// FIXME: implement case folding without relying on Foundation. | |
./String.swift:838: warning: Line 838: Swift does not usually require 'self' references outside of closures | |
./String.swift:839: warning: Line 839: Swift does not usually require 'self' references outside of closures | |
./String.swift:840: warning: Line 840: Swift does not usually require 'self' references outside of closures | |
./String.swift:844: warning: Line 844: Avoid semantically meaningless iterator names (i, j) | |
./String.swift:869: note: Line 869: CAUTION: Possible constructor pattern may not require inferred prefix | |
_stdlib_NSStringLowercaseString(self._bridgeToObjectiveCImpl())) | |
./String.swift:869: warning: Line 869: Swift does not usually require 'self' references outside of closures | |
./String.swift:876: warning: Line 876: Swift does not usually require 'self' references outside of closures | |
./String.swift:877: warning: Line 877: Swift does not usually require 'self' references outside of closures | |
./String.swift:878: warning: Line 878: Swift does not usually require 'self' references outside of closures | |
./String.swift:882: warning: Line 882: Avoid semantically meaningless iterator names (i, j) | |
./String.swift:896: note: Line 896: CAUTION: Possible constructor pattern may not require inferred prefix | |
_stdlib_NSStringUppercaseString(self._bridgeToObjectiveCImpl())) | |
./String.swift:896: warning: Line 896: Swift does not usually require 'self' references outside of closures | |
./String.swift:934: warning: Line 934 Else case does not follow colinear 1TBS standard. | |
./String.swift:953: warning: Line 953 Else case does not follow colinear 1TBS standard. | |
./String.swift:0: warning: File String.swift should have a single trailing newline | |
50 warnings, 3 cautions for String.swift | |
Checking 'StringBridge.swift' | |
./StringBridge.swift:79: warning: Line 79 includes trailing whitespace characters | |
./StringBridge.swift:83: warning: Line 83 includes trailing whitespace characters | |
./StringBridge.swift:106: warning: Line 106 CFReference types need not end with Ref in Swift | |
./StringBridge.swift:123: warning: Line 123 CFReference types need not end with Ref in Swift | |
./StringBridge.swift:135: warning: Line 135 uses a space before a colon | |
./StringBridge.swift:144: warning: Line 144: Swift does not usually require 'self' references for assignments | |
./StringBridge.swift:167: warning: Line 167: Swift if statements do not require parentheses | |
./StringBridge.swift:171: warning: Line 171: Swift does not usually require 'self' references for assignments | |
./StringBridge.swift:190: warning: Line 190 uses a space before a colon | |
./StringBridge.swift:204: warning: Line 204 uses a space before a colon | |
./StringBridge.swift:237: warning: Line 237 Else case does not follow colinear 1TBS standard. | |
11 warnings, 0 cautions for StringBridge.swift | |
Checking 'StringBuffer.swift' | |
./StringBuffer.swift:28: warning: Line 28: Swift does not usually require 'self' references for assignments | |
./StringBuffer.swift:44: warning: Line 44 is broken | |
// FIXME: Wanted this to be a subclass of | |
./StringBuffer.swift:80: warning: Line 80: Swift does not usually require 'self' references for assignments | |
./StringBuffer.swift:87: warning: Line 87 uses a space before a colon | |
./StringBuffer.swift:112: note: Line 112: CAUTION: Possible constructor pattern may not require inferred prefix | |
encoding, UTF32.self, input.generate(), sink, | |
./StringBuffer.swift:117: warning: Line 117 Else case does not follow colinear 1TBS standard. | |
./StringBuffer.swift:123: note: Line 123: CAUTION: Possible constructor pattern may not require inferred prefix | |
encoding, UTF16.self, input.generate(), sink, | |
./StringBuffer.swift:208: warning: Line 208: Swift does not usually require 'self' references outside of closures | |
6 warnings, 2 cautions for StringBuffer.swift | |
Checking 'StringCharacterView.swift' | |
./StringCharacterView.swift:27: warning: Line 27: Swift does not usually require 'self' references for assignments | |
./StringCharacterView.swift:49: warning: Line 49: leave spaces around the -> return token | |
./StringCharacterView.swift:53: warning: Line 53: Avoid semantically meaningless names like temp, tmp, returnValue | |
./StringCharacterView.swift:54: warning: Line 54: Avoid semantically meaningless names like temp, tmp, returnValue | |
./StringCharacterView.swift:55: warning: Line 55: Avoid semantically meaningless names like temp, tmp, returnValue | |
./StringCharacterView.swift:56: warning: Line 56: Avoid semantically meaningless names like temp, tmp, returnValue | |
./StringCharacterView.swift:68: warning: Line 68 uses a space before a colon | |
./StringCharacterView.swift:75: warning: Line 75 uses a space before a colon | |
./StringCharacterView.swift:79: warning: Line 79: Swift does not usually require 'self' references for assignments | |
./StringCharacterView.swift:149: warning: Line 149 is broken | |
// FIXME(performance): consider removing this "fast path". A branch | |
./StringCharacterView.swift:153: warning: Line 153: Swift cases do not implicitly fall through. | |
./StringCharacterView.swift:158: warning: Line 158: Swift cases do not implicitly fall through. | |
./StringCharacterView.swift:196: warning: Line 196: Swift cases do not implicitly fall through. | |
./StringCharacterView.swift:234: warning: Line 234 uses a space before a colon | |
./StringCharacterView.swift:263: warning: Line 263 uses a space before a colon | |
./StringCharacterView.swift:282: warning: Line 282 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringCharacterView.swift:308: warning: Line 308 uses a space before a colon | |
./StringCharacterView.swift:311: note: Line 311: CAUTION: Possible constructor pattern may not require inferred prefix | |
reserveCapacity(_core.count + newElements.underestimateCount()) | |
./StringCharacterView.swift:313: warning: Line 313: Swift does not usually require 'self' references outside of closures | |
./StringCharacterView.swift:319: warning: Line 319 uses a space before a colon | |
./StringCharacterView.swift:322: note: Line 322: CAUTION: Possible constructor assignment pattern may not require inferred prefix | |
self = String.CharacterView() | |
./StringCharacterView.swift:323: warning: Line 323: Swift does not usually require 'self' references outside of closures | |
./StringCharacterView.swift:0: warning: File StringCharacterView.swift should have a single trailing newline | |
21 warnings, 2 cautions for StringCharacterView.swift | |
Checking 'StringCore.swift' | |
./StringCore.swift:40: warning: Line 40: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:42: warning: Line 42: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:61: warning: Line 61 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:66: warning: Line 66 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:118: warning: Line 118 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:118: warning: Line 118: Swift if statements do not require parentheses | |
./StringCore.swift:127: warning: Line 127 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:148: warning: Line 148: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:150: warning: Line 150: Swift does not usually require 'self' references outside of closures | |
./StringCore.swift:155: warning: Line 155: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:175: warning: Line 175: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:176: warning: Line 176: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:177: warning: Line 177: Swift does not usually require 'self' references for assignments | |
./StringCore.swift:243: warning: Line 243 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringCore.swift:254: warning: Line 254 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringCore.swift:297: warning: Line 297 is broken | |
// FIXME(performance): use masking instead of multiplication. | |
./StringCore.swift:326: warning: Line 326 uses egregious Allman pattern. Welcome to Swift. | |
./StringCore.swift:336: warning: Line 336 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:348: warning: Line 348 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:348: warning: Line 348: Swift if statements do not require parentheses | |
./StringCore.swift:392: warning: Line 392 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:451: warning: Line 451 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:455: warning: Line 455 is broken | |
// FIXME: can we get Cocoa to tell us quickly that an opaque | |
./StringCore.swift:501: warning: Line 501 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:518: note: Line 518: CAUTION: Possible constructor pattern may not require inferred prefix | |
: rhs.representableAsASCII() ? 1 : 2 | |
./StringCore.swift:528: warning: Line 528 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:559: warning: Line 559 uses a space before a colon | |
./StringCore.swift:571: warning: Line 571 uses a space before a colon | |
./StringCore.swift:624: warning: Line 624 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:636: warning: Line 636 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:643: warning: Line 643 uses a space before a colon | |
./StringCore.swift:644: warning: Line 644 uses a space before a colon | |
./StringCore.swift:669: warning: Line 669 uses a space before a colon | |
./StringCore.swift:689: warning: Line 689: Avoid semantically meaningless iterator names (i, j) | |
./StringCore.swift:693: warning: Line 693 Else case does not follow colinear 1TBS standard. | |
./StringCore.swift:695: warning: Line 695: Avoid semantically meaningless iterator names (i, j) | |
./StringCore.swift:702: warning: Line 702: Swift does not usually require 'self' references outside of closures | |
36 warnings, 1 cautions for StringCore.swift | |
Checking 'StringLegacy.swift' | |
./StringLegacy.swift:35: warning: Line 35 uses a space before a colon | |
./StringLegacy.swift:42: warning: Line 42 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringLegacy.swift:46: warning: Line 46 uses a space before a colon | |
./StringLegacy.swift:47: warning: Line 47: Consider replacing zero count check with isEmpty. | |
./StringLegacy.swift:88: warning: Line 88: Swift does not usually require 'self' references outside of closures | |
./StringLegacy.swift:94: warning: Line 94: Swift does not usually require 'self' references outside of closures | |
./StringLegacy.swift:98: warning: Line 98 is broken | |
// FIXME: Implement hasPrefix and hasSuffix without objc | |
./StringLegacy.swift:105: warning: Line 105 is broken | |
// FIXME: can't just use a default arg for radix below; instead we | |
./StringLegacy.swift:109: warning: Line 109 uses a space before a colon | |
./StringLegacy.swift:114: warning: Line 114 uses a space before a colon | |
./StringLegacy.swift:122: warning: Line 122 uses a space before a colon | |
./StringLegacy.swift:134: warning: Line 134 uses a space before a colon | |
./StringLegacy.swift:170: warning: Line 170 uses a space before a colon | |
./StringLegacy.swift:171: warning: Line 171 uses egregious Allman pattern. Welcome to Swift. | |
./StringLegacy.swift:173: warning: Line 173: Avoid semantically meaningless iterator names (i, j) | |
./StringLegacy.swift:175: warning: Line 175 includes trailing whitespace characters | |
./StringLegacy.swift:176: warning: Line 176 includes trailing whitespace characters | |
./StringLegacy.swift:189: warning: Line 189 uses egregious Allman pattern. Welcome to Swift. | |
./StringLegacy.swift:191: warning: Line 191: Avoid semantically meaningless iterator names (i, j) | |
./StringLegacy.swift:194: warning: Line 194 includes trailing whitespace characters | |
./StringLegacy.swift:195: warning: Line 195 includes trailing whitespace characters | |
./StringLegacy.swift:207: warning: Line 207 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
22 warnings, 0 cautions for StringLegacy.swift | |
Checking 'StringUnicodeScalarView.swift' | |
./StringUnicodeScalarView.swift:32: warning: Line 32 uses a space before a colon | |
./StringUnicodeScalarView.swift:38: warning: Line 38 uses a space before a colon | |
./StringUnicodeScalarView.swift:42: warning: Line 42: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:49: warning: Line 49: Swift does not usually require 'self' references outside of closures | |
./StringUnicodeScalarView.swift:54: warning: Line 54 uses a space before a colon | |
./StringUnicodeScalarView.swift:76: warning: Line 76: Avoid semantically meaningless iterator names (i, j) | |
./StringUnicodeScalarView.swift:144: warning: Line 144 uses a space before a colon | |
./StringUnicodeScalarView.swift:147: warning: Line 147: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:149: warning: Line 149: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:150: warning: Line 150: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:154: warning: Line 154: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:155: warning: Line 155: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:160: warning: Line 160: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:161: warning: Line 161: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:162: warning: Line 162: Swift does not usually require 'self' references for assignments | |
./StringUnicodeScalarView.swift:175: warning: Line 175: Swift does not usually require 'self' references outside of closures | |
./StringUnicodeScalarView.swift:182: warning: Line 182: Swift does not usually require 'self' references outside of closures | |
./StringUnicodeScalarView.swift:185: warning: Line 185: Swift does not usually require 'self' references outside of closures | |
./StringUnicodeScalarView.swift:243: warning: Line 243 uses a space before a colon | |
./StringUnicodeScalarView.swift:253: warning: Line 253 uses a space before a colon | |
./StringUnicodeScalarView.swift:274: warning: Line 274 uses a space before a colon | |
./StringUnicodeScalarView.swift:276: warning: Line 276 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringUnicodeScalarView.swift:291: warning: Line 291 fails the Rule of Lily. Treat functional (non-procedural) trailing closures as arguments by enclosing within parens | |
./StringUnicodeScalarView.swift:396: warning: Line 396: Swift does not usually require 'self' references outside of closures | |
24 warnings, 0 cautions for StringUnicodeScalarView.swift | |
Checking 'StringUTF16.swift' | |
./StringUTF16.swift:16: warning: Line 16 uses a space before a colon | |
./StringUTF16.swift:65: warning: Line 65: Swift if statements do not require parentheses | |
./StringUTF16.swift:114: warning: Line 114: Swift does not usually require 'self' references for assignments | |
./StringUTF16.swift:115: warning: Line 115: Swift does not usually require 'self' references for assignments | |
./StringUTF16.swift:120: warning: Line 120: Swift does not usually require 'self' references for assignments | |
./StringUTF16.swift:121: warning: Line 121: Swift does not usually require 'self' references for assignments | |
./StringUTF16.swift:176: warning: Line 176 uses a space before a colon | |
./StringUTF16.swift:197: warning: Line 197 uses a space before a colon | |
./StringUTF16.swift:214: warning: Line 214: Swift does not usually require 'self' references outside of closures | |
./StringUTF16.swift:219: warning: Line 219: Swift does not usually require 'self' references outside of closures | |
./StringUTF16.swift:226: warning: Line 226: Swift does not usually require 'self' references outside of closures | |
11 warnings, 0 cautions for StringUTF16.swift | |
Checking 'StringUTF8.swift' | |
./StringUTF8.swift:65: warning: Line 65: Swift does not usually require 'self' references outside of closures | |
./StringUTF8.swift:78: warning: Line 78: Swift does not usually require 'self' references outside of closures | |
./StringUTF8.swift:89: warning: Line 89 uses a space before a colon | |
./StringUTF8.swift:97: warning: Line 97: Swift does not usually require 'self' references for assignments | |
./StringUTF8.swift:100: warning: Line 100: Swift does not usually require 'self' references for assignments | |
./StringUTF8.swift:102: warning: Line 102: Swift does not usually require 'self' references for assignments | |
./StringUTF8.swift:108: warning: Line 108: Swift does not usually require 'self' references for assignments | |
./StringUTF8.swift:109: warning: Line 109: Swift does not usually require 'self' references for assignments | |
./StringUTF8.swift:113: warning: Line 113 uses a space before a colon | |
./StringUTF8.swift:147: warning: Line 147 Else case does not follow colinear 1TBS standard. | |
./StringUTF8.swift:151: warning: Line 151 Else case does not follow colinear 1TBS standard. | |
./StringUTF8.swift:162: warning: Line 162 uses a space before a colon | |
./StringUTF8.swift:168: warning: Line 168 uses a space before a colon | |
./StringUTF8.swift:202: warning: Line 202: Swift does not usually require 'self' references outside of closures | |
./StringUTF8.swift:211: warning: Line 211: Swift does not usually require 'self' references outside of closures | |
./StringUTF8.swift:250: warning: Line 250: Swift does not usually require 'self' references outside of closures | |
./StringUTF8.swift:263: warning: Line 263: avoid type-based constructors and prefer [] or [:] initialization instead | |
./StringUTF8.swift:313: warning: Line 313 Else case does not follow colinear 1TBS standard. | |
18 warnings, 0 cautions for StringUTF8.swift | |
Checking 'SwiftNativeNSArray.swift' | |
./SwiftNativeNSArray.swift:123: warning: Line 123 uses a space before a colon | |
./SwiftNativeNSArray.swift:143: warning: Line 143 CFReference types need not end with Ref in Swift | |
./SwiftNativeNSArray.swift:180: warning: Line 180 Else case does not follow colinear 1TBS standard. | |
./SwiftNativeNSArray.swift:181: warning: Line 181 uses egregious Allman pattern. Welcome to Swift. | |
./SwiftNativeNSArray.swift:185: warning: Line 185 Else case does not follow colinear 1TBS standard. | |
./SwiftNativeNSArray.swift:190: warning: Line 190 CFReference types need not end with Ref in Swift | |
./SwiftNativeNSArray.swift:228: warning: Line 228 uses a space before a colon | |
7 warnings, 0 cautions for SwiftNativeNSArray.swift | |
Checking 'Unicode.swift' | |
./Unicode.swift:64: warning: Line 64 uses a space before a colon | |
./Unicode.swift:73: warning: Line 73 uses a space before a colon | |
./Unicode.swift:256: warning: Line 256: Swift if statements do not require parentheses | |
./Unicode.swift:270: warning: Line 270: Swift if statements do not require parentheses | |
./Unicode.swift:273: warning: Line 273: Swift if statements do not require parentheses | |
./Unicode.swift:276: warning: Line 276: Swift if statements do not require parentheses | |
./Unicode.swift:279: warning: Line 279: Swift if statements do not require parentheses | |
./Unicode.swift:282: warning: Line 282: Swift if statements do not require parentheses | |
./Unicode.swift:283: warning: Line 283: Swift if statements do not require parentheses | |
./Unicode.swift:293: warning: Line 293: Swift if statements do not require parentheses | |
./Unicode.swift:294: warning: Line 294: Swift if statements do not require parentheses | |
./Unicode.swift:304: warning: Line 304: Swift if statements do not require parentheses | |
./Unicode.swift:305: warning: Line 305: Swift if statements do not require parentheses | |
./Unicode.swift:337: warning: Line 337 uses a space before a colon | |
./Unicode.swift:378: warning: Line 378: Swift cases do not implicitly fall through. | |
./Unicode.swift:463: warning: Line 463 Else case does not follow colinear 1TBS standard. | |
./Unicode.swift:470: warning: Line 470 Else case does not follow colinear 1TBS standard. | |
./Unicode.swift:493: warning: Line 493 uses a space before a colon | |
./Unicode.swift:523: warning: Line 523 uses a space before a colon | |
./Unicode.swift:601: warning: Line 601 uses a space before a colon | |
./Unicode.swift:627: warning: Line 627 Else case does not follow colinear 1TBS standard. | |
./Unicode.swift:638: warning: Line 638 uses a space before a colon | |
./Unicode.swift:658: warning: Line 658 uses a space before a colon | |
./Unicode.swift:664: warning: Line 664 uses a space before a colon | |
./Unicode.swift:691: warning: Line 691 uses a space before a colon | |
./Unicode.swift:692: warning: Line 692 uses a space before a colon | |
./Unicode.swift:693: warning: Line 693 uses a space before a colon | |
./Unicode.swift:708: warning: Line 708: Prefer for-in or forEach over C-style loops | |
./Unicode.swift:708: warning: Line 708: Swift does not require terminal semicolons except for statement separation. They are bad. You should feel bad. | |
./Unicode.swift:709: warning: Line 709: Swift does not require terminal semicolons except for statement separation. They are bad. You should feel bad. | |
./Unicode.swift:734: warning: Line 734 uses a space before a colon | |
./Unicode.swift:765: warning: Line 765 Else case does not follow colinear 1TBS standard. | |
./Unicode.swift:808: warning: Line 808: Swift cases do not implicitly fall through. | |
./Unicode.swift:815: warning: Line 815 is broken | |
// FIXME: Annoying check, courtesy of <rdar://problem/16740169> | |
./Unicode.swift:833: warning: Line 833 uses a space before a colon | |
./Unicode.swift:846: warning: Line 846 uses a space before a colon | |
./Unicode.swift:901: warning: Line 901 uses a space before a colon | |
./Unicode.swift:911: warning: Line 911 Else case does not follow colinear 1TBS standard. | |
./Unicode.swift:912: warning: Line 912: Avoid semantically meaningless iterator names (i, j) | |
./Unicode.swift:928: warning: Line 928 uses a space before a colon | |
./Unicode.swift:947: warning: Line 947: Swift cases do not implicitly fall through. | |
./Unicode.swift:0: warning: File Unicode.swift should have a single trailing newline | |
42 warnings, 0 cautions for Unicode.swift | |
Checking 'UnicodeScalar.swift' | |
./UnicodeScalar.swift:16: warning: Line 16 uses a space before a colon | |
./UnicodeScalar.swift:31: warning: Line 31: Swift does not usually require 'self' references for assignments | |
./UnicodeScalar.swift:42: warning: Line 42: Swift does not usually require 'self' references for assignments | |
./UnicodeScalar.swift:63: warning: Line 63: Swift does not usually require 'self' references for assignments | |
./UnicodeScalar.swift:96: warning: Line 96 is broken | |
// FIXME: was UnicodeScalar(nibble-10+65), which is now | |
./UnicodeScalar.swift:133: warning: Line 133 is broken | |
// FIXME: Type checker performance prohibits this from being a | |
./UnicodeScalar.swift:156: warning: Line 156 is broken | |
// FIXME: Locales make this interesting | |
./UnicodeScalar.swift:162: warning: Line 162 is broken | |
// FIXME: Is there an similar term of art in Unicode? | |
./UnicodeScalar.swift:168: warning: Line 168 is broken | |
// FIXME: Unicode makes this interesting | |
./UnicodeScalar.swift:174: warning: Line 174 is broken | |
// FIXME: Unicode and locales make this interesting | |
./UnicodeScalar.swift:184: warning: Line 184 is broken | |
// FIXME: Unicode and locales make this interesting | |
./UnicodeScalar.swift:194: warning: Line 194 is broken | |
// FIXME: Unicode makes this interesting. | |
./UnicodeScalar.swift:198: warning: Line 198 is broken | |
// FIXME: The constraint-based type checker goes painfully exponential | |
./UnicodeScalar.swift:206: warning: Line 206 is broken | |
// FIXME: Unicode makes this interesting. | |
./UnicodeScalar.swift:213: warning: Line 213 uses a space before a colon | |
./UnicodeScalar.swift:224: warning: Line 224 uses a space before a colon | |
./UnicodeScalar.swift:233: warning: Line 233: Swift does not usually require 'self' references outside of closures | |
./UnicodeScalar.swift:273: warning: Line 273 uses a space before a colon | |
./UnicodeScalar.swift:296: warning: Line 296 uses a space before a colon | |
./UnicodeScalar.swift:318: warning: Line 318 uses a space before a colon | |
./UnicodeScalar.swift:0: warning: File UnicodeScalar.swift should have a single trailing newline | |
21 warnings, 0 cautions for UnicodeScalar.swift | |
Checking 'Unmanaged.swift' | |
./Unmanaged.swift:17: warning: Line 17 uses a space before a colon | |
./Unmanaged.swift:39: warning: Line 39: Avoid semantically meaningless names like temp, tmp, returnValue | |
2 warnings, 0 cautions for Unmanaged.swift | |
Checking 'VarArgs.swift' | |
./VarArgs.swift:50: warning: Line 50 uses a space before a colon | |
./VarArgs.swift:54: warning: Line 54 uses a space before a colon | |
./VarArgs.swift:80: note: Line 80: CAUTION: Possible constructor pattern may not require inferred prefix | |
let result = f(builder.va_list()) | |
./VarArgs.swift:98: warning: Line 98 is broken | |
// FIXME: Use some Swift equivalent of NS_RETURNS_INNER_POINTER if we get one. | |
./VarArgs.swift:101: note: Line 101: CAUTION: Possible constructor pattern may not require inferred prefix | |
return builder.va_list() | |
./VarArgs.swift:105: warning: Line 105 uses a space before a colon | |
./VarArgs.swift:109: warning: Line 109: Avoid semantically meaningless names like temp, tmp, returnValue | |
./VarArgs.swift:111: warning: Line 111: Avoid semantically meaningless names like temp, tmp, returnValue | |
./VarArgs.swift:121: warning: Line 121 uses a space before a colon | |
./VarArgs.swift:129: warning: Line 129 uses a space before a colon | |
./VarArgs.swift:139: warning: Line 139 is broken | |
// FIXME: alignof differs from the ABI alignment on some architectures | |
./VarArgs.swift:144: warning: Line 144 uses a space before a colon | |
./VarArgs.swift:152: warning: Line 152 uses a space before a colon | |
./VarArgs.swift:160: warning: Line 160 uses a space before a colon | |
./VarArgs.swift:169: warning: Line 169 uses a space before a colon | |
./VarArgs.swift:177: warning: Line 177 uses a space before a colon | |
./VarArgs.swift:187: warning: Line 187 is broken | |
// FIXME: alignof differs from the ABI alignment on some architectures | |
./VarArgs.swift:192: warning: Line 192 uses a space before a colon | |
./VarArgs.swift:200: warning: Line 200 uses a space before a colon | |
./VarArgs.swift:208: warning: Line 208 uses a space before a colon | |
./VarArgs.swift:216: warning: Line 216 uses a space before a colon | |
./VarArgs.swift:224: warning: Line 224 uses a space before a colon | |
./VarArgs.swift:232: warning: Line 232 uses a space before a colon | |
./VarArgs.swift:240: warning: Line 240 uses a space before a colon | |
./VarArgs.swift:248: warning: Line 248 uses a space before a colon | |
./VarArgs.swift:258: warning: Line 258 is broken | |
// FIXME: alignof differs from the ABI alignment on some architectures | |
./VarArgs.swift:263: warning: Line 263 uses a space before a colon | |
./VarArgs.swift:273: warning: Line 273 is broken | |
// FIXME: alignof differs from the ABI alignment on some architectures | |
./VarArgs.swift:288: warning: Line 288 is broken | |
// FIXME: this implementation is not portable because | |
./VarArgs.swift:290: warning: Line 290 is broken | |
#if os(watchOS) && arch(arm) // FIXME: rdar://21203036 should be arch(armv7k) | |
./VarArgs.swift:312: warning: Line 312 is broken | |
// FIXME: this should be packaged into a better storage type | |
./VarArgs.swift:327: warning: Line 327 includes trailing whitespace characters | |
./VarArgs.swift:339: warning: Line 339 includes trailing whitespace characters | |
./VarArgs.swift:364: warning: Line 364 is broken | |
// FIXME: alignof differs from the ABI alignment on some architectures | |
./VarArgs.swift:402: warning: Line 402 Else case does not follow colinear 1TBS standard. | |
./VarArgs.swift:405: warning: Line 405 Else case does not follow colinear 1TBS standard. | |
./VarArgs.swift:419: warning: Line 419: Swift does not usually require 'self' references outside of closures | |
35 warnings, 2 cautions for VarArgs.swift | |
Checking 'Zip.swift' | |
./Zip.swift:16: warning: Line 16 uses a space before a colon | |
./Zip.swift:24: warning: Line 24 uses a space before a colon | |
./Zip.swift:25: warning: Line 25 uses a space before a colon | |
./Zip.swift:71: warning: Line 71 uses a space before a colon | |
./Zip.swift:72: warning: Line 72 uses a space before a colon | |
./Zip.swift:101: warning: Line 101 uses a space before a colon | |
./Zip.swift:106: warning: Line 106 uses a space before a colon | |
./Zip.swift:0: warning: File Zip.swift should have a single trailing newline | |
8 warnings, 0 cautions for Zip.swift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment