Skip to content

Commit 576dfca

Browse files
authored
Merge pull request #76490 from gottesmm/pr-748475502347e63ae244ea1d5aef83208ae87b8f
[typechecker] Convert a std::string -> SmallString.
2 parents da0c70f + e9c7470 commit 576dfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/TypeCheckConcurrency.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,9 +1386,9 @@ void swift::diagnoseMissingExplicitSendable(NominalTypeDecl *nominal) {
13861386
// based on the requirements harvested from instance storage.
13871387

13881388
// Form the where clause containing all of the requirements.
1389-
std::string whereClause;
1389+
SmallString<64> whereClause;
13901390
{
1391-
llvm::raw_string_ostream out(whereClause);
1391+
llvm::raw_svector_ostream out(whereClause);
13921392
llvm::interleaveComma(
13931393
requirements, out,
13941394
[&](const Requirement &req) {

0 commit comments

Comments
 (0)