Skip to content

Commit

Permalink
Merge pull request #4 from llvm-swift/bump
Browse files Browse the repository at this point in the history
Update to Swift 4.2
  • Loading branch information
CodaFi committed Mar 1, 2019
2 parents 94ea2de + 86946e9 commit 413fb09
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
4.1
4.2
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,7 +5,7 @@ matrix:
include:
- os: osx
language: objective-c
osx_image: xcode9.3
osx_image: xcode10.2
script:
- swift build
- swift run pst-lite
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:4.2

import PackageDescription

Expand Down
4 changes: 2 additions & 2 deletions Sources/PrettyStackTrace/PrettyStackTrace.swift
@@ -1,6 +1,6 @@
/// PrettyStackTrace.swift
///
/// Copyright 2018, The LLVMSwift Project.
/// Copyright 2018-2019, The LLVMSwift Project.
///
/// This project is released under the MIT license, a copy of which is
/// available in the repository.
Expand Down Expand Up @@ -99,7 +99,7 @@ private func writeLeadingSpacesAndStackPosition(_ int: UInt) {
while int > 0 {
let remInt = int.remainderReportingOverflow(dividingBy: 10).partialValue
let remInt8 = Int8(truncatingIfNeeded: remInt)
int = int.unsafeDivided(by: 10)
int = int.dividedReportingOverflow(by: 10).0
end.pointee = remInt8 &+ 48 /// (ascii '0')
end = end.predecessor()
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/pst-file-check/main.swift
Expand Up @@ -70,7 +70,7 @@ func run() -> Int {
}

var options = FileCheckOptions()
binder.fill(results, into: &options)
try! binder.fill(parseResult: results, into: &options)

let fileHandle: FileHandle
if let input = results.get(inputFile) {
Expand Down

0 comments on commit 413fb09

Please sign in to comment.