summaryrefslogtreecommitdiff
path: root/include/llvm/Support/SMLoc.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-07-08 19:47:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-07-08 19:47:51 +0000
commit367783223d6e3d1a421041a539172abc984b9684 (patch)
treed847bb96290244f4cc1e82b5ba37f87dd97c5305 /include/llvm/Support/SMLoc.h
parentd9cff9a25a9d4f2d8d9c1cb4960fb52cb049ef49 (diff)
downloadllvm-367783223d6e3d1a421041a539172abc984b9684.tar.gz
llvm-367783223d6e3d1a421041a539172abc984b9684.tar.bz2
llvm-367783223d6e3d1a421041a539172abc984b9684.tar.xz
Remove some trivial copy ctors so the classes become trivially copyable and get the optimized SmallVector implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SMLoc.h')
-rw-r--r--include/llvm/Support/SMLoc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Support/SMLoc.h b/include/llvm/Support/SMLoc.h
index 7e0811a1af..1bf810b4aa 100644
--- a/include/llvm/Support/SMLoc.h
+++ b/include/llvm/Support/SMLoc.h
@@ -24,7 +24,6 @@ class SMLoc {
const char *Ptr;
public:
SMLoc() : Ptr(0) {}
- SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {}
bool isValid() const { return Ptr != 0; }