[llvm] r257364 - [ORC] Explicitly delete copy constructors for RCMemoryManager::Alloc.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 11:05:45 PST 2016
Author: lhames
Date: Mon Jan 11 13:05:45 2016
New Revision: 257364
URL: http://llvm.org/viewvc/llvm-project?rev=257364&view=rev
Log:
[ORC] Explicitly delete copy constructors for RCMemoryManager::Alloc.
More MSVC bot appeasement.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h?rev=257364&r1=257363&r2=257364&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h Mon Jan 11 13:05:45 2016
@@ -253,6 +253,9 @@ public:
: Size(Size), Align(Align), Contents(new char[Size + Align - 1]),
RemoteAddr(0) {}
+ Alloc(const Alloc&) = delete;
+ Alloc& operator=(const Alloc&) = delete;
+
Alloc(Alloc &&Other)
: Size(std::move(Other.Size)), Align(std::move(Other.Align)),
Contents(std::move(Other.Contents)),
More information about the llvm-commits
mailing list