mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST/ASTGen/Sema/Serialization] Remove @execution attribute
Complete the transition from `@execution` to `@concurrent` and `nonisolated(nonsending)`
This commit is contained in:
@@ -2938,15 +2938,6 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
|
||||
}
|
||||
#include "swift/AST/DeclAttr.def"
|
||||
|
||||
case DeclAttrKind::Execution: {
|
||||
auto *theAttr = cast<ExecutionAttr>(DA);
|
||||
auto abbrCode = S.DeclTypeAbbrCodes[ExecutionDeclAttrLayout::Code];
|
||||
ExecutionDeclAttrLayout::emitRecord(
|
||||
S.Out, S.ScratchRecord, abbrCode,
|
||||
static_cast<uint8_t>(theAttr->getBehavior()));
|
||||
return;
|
||||
}
|
||||
|
||||
case DeclAttrKind::ABI: {
|
||||
auto *theAttr = cast<ABIAttr>(DA);
|
||||
auto abbrCode = S.DeclTypeAbbrCodes[ABIDeclAttrLayout::Code];
|
||||
|
||||
Reference in New Issue
Block a user