summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/RegAllocPBQP.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-17 06:59:23 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-17 06:59:23 +0000
commit001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e (patch)
treed02ed0fa01f5b6ca9617e669505b7d391d3af029 /include/llvm/CodeGen/RegAllocPBQP.h
parentde8091708f2d5ade958507aa6d37907a6277e9f2 (diff)
downloadexternal_llvm-001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e.zip
external_llvm-001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e.tar.gz
external_llvm-001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e.tar.bz2
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/CodeGen/RegAllocPBQP.h')
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/RegAllocPBQP.h b/include/llvm/CodeGen/RegAllocPBQP.h
index bce3ec7..acfc07d 100644
--- a/include/llvm/CodeGen/RegAllocPBQP.h
+++ b/include/llvm/CodeGen/RegAllocPBQP.h
@@ -109,8 +109,8 @@ namespace llvm {
/// class to support additional constraints for your architecture.
class PBQPBuilder {
private:
- PBQPBuilder(const PBQPBuilder&) {}
- void operator=(const PBQPBuilder&) {}
+ PBQPBuilder(const PBQPBuilder&) LLVM_DELETED_FUNCTION;
+ void operator=(const PBQPBuilder&) LLVM_DELETED_FUNCTION;
public:
typedef std::set<unsigned> RegSet;