diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:43:55 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-17 06:43:55 +0000 |
commit | de8091708f2d5ade958507aa6d37907a6277e9f2 (patch) | |
tree | b0c9b56733656fd717afb7176f7efdcbee7f9067 /include/llvm/Analysis/LazyValueInfo.h | |
parent | fc601db2ed899d800ea0a50f7ecf7de2a820cbc1 (diff) | |
download | external_llvm-de8091708f2d5ade958507aa6d37907a6277e9f2.zip external_llvm-de8091708f2d5ade958507aa6d37907a6277e9f2.tar.gz external_llvm-de8091708f2d5ade958507aa6d37907a6277e9f2.tar.bz2 |
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LazyValueInfo.h')
-rw-r--r-- | include/llvm/Analysis/LazyValueInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LazyValueInfo.h b/include/llvm/Analysis/LazyValueInfo.h index 065c230..7b887d5 100644 --- a/include/llvm/Analysis/LazyValueInfo.h +++ b/include/llvm/Analysis/LazyValueInfo.h @@ -29,8 +29,8 @@ class LazyValueInfo : public FunctionPass { class TargetData *TD; class TargetLibraryInfo *TLI; void *PImpl; - LazyValueInfo(const LazyValueInfo&); // DO NOT IMPLEMENT. - void operator=(const LazyValueInfo&); // DO NOT IMPLEMENT. + LazyValueInfo(const LazyValueInfo&) LLVM_DELETED_FUNCTION; + void operator=(const LazyValueInfo&) LLVM_DELETED_FUNCTION; public: static char ID; LazyValueInfo() : FunctionPass(ID), PImpl(0) { |