Skip to content

[gardening] Clean up gyb-related Emacs local variables #17475

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 3 commits into from
Jun 25, 2018
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
3 changes: 3 additions & 0 deletions benchmark/single-source/CharacterProperties.swift
Original file line number Diff line number Diff line change
Expand Up @@ -453,3 +453,6 @@ public func run_CharacterPropertiesPrecomputed(_ N: Int) {

// TODO: run_CharacterPropertiesComputed

// Local Variables:
// eval: (read-only-mode 1)
// End:
3 changes: 3 additions & 0 deletions benchmark/single-source/CharacterProperties.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,6 @@ public func run_CharacterPropertiesPrecomputed(_ N: Int) {

// TODO: run_CharacterPropertiesComputed

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropFirst.swift
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,7 @@ public func run_DropFirstArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropFirst.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ public func run_DropFirst${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropLast.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,7 @@ public func run_DropLastArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropLast.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ public func run_DropLast${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropWhile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,7 @@ public func run_DropWhileArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/DropWhile.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ public func run_DropWhile${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/Prefix.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,7 @@ public func run_PrefixArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/Prefix.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ public func run_Prefix${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/PrefixWhile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,7 @@ public func run_PrefixWhileArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/PrefixWhile.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ public func run_PrefixWhile${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/StringComparison.swift
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,7 @@ struct Workload {
)

}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/StringComparison.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -281,3 +281,7 @@ struct Workload {
)

}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/StringWalk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1224,3 +1224,7 @@ public func run_CharIndexing_punctuatedJapanese_unicodeScalars_Backwards(_ N: In




// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/StringWalk.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,7 @@ public func run_CharIndexing_${Name}_unicodeScalars_Backwards(_ N: Int) {


% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/Suffix.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,7 @@ public func run_SuffixArrayLazy(_ N: Int) {
CheckResults(result == sumCount)
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions benchmark/single-source/Suffix.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ public func run_Suffix${Name}(_ N: Int) {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
Original file line number Diff line number Diff line change
Expand Up @@ -6053,8 +6053,3 @@ public struct DefaultedRandomAccessRangeReplaceableSlice<Element>
}
}
*/


// Local Variables:
// eval: (read-only-mode 1)
// End:
5 changes: 0 additions & 5 deletions stdlib/private/StdlibUnittest/MinimalTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,3 @@ public struct MinimalStrideableValue : Equatable, Comparable, Strideable {
return MinimalStrideableValue(self.value + n, identity: self.identity)
}
}


// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 0 additions & 4 deletions stdlib/private/StdlibUnittest/StdlibUnittest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3003,7 +3003,3 @@ public func expectEqualUnicodeScalars(
stackTrace: stackTrace.pushIf(showFrame, file: file, line: line))
}
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 0 additions & 4 deletions stdlib/private/StdlibUnittest/StringConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,3 @@ public func expectDumped<T>(
expectEqual(expected, actual, message(),
stackTrace: stackTrace.pushIf(showFrame, file: file, line: line))
}

// Local Variables:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Codable.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -2178,3 +2178,7 @@ public extension UnkeyedDecodingContainer {
return try self.decode(T.self)
}
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/ExistentialCollection.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -1158,3 +1158,7 @@ extension ${Self}: _AnyCollectionProtocol {
}
}
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/FixedArray.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@ extension _FixedArray${N} {
}

% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/FloatingPoint.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -2587,3 +2587,7 @@ extension BinaryFloatingPoint {

@available(*, unavailable, renamed: "FloatingPoint")
public typealias FloatingPointType = FloatingPoint

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/FloatingPointParsing.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@ extension ${Self} : LosslessStringConvertible {
% end

% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/FloatingPointTypes.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -1880,3 +1880,7 @@ public func % <T : BinaryFloatingPoint>(lhs: T, rhs: T) -> T {
public func %= <T : BinaryFloatingPoint> (lhs: inout T, rhs: T) {
fatalError("%= is not available.")
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Integers.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -4269,3 +4269,7 @@ extension SignedInteger where Self : FixedWidthInteger {
}
% end
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Runtime.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -626,3 +626,7 @@ internal class _SwiftNativeNSSet {
}

#endif

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Sort.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,7 @@ public func swap<T>(_ a: inout T, _ b: inout T) {
// Initialize P2.
Builtin.initialize(tmp, p2)
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Stride.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -720,3 +720,7 @@ public func stride<T>(
) -> StrideThrough<T> {
return StrideThrough(_start: start, end: end, stride: stride)
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Substring.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -747,3 +747,7 @@ extension String.UnicodeScalarView {
return element
}
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/Tuple.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,7 @@ public func ${op} <${comparableTypeParams}>(lhs: ${tupleT}, rhs: ${tupleT}) -> B
}
% end
% end

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/UnavailableStringAPIs.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ ${stringSubscriptComment}
}
}


// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/UnsafeRawBufferPointer.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -820,3 +820,7 @@ public typealias UnsafeRawBufferPointerIterator<T> = UnsafeBufferPointer<T>.Iter

// @available(*, deprecated, renamed: "UnsafeRawBufferPointer.Iterator")
public typealias UnsafeMutableRawBufferPointerIterator<T> = UnsafeBufferPointer<T>.Iterator

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End:
4 changes: 4 additions & 0 deletions stdlib/public/core/UnsafeRawPointer.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -1075,3 +1075,7 @@ extension UnsafeMutableRawPointer {
@available(*, unavailable, renamed: "init(mutating:)")
public init?<T>(_ from : UnsafePointer<T>?) { Builtin.unreachable(); return nil }
}

// ${'Local Variables'}:
// eval: (read-only-mode 1)
// End: