@@ -620,7 +620,7 @@ class ASTExtInfoBuilder {
620620 clangTypeInfo, globalActor, thrownError, lifetimeDependenceInfo);
621621 }
622622 [[nodiscard]]
623- ASTExtInfoBuilder withConcurrent (bool concurrent = true ) const {
623+ ASTExtInfoBuilder withSendable (bool concurrent = true ) const {
624624 return ASTExtInfoBuilder (
625625 concurrent ? (bits | SendableMask) : (bits & ~SendableMask),
626626 clangTypeInfo, globalActor, thrownError, lifetimeDependenceInfo);
@@ -808,10 +808,10 @@ class ASTExtInfo {
808808
809809 // / Helper method for changing only the concurrent field.
810810 // /
811- // / Prefer using \c ASTExtInfoBuilder::withConcurrent for chaining.
811+ // / Prefer using \c ASTExtInfoBuilder::withSendable for chaining.
812812 [[nodiscard]]
813- ASTExtInfo withConcurrent (bool concurrent = true ) const {
814- return builder.withConcurrent (concurrent ).build ();
813+ ASTExtInfo withSendable (bool isSendable = true ) const {
814+ return builder.withSendable (isSendable ).build ();
815815 }
816816
817817 // / Helper method for changing only the throws field.
@@ -1122,7 +1122,7 @@ class SILExtInfoBuilder {
11221122 clangTypeInfo, lifetimeDependenceInfo);
11231123 }
11241124 [[nodiscard]]
1125- SILExtInfoBuilder withConcurrent (bool isSendable = true ) const {
1125+ SILExtInfoBuilder withSendable (bool isSendable = true ) const {
11261126 return SILExtInfoBuilder (isSendable ? (bits | SendableMask)
11271127 : (bits & ~SendableMask),
11281128 clangTypeInfo, lifetimeDependenceInfo);
@@ -1294,8 +1294,8 @@ class SILExtInfo {
12941294 return builder.withNoEscape (noEscape).build ();
12951295 }
12961296
1297- SILExtInfo withConcurrent (bool isSendable = true ) const {
1298- return builder.withConcurrent (isSendable).build ();
1297+ SILExtInfo withSendable (bool isSendable = true ) const {
1298+ return builder.withSendable (isSendable).build ();
12991299 }
13001300
13011301 SILExtInfo withAsync (bool isAsync = true ) const {
0 commit comments