diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-18 04:52:05 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-18 04:52:05 +0000 |
commit | be2fa7ebf01259b63dc52fe46c8d101c18e72269 (patch) | |
tree | 4e24ab61b8021486c97c051a0f9ce6692aec3be3 /include/clang/Basic/IdentifierTable.h | |
parent | 4b0824229b96d024a96f3c7dd75ab70652c05c5b (diff) |
Mark unimplemented copy constructors and copy assignment operators with LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index d77c870ec5..e0f4510f26 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -75,8 +75,8 @@ class IdentifierInfo { void *FETokenInfo; // Managed by the language front-end. llvm::StringMapEntry<IdentifierInfo*> *Entry; - IdentifierInfo(const IdentifierInfo&); // NONCOPYABLE. - void operator=(const IdentifierInfo&); // NONASSIGNABLE. + IdentifierInfo(const IdentifierInfo&) LLVM_DELETED_FUNCTION; + void operator=(const IdentifierInfo&) LLVM_DELETED_FUNCTION; friend class IdentifierTable; |