forked from OSchip/llvm-project
Remove std::move of trivially-copyable type.
Address ClangTidy finding: * std::move of the expression of the trivially-copyable type 'mlir::Module' (aka 'mlir::ModuleOp') has no effect; remove std::move() PiperOrigin-RevId: 256981849
This commit is contained in:
parent
3898e100c8
commit
01d042a123
|
@ -87,7 +87,7 @@ public:
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
return std::move(theModule);
|
||||
return theModule;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue