Make PTHManager properly noncopyable.

llvm-svn: 163982
This commit is contained in:
Dmitri Gribenko 2012-09-15 20:16:46 +00:00
parent 75f8498074
commit ecee975834
1 changed files with 2 additions and 3 deletions

View File

@ -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.