File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -3842,7 +3842,7 @@ struct ParameterListInfo {
3842
3842
SmallBitVector implicitSelfCapture;
3843
3843
SmallBitVector inheritActorContext;
3844
3844
SmallBitVector variadicGenerics;
3845
- SmallBitVector isPassedToSending ;
3845
+ SmallBitVector sendingParameters ;
3846
3846
3847
3847
public:
3848
3848
ParameterListInfo () { }
@@ -3875,7 +3875,7 @@ struct ParameterListInfo {
3875
3875
bool isVariadicGenericParameter (unsigned paramIdx) const ;
3876
3876
3877
3877
// / Returns true if this is a sending parameter.
3878
- bool isPassedToSendingParameter (unsigned paramIdx) const ;
3878
+ bool isSendingParameter (unsigned paramIdx) const ;
3879
3879
3880
3880
// / Retrieve the number of non-defaulted parameters.
3881
3881
unsigned numNonDefaultedParameters () const {
Original file line number Diff line number Diff line change @@ -1299,7 +1299,7 @@ ParameterListInfo::ParameterListInfo(
1299
1299
implicitSelfCapture.resize (params.size ());
1300
1300
inheritActorContext.resize (params.size ());
1301
1301
variadicGenerics.resize (params.size ());
1302
- isPassedToSending .resize (params.size ());
1302
+ sendingParameters .resize (params.size ());
1303
1303
1304
1304
// No parameter owner means no parameter list means no default arguments
1305
1305
// - hand back the zeroed bitvector.
@@ -1365,7 +1365,7 @@ ParameterListInfo::ParameterListInfo(
1365
1365
}
1366
1366
1367
1367
if (param->isSending ()) {
1368
- isPassedToSending .set (i);
1368
+ sendingParameters .set (i);
1369
1369
}
1370
1370
}
1371
1371
}
@@ -1407,8 +1407,8 @@ bool ParameterListInfo::isVariadicGenericParameter(unsigned paramIdx) const {
1407
1407
: false ;
1408
1408
}
1409
1409
1410
- bool ParameterListInfo::isPassedToSendingParameter (unsigned paramIdx) const {
1411
- return paramIdx < isPassedToSending .size () ? isPassedToSending [paramIdx]
1410
+ bool ParameterListInfo::isSendingParameter (unsigned paramIdx) const {
1411
+ return paramIdx < sendingParameters .size () ? sendingParameters [paramIdx]
1412
1412
: false ;
1413
1413
}
1414
1414
Original file line number Diff line number Diff line change @@ -6208,8 +6208,7 @@ ArgumentList *ExprRewriter::coerceCallArguments(
6208
6208
// implicit self capture or inheriting actor context.
6209
6209
bool isImplicitSelfCapture = paramInfo.isImplicitSelfCapture (paramIdx);
6210
6210
bool inheritsActorContext = paramInfo.inheritsActorContext (paramIdx);
6211
- bool isPassedToSendingParameter =
6212
- paramInfo.isPassedToSendingParameter (paramIdx);
6211
+ bool isPassedToSendingParameter = paramInfo.isSendingParameter (paramIdx);
6213
6212
6214
6213
applyContextualClosureFlags (argExpr, isImplicitSelfCapture,
6215
6214
inheritsActorContext,
You can’t perform that action at this time.
0 commit comments