projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800c47e
)
disable copying, enforce some invariants.
author
Chris Lattner
<sabre@nondot.org>
Sun, 15 Nov 2009 20:03:53 +0000
(20:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 15 Nov 2009 20:03:53 +0000
(20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88870
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/LazyValueInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/LazyValueInfo.h
b/include/llvm/Analysis/LazyValueInfo.h
index dd80fcedd4ac7ec1b67c3d293f0850762de4dc18..566788daa6161d1d15d0fc3e7b2b2cbe2368ff31 100644
(file)
--- a/
include/llvm/Analysis/LazyValueInfo.h
+++ b/
include/llvm/Analysis/LazyValueInfo.h
@@
-27,9
+27,12
@@
namespace llvm {
class LazyValueInfo : public FunctionPass {
class TargetData *TD;
void *PImpl;
+ LazyValueInfo(const LazyValueInfo&); // DO NOT IMPLEMENT.
+ void operator=(const LazyValueInfo&); // DO NOT IMPLEMENT.
public:
static char ID;
LazyValueInfo() : FunctionPass(&ID), PImpl(0) {}
+ ~LazyValueInfo() { assert(PImpl == 0 && "releaseMemory not called"); }
/// Tristate - This is used to return true/false/dunno results.
enum Tristate {