From: Dmitri Gribenko Date: Sat, 15 Sep 2012 20:16:46 +0000 (+0000) Subject: Make PTHManager properly noncopyable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec1b330cc309efa2f0835e8d83892ea2c89e3ae1;p=clang Make PTHManager properly noncopyable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163982 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/PTHManager.h b/include/clang/Lex/PTHManager.h index 44f9ab39f3..e64dbd8bbc 100644 --- a/include/clang/Lex/PTHManager.h +++ b/include/clang/Lex/PTHManager.h @@ -81,9 +81,8 @@ class PTHManager : public IdentifierInfoLookup { void* stringIdLookup, unsigned numIds, const unsigned char* spellingBase, const char *originalSourceFile); - // Do not implement. - PTHManager(); - void operator=(const PTHManager&); + PTHManager(const PTHManager &) LLVM_DELETED_FUNCTION; + void operator=(const PTHManager &) LLVM_DELETED_FUNCTION; /// getSpellingAtPTHOffset - Used by PTHLexer classes to get the cached /// spelling for a token.