Skip to content

Commit 1f97219

Browse files
committed
Apply clang-tidy fixes for performance-move-const-arg in Pattern.cpp (NFC)
1 parent dfe1759 commit 1f97219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/TableGen/Pattern.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ StringRef SymbolInfoMap::getValuePackName(StringRef symbol, int *index) {
225225
SymbolInfoMap::SymbolInfo::SymbolInfo(
226226
const Operator *op, SymbolInfo::Kind kind,
227227
std::optional<DagAndConstant> dagAndConstant)
228-
: op(op), kind(kind), dagAndConstant(std::move(dagAndConstant)) {}
228+
: op(op), kind(kind), dagAndConstant(dagAndConstant) {}
229229

230230
int SymbolInfoMap::SymbolInfo::getStaticValueCount() const {
231231
switch (kind) {

0 commit comments

Comments
 (0)