Skip to content

Commit 98ebb64

Browse files
[NFC][MIRPrinter] Use std::move to avoid copy (#157832)
1 parent 18630b0 commit 98ebb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MIRPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ convertSRPoints(ModuleSlotTracker &MST,
627627
StrOS << printMBBReference(*MBB);
628628
Entry.Point = StrOS.str().str();
629629
Str.clear();
630-
YamlSRPoints.push_back(Entry);
630+
YamlSRPoints.push_back(std::move(Entry));
631631
}
632632
}
633633

0 commit comments

Comments
 (0)