diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:59:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:59:23 +0000 |
commit | 001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e (patch) | |
tree | d02ed0fa01f5b6ca9617e669505b7d391d3af029 /include/llvm/Target/TargetLoweringObjectFile.h | |
parent | de8091708f2d5ade958507aa6d37907a6277e9f2 (diff) |
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
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r-- | include/llvm/Target/TargetLoweringObjectFile.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h index d631f58aab..13a6fe37d7 100644 --- a/include/llvm/Target/TargetLoweringObjectFile.h +++ b/include/llvm/Target/TargetLoweringObjectFile.h @@ -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; } |