File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1257,11 +1257,11 @@ class AbstractionPattern {
1257
1257
1258
1258
// / Given that the value being abstracted is a move only type, return the
1259
1259
// / abstraction pattern with the move only bit removed.
1260
- AbstractionPattern withoutMoveOnly () const ;
1260
+ AbstractionPattern removingMoveOnlyWrapper () const ;
1261
1261
1262
1262
// / Given that the value being abstracted is not a move only type, return the
1263
1263
// / abstraction pattern with the move only bit added.
1264
- AbstractionPattern withMoveOnly () const ;
1264
+ AbstractionPattern addingMoveOnlyWrapper () const ;
1265
1265
1266
1266
// / Given that the value being abstracted is a tuple type, return
1267
1267
// / the abstraction pattern for its object type.
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ AbstractionPattern::getTupleElementType(unsigned index) const {
401
401
llvm_unreachable (" bad kind" );
402
402
}
403
403
404
- AbstractionPattern AbstractionPattern::withoutMoveOnly () const {
404
+ AbstractionPattern AbstractionPattern::removingMoveOnlyWrapper () const {
405
405
switch (getKind ()) {
406
406
case Kind::Invalid:
407
407
llvm_unreachable (" querying invalid abstraction pattern!" );
@@ -435,7 +435,7 @@ AbstractionPattern AbstractionPattern::withoutMoveOnly() const {
435
435
llvm_unreachable (" bad kind" );
436
436
}
437
437
438
- AbstractionPattern AbstractionPattern::withMoveOnly () const {
438
+ AbstractionPattern AbstractionPattern::addingMoveOnlyWrapper () const {
439
439
switch (getKind ()) {
440
440
case Kind::Invalid:
441
441
llvm_unreachable (" querying invalid abstraction pattern!" );
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ namespace {
697
697
RetTy visitSILMoveOnlyType (CanSILMoveOnlyType type,
698
698
AbstractionPattern origType,
699
699
IsTypeExpansionSensitive_t isSensitive) {
700
- AbstractionPattern innerAbstraction = origType.withoutMoveOnly ();
700
+ AbstractionPattern innerAbstraction = origType.removingMoveOnlyWrapper ();
701
701
CanType innerType = type->getInnerType ();
702
702
auto &lowering =
703
703
TC.getTypeLowering (innerAbstraction, innerType, Expansion);
You can’t perform that action at this time.
0 commit comments