projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9023fd2
)
Use the default copy ctor and copy-assignment operators.
author
Dan Gohman
<gohman@apple.com>
Sat, 1 Aug 2009 19:11:31 +0000
(19:11 +0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 1 Aug 2009 19:11:31 +0000
(19:11 +0000)
llvm-svn: 77793
llvm/include/llvm/Support/CallSite.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/CallSite.h
b/llvm/include/llvm/Support/CallSite.h
index
dc41590
..
0a21060
100644
(file)
--- a/
llvm/include/llvm/Support/CallSite.h
+++ b/
llvm/include/llvm/Support/CallSite.h
@@
-40,8
+40,6
@@
public:
CallSite(CallInst *CI) : I(reinterpret_cast<Instruction*>(CI), true) {}
CallSite(InvokeInst *II) : I(reinterpret_cast<Instruction*>(II), false) {}
CallSite(Instruction *C);
- CallSite(const CallSite &CS) : I(CS.I) {}
- CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
bool operator==(const CallSite &CS) const { return I == CS.I; }
bool operator!=(const CallSite &CS) const { return I != CS.I; }