antlr/runtime/Swift/Tests
Ewan Mellor ba392be1af
Remove use of deprecated String functions in StringExtension.
Remove some functions that are no longer used, and update the
rest to Swift 4's String API.  lastIndexOf changes to lastIndex(of: ),
matching the standard library naming conventions, and returns a
String.Index? instead of an Int.

Add an implementation of Substring.hasPrefix for Linux; this
is in the Apple standard library but not the Linux one.
https://bugs.swift.org/browse/SR-5627

Add unit tests for StringExtension.

Bump the Swift download for the Travis Linux tests from 4.0
to 4.0.2.  There is a bug in Substring.range(of:) in 4.0.0
(https://bugs.swift.org/browse/SR-5663) that we need to avoid.
2017-11-07 17:06:15 -08:00
..
Antlr4Tests Remove use of deprecated String functions in StringExtension. 2017-11-07 17:06:15 -08:00
Info.plist Reorg Swift runtime file structure. 2017-01-16 00:23:25 -08:00
LinuxMain.swift swift build & swift test support Linux platform 2017-06-03 22:57:21 -07:00