[llvm] 064e7d1 - [Kaleidoscope][BuildingAJIT] Add a missing std::move.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 15 15:40:58 PST 2019
Author: Lang Hames
Date: 2019-12-15T15:37:18-08:00
New Revision: 064e7d1df17dcd7f82215c258e2793aa1f8ed760
URL: https://github.com/llvm/llvm-project/commit/064e7d1df17dcd7f82215c258e2793aa1f8ed760
DIFF: https://github.com/llvm/llvm-project/commit/064e7d1df17dcd7f82215c258e2793aa1f8ed760.diff
LOG: [Kaleidoscope][BuildingAJIT] Add a missing std::move.
This should fix the build failure described in
https://github.com/llvm/llvm-project/issues/63.
Added:
Modified:
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
Removed:
################################################################################
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
index 8037e58ae4f7..c8f01c04cf5f 100644
--- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
@@ -105,7 +105,7 @@ class KaleidoscopeJIT {
FPM->run(F);
});
- return TSM;
+ return std::move(TSM);
}
};
More information about the llvm-commits
mailing list