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:
5f9b69f
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77793
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CallSite.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CallSite.h
b/include/llvm/Support/CallSite.h
index dc41590fb8a561b73997d72c89f81732a4b536b8..0a21060f2d1f20d8832ae5f546521d5f7a1cc198 100644
(file)
--- a/
include/llvm/Support/CallSite.h
+++ b/
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; }