diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-15 20:20:27 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-15 20:20:27 +0000 |
commit | f56faa01936b9cf909623d7f06e3c2569ca4a78e (patch) | |
tree | 9344fc3e6261f90eeed1390be6da48acc83727e1 /include/clang/Basic/IdentifierTable.h | |
parent | ec1b330cc309efa2f0835e8d83892ea2c89e3ae1 (diff) | |
download | clang-f56faa01936b9cf909623d7f06e3c2569ca4a78e.tar.gz clang-f56faa01936b9cf909623d7f06e3c2569ca4a78e.tar.bz2 clang-f56faa01936b9cf909623d7f06e3c2569ca4a78e.tar.xz |
Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index dc6acdaa91..d77c870ec5 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -346,8 +346,8 @@ public: /// actual functionality. class IdentifierIterator { private: - IdentifierIterator(const IdentifierIterator&); // Do not implement - IdentifierIterator &operator=(const IdentifierIterator&); // Do not implement + IdentifierIterator(const IdentifierIterator &) LLVM_DELETED_FUNCTION; + void operator=(const IdentifierIterator &) LLVM_DELETED_FUNCTION; protected: IdentifierIterator() { } @@ -695,8 +695,8 @@ public: /// multi-keyword caching. class SelectorTable { void *Impl; // Actually a SelectorTableImpl - SelectorTable(const SelectorTable&); // DISABLED: DO NOT IMPLEMENT - void operator=(const SelectorTable&); // DISABLED: DO NOT IMPLEMENT + SelectorTable(const SelectorTable &) LLVM_DELETED_FUNCTION; + void operator=(const SelectorTable &) LLVM_DELETED_FUNCTION; public: SelectorTable(); ~SelectorTable(); |