mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Nullable return Spans did not include __swiftifyOverrideLifetime, resulting in a lifetime error when returning the Span. Meanwhile return values for __sized_by did not use the correct label for the call to the RawSpan initializer, using `count` instead of `byteCount`. rdar://151804085 rdar://151799287
29 lines
528 B
Plaintext
29 lines
528 B
Plaintext
module CountedByClang {
|
|
header "counted-by.h"
|
|
export *
|
|
}
|
|
module CountedByNoEscapeClang {
|
|
header "counted-by-noescape.h"
|
|
export *
|
|
}
|
|
module SizedByClang {
|
|
header "sized-by.h"
|
|
export *
|
|
}
|
|
module SizedByNoEscapeClang {
|
|
header "sized-by-noescape.h"
|
|
export *
|
|
}
|
|
module SizedByLifetimeboundClang {
|
|
header "sized-by-lifetimebound.h"
|
|
export *
|
|
}
|
|
module CountedByLifetimeboundClang {
|
|
header "counted-by-lifetimebound.h"
|
|
export *
|
|
}
|
|
module CommentsClang {
|
|
header "comments.h"
|
|
export *
|
|
}
|