[cfe-commits] r163982 - /cfe/trunk/include/clang/Lex/PTHManager.h
Dmitri Gribenko
gribozavr at gmail.com
Sat Sep 15 13:16:46 PDT 2012
Author: gribozavr
Date: Sat Sep 15 15:16:46 2012
New Revision: 163982
URL: http://llvm.org/viewvc/llvm-project?rev=163982&view=rev
Log:
Make PTHManager properly noncopyable.
Modified:
cfe/trunk/include/clang/Lex/PTHManager.h
Modified: cfe/trunk/include/clang/Lex/PTHManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PTHManager.h?rev=163982&r1=163981&r2=163982&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/PTHManager.h (original)
+++ cfe/trunk/include/clang/Lex/PTHManager.h Sat Sep 15 15:16:46 2012
@@ -81,9 +81,8 @@
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.
More information about the cfe-commits
mailing list