mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -29,8 +29,8 @@ class MemoryBuffer;
|
||||
// FIXME: As the RuntimeDyld fills out, additional routines will be needed
|
||||
// for the varying types of objects to be allocated.
|
||||
class RTDyldMemoryManager {
|
||||
RTDyldMemoryManager(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
|
||||
void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
|
||||
RTDyldMemoryManager(const RTDyldMemoryManager&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const RTDyldMemoryManager&) LLVM_DELETED_FUNCTION;
|
||||
public:
|
||||
RTDyldMemoryManager() {}
|
||||
virtual ~RTDyldMemoryManager();
|
||||
@ -50,8 +50,8 @@ public:
|
||||
};
|
||||
|
||||
class RuntimeDyld {
|
||||
RuntimeDyld(const RuntimeDyld &); // DO NOT IMPLEMENT
|
||||
void operator=(const RuntimeDyld &); // DO NOT IMPLEMENT
|
||||
RuntimeDyld(const RuntimeDyld &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const RuntimeDyld &) LLVM_DELETED_FUNCTION;
|
||||
|
||||
// RuntimeDyldImpl is the actual class. RuntimeDyld is just the public
|
||||
// interface.
|
||||
|
Reference in New Issue
Block a user