diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-18 02:01:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-18 02:01:41 +0000 |
commit | c2945e44d5d485ce080a09900fbd5245e01165fc (patch) | |
tree | e3548b3706d6bc59bdb779fe2460e8cf06f82579 /lib/CodeGen/SelectionDAG/SDNodeOrdering.h | |
parent | d10eab0a95dcfff6390cc73b50ca07fd8b98b0bc (diff) |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SDNodeOrdering.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SDNodeOrdering.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SDNodeOrdering.h b/lib/CodeGen/SelectionDAG/SDNodeOrdering.h index f88b26d5c4..d2269f8acc 100644 --- a/lib/CodeGen/SelectionDAG/SDNodeOrdering.h +++ b/lib/CodeGen/SelectionDAG/SDNodeOrdering.h @@ -28,8 +28,8 @@ class SDNode; class SDNodeOrdering { DenseMap<const SDNode*, unsigned> OrderMap; - void operator=(const SDNodeOrdering&); // Do not implement. - SDNodeOrdering(const SDNodeOrdering&); // Do not implement. + void operator=(const SDNodeOrdering&) LLVM_DELETED_FUNCTION; + SDNodeOrdering(const SDNodeOrdering&) LLVM_DELETED_FUNCTION; public: SDNodeOrdering() {} |