Skip to content

Commit 597464b

Browse files
committed
Remove std::move
1 parent 6c5c5d6 commit 597464b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/OpenMP/ClauseProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ bool ClauseProcessor::processLinear(mlir::omp::LinearClauseOps &result) const {
11841184
typeAttrs.push_back(mlir::TypeAttr::get(ty));
11851185
}
11861186
result.linearVarTypes =
1187-
std::move(mlir::ArrayAttr::get(&converter.getMLIRContext(), typeAttrs));
1187+
mlir::ArrayAttr::get(&converter.getMLIRContext(), typeAttrs);
11881188
if (objects.size()) {
11891189
if (auto &mod =
11901190
std::get<std::optional<omp::clause::Linear::StepComplexModifier>>(

0 commit comments

Comments
 (0)