diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:31:17 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:31:17 +0000 |
commit | fc601db2ed899d800ea0a50f7ecf7de2a820cbc1 (patch) | |
tree | 76b49169e9ebb1bff5c2f651c1cddebfa7a7b22b /include/llvm/ADT/ScopedHashTable.h | |
parent | 7ffafe4102ec4b8491a82e700076c85bd692ec84 (diff) |
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/ScopedHashTable.h')
-rw-r--r-- | include/llvm/ADT/ScopedHashTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ScopedHashTable.h b/include/llvm/ADT/ScopedHashTable.h index a6803ee0ed..efddd9f9b8 100644 --- a/include/llvm/ADT/ScopedHashTable.h +++ b/include/llvm/ADT/ScopedHashTable.h @@ -90,8 +90,8 @@ class ScopedHashTableScope { /// LastValInScope - This is the last value that was inserted for this scope /// or null if none have been inserted yet. ScopedHashTableVal<K, V> *LastValInScope; - void operator=(ScopedHashTableScope&); // DO NOT IMPLEMENT - ScopedHashTableScope(ScopedHashTableScope&); // DO NOT IMPLEMENT + void operator=(ScopedHashTableScope&) LLVM_DELETED_FUNCTION; + ScopedHashTableScope(ScopedHashTableScope&) LLVM_DELETED_FUNCTION; public: ScopedHashTableScope(ScopedHashTable<K, V, KInfo, AllocatorTy> &HT); ~ScopedHashTableScope(); |