Commit Graph

5 Commits

Author SHA1 Message Date
Ben Cohen
2010f02e8a Remove overly-permissive UnsafePointer init 2019-01-31 18:05:11 -08:00
Slava Pestov
28b0606b46 'Migrate' compiler crashers to Swift 4 2018-07-03 16:03:07 -07:00
Slava Pestov
5d2752f7d2 Run tests with -swift-version 4 by default
Some test now fail, so add an explicit -swift-version 3.
2018-06-19 23:24:19 -07:00
Slava Pestov
16820526b8 This test requires Objective-C interop 2017-01-03 22:22:14 -08:00
Slava Pestov
645d262f77 IRGen: Fix Clang type conversion for pointers to optionals of metatypes
Be sure to lower the payload type of UnsafeMutablePointer and friends
before converting them, because the Clang type converter expects
optionals to have lowered payloads already.

Also, remove the FunctionType path; with the above change AST-level
function types should no longer show up here.

Fixes <https://bugs.swift.org/browse/SR-2702>.
2017-01-03 21:27:28 -08:00