mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add magic "literal" __DSO_HANDLE__ to refer to the DSO handle.
__DSO_HANDLE__ can be used as a callee-side default argument. Addresses rdar://problem/17878114. Swift SVN r21440
This commit is contained in:
@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// Serialized module format minor version number.
|
||||
///
|
||||
/// When the format changes IN ANY WAY, this number should be incremented.
|
||||
const uint16_t VERSION_MINOR = 129;
|
||||
const uint16_t VERSION_MINOR = 130;
|
||||
|
||||
using DeclID = Fixnum<31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -202,6 +202,7 @@ enum DefaultArgumentKind : uint8_t {
|
||||
Column,
|
||||
Function,
|
||||
Inherited,
|
||||
DSOHandle,
|
||||
};
|
||||
using DefaultArgumentField = BCFixed<3>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user