mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +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@164017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -266,8 +266,8 @@ const uint64_t UnknownAddressOrSize = ~0ULL;
|
||||
/// figure out which type to create.
|
||||
class ObjectFile : public Binary {
|
||||
virtual void anchor();
|
||||
ObjectFile(); // = delete
|
||||
ObjectFile(const ObjectFile &other); // = delete
|
||||
ObjectFile() LLVM_DELETED_FUNCTION;
|
||||
ObjectFile(const ObjectFile &other) LLVM_DELETED_FUNCTION;
|
||||
|
||||
protected:
|
||||
ObjectFile(unsigned int Type, MemoryBuffer *source, error_code &ec);
|
||||
|
Reference in New Issue
Block a user