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 @@ -3836,7 +3836,7 @@ struct ParameterListInfo {
3836
3836
SmallBitVector implicitSelfCapture;
3837
3837
SmallBitVector inheritActorContext;
3838
3838
SmallBitVector variadicGenerics;
3839
- SmallBitVector isPassedToSending ;
3839
+ SmallBitVector sendingParameters ;
3840
3840
3841
3841
public:
3842
3842
ParameterListInfo () { }
@@ -3869,7 +3869,7 @@ struct ParameterListInfo {
3869
3869
bool isVariadicGenericParameter (unsigned paramIdx) const ;
3870
3870
3871
3871
// / Returns true if this is a sending parameter.
3872
- bool isPassedToSendingParameter (unsigned paramIdx) const ;
3872
+ bool isSendingParameter (unsigned paramIdx) const ;
3873
3873
3874
3874
// / Retrieve the number of non-defaulted parameters.
3875
3875
unsigned numNonDefaultedParameters () const {
Original file line number Diff line number Diff line change @@ -1304,7 +1304,7 @@ ParameterListInfo::ParameterListInfo(
1304
1304
implicitSelfCapture.resize (params.size ());
1305
1305
inheritActorContext.resize (params.size ());
1306
1306
variadicGenerics.resize (params.size ());
1307
- isPassedToSending .resize (params.size ());
1307
+ sendingParameters .resize (params.size ());
1308
1308
1309
1309
// No parameter owner means no parameter list means no default arguments
1310
1310
// - hand back the zeroed bitvector.
@@ -1370,7 +1370,7 @@ ParameterListInfo::ParameterListInfo(
1370
1370
}
1371
1371
1372
1372
if (param->isSending ()) {
1373
- isPassedToSending .set (i);
1373
+ sendingParameters .set (i);
1374
1374
}
1375
1375
}
1376
1376
}
@@ -1412,8 +1412,8 @@ bool ParameterListInfo::isVariadicGenericParameter(unsigned paramIdx) const {
1412
1412
: false ;
1413
1413
}
1414
1414
1415
- bool ParameterListInfo::isPassedToSendingParameter (unsigned paramIdx) const {
1416
- return paramIdx < isPassedToSending .size () ? isPassedToSending [paramIdx]
1415
+ bool ParameterListInfo::isSendingParameter (unsigned paramIdx) const {
1416
+ return paramIdx < sendingParameters .size () ? sendingParameters [paramIdx]
1417
1417
: false ;
1418
1418
}
1419
1419
Original file line number Diff line number Diff line change @@ -6206,8 +6206,7 @@ ArgumentList *ExprRewriter::coerceCallArguments(
6206
6206
// implicit self capture or inheriting actor context.
6207
6207
bool isImplicitSelfCapture = paramInfo.isImplicitSelfCapture (paramIdx);
6208
6208
bool inheritsActorContext = paramInfo.inheritsActorContext (paramIdx);
6209
- bool isPassedToSendingParameter =
6210
- paramInfo.isPassedToSendingParameter (paramIdx);
6209
+ bool isPassedToSendingParameter = paramInfo.isSendingParameter (paramIdx);
6211
6210
6212
6211
applyContextualClosureFlags (argExpr, isImplicitSelfCapture,
6213
6212
inheritsActorContext,
You can’t perform that action at this time.
0 commit comments