Skip to content

Add whitespaces and erase redundant whitespaces. #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stdlib/public/SDK/AppKit/AppKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct _NSCursorMirror : _MirrorType {
_preconditionFailure("_MirrorType access out of bounds")
}

var summary: String { return ""}
var summary: String { return "" }

var quickLookObject: PlaygroundQuickLook? {
return .Some(.Image(_value.image))
Expand Down Expand Up @@ -64,7 +64,7 @@ struct _NSViewMirror : _MirrorType {
_preconditionFailure("_MirrorType access out of bounds")
}

var summary: String { get { return ""} }
var summary: String { get { return "" } }

var quickLookObject: PlaygroundQuickLook? { get {
// adapted from the Xcode QuickLooks implementation
Expand Down
1 change: 0 additions & 1 deletion stdlib/public/SDK/CoreMedia/CMTime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ extension CMTime {

public func convertScale(newTimescale: Int32, method: CMTimeRoundingMethod)
-> CMTime {

return CMTimeConvertScale(self, newTimescale, method)
}
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/SDK/Foundation/NSStringAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ extension String {
/// Returns a capitalized representation of the `String`
/// using the specified locale.
@warn_unused_result
public func capitalizedStringWithLocale(locale: NSLocale?) -> String{
public func capitalizedStringWithLocale(locale: NSLocale?) -> String {
return _ns.capitalizedStringWithLocale(locale) as String
}

Expand Down
22 changes: 11 additions & 11 deletions test/SILPasses/specialize_chain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ struct YYY<T> {
@inline(never)
init(t : T) {m_t = t}
@inline(never) mutating
func AAA9(t t : T) -> Int { return AAA8(t: t)}
func AAA9(t t : T) -> Int { return AAA8(t: t) }
@inline(never) mutating
func AAA8(t t : T) -> Int { return AAA7(t: t)}
func AAA8(t t : T) -> Int { return AAA7(t: t) }
@inline(never) mutating
func AAA7(t t : T) -> Int { return AAA6(t: t)}
func AAA7(t t : T) -> Int { return AAA6(t: t) }
@inline(never) mutating
func AAA6(t t : T) -> Int { return AAA5(t: t)}
func AAA6(t t : T) -> Int { return AAA5(t: t) }
@inline(never) mutating
func AAA5(t t : T) -> Int { return AAA4(t: t)}
func AAA5(t t : T) -> Int { return AAA4(t: t) }
@inline(never) mutating
func AAA4(t t : T) -> Int { return AAA3(t: t)}
func AAA4(t t : T) -> Int { return AAA3(t: t) }
@inline(never) mutating
func AAA3(t t : T) -> Int { return AAA2(t: t)}
func AAA3(t t : T) -> Int { return AAA2(t: t) }
@inline(never) mutating
func AAA2(t t : T) -> Int { return AAA1(t: t)}
func AAA2(t t : T) -> Int { return AAA1(t: t) }
@inline(never) mutating
func AAA1(t t : T) -> Int { return AAA0(t: t)}
func AAA1(t t : T) -> Int { return AAA0(t: t) }
@inline(never) mutating
func AAA0(t t : T) -> Int { return foo(t: t)}
func AAA0(t t : T) -> Int { return foo(t: t) }
@inline(never) mutating
func foo(t t : T) -> Int {m_t = t; return 4}
func foo(t t : T) -> Int { m_t = t; return 4 }
var m_t : T
}

Expand Down