Skip to content

Commit 5543e53

Browse files
Update CodeGenInstruction.cpp
1 parent 634cf6c commit 5543e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/Common/CodeGenInstruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ CGIOperandList::CGIOperandList(const Record *R) : TheDef(R) {
137137
" has the same name as a previous operand!");
138138

139139
OperandInfo &OpInfo = OperandList.emplace_back(
140-
Rec, std::string(ArgName), std::string(PrintMethod),
140+
Rec, std::string(ArgName), std::string(std::move(PrintMethod)),
141141
OperandNamespace + "::" + OperandType, MIOperandNo, NumOps, MIOpInfo);
142142

143143
if (SubArgDag) {

0 commit comments

Comments
 (0)