Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2012-09-16 21:37:56 +00:00
parent fbb13471ed
commit f630e49efc
18 changed files with 59 additions and 48 deletions

View File

@ -34,8 +34,8 @@ namespace sys {
void *Data_;
// Noncopyable.
Program(const Program& other);
Program& operator=(const Program& other);
Program(const Program& other) LLVM_DELETED_FUNCTION;
Program& operator=(const Program& other) LLVM_DELETED_FUNCTION;
/// @name Methods
/// @{