Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CGData] Fix -Wpessimizing-move in CodeGenDataReader.cpp (NFC)
/llvm-project/llvm/lib/CodeGenData/CodeGenDataReader.cpp:78:12: error: moving a local object in a return statement prevents copy elision [-Werror,-Wpessimizing-move] return std::move(E); ^ /llvm-project/llvm/lib/CodeGenData/CodeGenDataReader.cpp:78:12: note: remove std::move call here return std::move(E); ^~~~~~~~~~ ~ 1 error generated.
- Loading branch information