summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-01 19:11:31 +0000
committerDan Gohman <gohman@apple.com>2009-08-01 19:11:31 +0000
commit7aeff084a4c452ad9cbe510d7b999782b12378e3 (patch)
tree26bc22783f1b464e733c6a1ae49b5b2ae37ce781 /include
parent5f9b69f345701bfd105587aee480bc1b91dc9f2f (diff)
downloadexternal_llvm-7aeff084a4c452ad9cbe510d7b999782b12378e3.zip
external_llvm-7aeff084a4c452ad9cbe510d7b999782b12378e3.tar.gz
external_llvm-7aeff084a4c452ad9cbe510d7b999782b12378e3.tar.bz2
Use the default copy ctor and copy-assignment operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CallSite.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index dc41590..0a21060 100644
--- 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; }