Commit Graph

7 Commits

Author SHA1 Message Date
Saleem Abdulrasool
3edb39f88e IRGen: repair the test on Windows (NFC) 2021-02-22 09:14:16 -08:00
Erik Eckstein
f2a3f6210d disable IRGen/marker_protocol.swift test for 32 bit. 2021-02-21 17:41:59 +01:00
Doug Gregor
2ff8808e55 Fix test for Linux 2021-02-20 07:59:59 -08:00
Doug Gregor
4808ed3001 [IRGen] Fix miscount for protocol requirements involving marker protocols.
We had an imbalance where we counted conformance requirements to
marker protocols in the number of requirements in a protocol's
requirement signature, but then did not emit the requirement. Don't
count them, either.
2021-02-19 23:39:42 -08:00
Doug Gregor
2493dc9f0f Eliminate more ABI vestigates of marker protocols 2021-02-03 00:09:21 -08:00
Doug Gregor
cca2d2804d Fix test for Windows 2021-02-02 23:01:40 -08:00
Doug Gregor
c9d66f0d35 Add "marker" protocols, indicated by @_marker.
A marker protocol is a protocol with no requirements and with no ABI
footprint. They can be used to indicate semantics, only, and one can
never have values of a marker protocol type.

We still mangle marker protocols when they are used as generic
requirements, because they are a distinguishing characteristic for
overloading, but "no ABI footprint" means no protocol descriptors,
conformance descriptors, or dynamic discovery of any kind.
2021-02-02 21:53:26 -08:00