mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace materializeForSet with the modify coroutine.
Most of this patch is just removing special cases for materializeForSet or other fairly mechanical replacements. Unfortunately, the rest is still a fairly big change, and not one that can be easily split apart because of the quite reasonable reliance on metaprogramming throughout the compiler. And, of course, there are a bunch of test updates that have to be sync'ed with the actual change to code-generation. This is SR-7134.
This commit is contained in:
@@ -213,8 +213,6 @@ UIdent SwiftLangSupport::getUIDForAccessor(const ValueDecl *D,
|
||||
AccessorKind AccKind,
|
||||
bool IsRef) {
|
||||
switch (AccKind) {
|
||||
case AccessorKind::MaterializeForSet:
|
||||
llvm_unreachable("unexpected MaterializeForSet");
|
||||
case AccessorKind::Get:
|
||||
return IsRef ? KindRefAccessorGetter : KindDeclAccessorGetter;
|
||||
case AccessorKind::Set:
|
||||
|
||||
Reference in New Issue
Block a user