mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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@164016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,10 +33,11 @@ namespace llvm {
|
||||
|
||||
class TargetLoweringObjectFile : public MCObjectFileInfo {
|
||||
MCContext *Ctx;
|
||||
|
||||
TargetLoweringObjectFile(const TargetLoweringObjectFile&); // DO NOT IMPLEMENT
|
||||
void operator=(const TargetLoweringObjectFile&); // DO NOT IMPLEMENT
|
||||
|
||||
|
||||
TargetLoweringObjectFile(
|
||||
const TargetLoweringObjectFile&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const TargetLoweringObjectFile&) LLVM_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
MCContext &getContext() const { return *Ctx; }
|
||||
|
||||
|
Reference in New Issue
Block a user