Skip to content

Commit 069a65d

Browse files
committed
[region-isolation] Convert a static global to a constexpr.
1 parent b99a4f8 commit 069a65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Mandatory/TransferNonSendable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static Expr *getExprForPartitionOp(const PartitionOp &op) {
109109

110110
namespace {
111111

112-
static const char *SEP_STR = "╾──────────────────────────────╼\n";
112+
constexpr const char *SEP_STR = "╾──────────────────────────────╼\n";
113113

114114
using TrackableValueID = PartitionPrimitives::Element;
115115
using Region = PartitionPrimitives::Region;

0 commit comments

Comments
 (0)