mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Doug twisted my arm and convinced me that noescape was a better match for the semantics we’ll have here. NoCapture would be confusable with "this closure doesn’t have any captures, thus should be compatible with thin function types"
The attribute itself remains __'ized. Swift SVN r24113
This commit is contained in:
@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// To ensure that two separate changes don't silently get merged into one
|
||||
/// in source control, you should also update the comment to briefly
|
||||
/// describe what change you made.
|
||||
const uint16_t VERSION_MINOR = 163; // Last change: nocapture
|
||||
const uint16_t VERSION_MINOR = 163; // Last change: noescape
|
||||
|
||||
using DeclID = Fixnum<31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -487,7 +487,7 @@ namespace decls_block {
|
||||
BCFixed<1>, // thin?
|
||||
BCFixed<1>, // noreturn?
|
||||
BCFixed<1>, // block-compatible?
|
||||
BCFixed<1> // nocapture?
|
||||
BCFixed<1> // noescape?
|
||||
>;
|
||||
|
||||
using MetatypeTypeLayout = BCRecordLayout<
|
||||
|
||||
Reference in New Issue
Block a user