Skip to content

Commit cb69632

Browse files
[gardening] Fix comments not starting with "// " or "# "
1 parent 501ec61 commit cb69632

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmark/single-source/Walsh.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Darwin
1515

1616
func IsPowerOfTwo(_ x: Int) -> Bool { return (x & (x - 1)) == 0 }
1717

18-
//Fast Walsh Hadamard Transform
18+
// Fast Walsh Hadamard Transform
1919
func WalshTransform(_ data: inout [Double]) {
2020
assert(IsPowerOfTwo(data.count), "Not a power of two")
2121
var temp = [Double](repeating: 0, count: data.count)

test/Parse/invalid.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func g573() { f573(Starfish(), Salmon()) }
6767
func SR698(_ a: Int, b: Int) {}
6868
SR698(1, b: 2,) // expected-error {{unexpected ',' separator}}
6969

70-
//SR-979 - Two inout crash compiler
70+
// SR-979 - Two inout crash compiler
7171
func SR979a(a : inout inout Int) {} // expected-error {{parameter may not have multiple 'inout', 'var', or 'let' specifiers}} {{17-23=}}
7272
func SR979b(inout inout b: Int) {} // expected-error {{parameter may not have multiple 'inout', 'var', or 'let' specifiers}} {{19-25=}}
7373
// expected-error @-1 {{'inout' before a parameter name is not allowed, place it before the parameter type instead}} {{13-18=}} {{28-28=inout }}

test/SILOptimizer/specialize_ext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ public func exp1() {
1717
var J = XXX<Int>(t: 4)
1818
J.bar(3)
1919
}
20-
//Make sure that we are able to specialize the extension 'bar'
20+
// Make sure that we are able to specialize the extension 'bar'
2121
//CHECK: sil shared [noinline] @_TTSg5Si___TFV14specialize_ext3XXX3bar

0 commit comments

Comments
 (0)