diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-08 19:47:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-08 19:47:51 +0000 |
commit | 367783223d6e3d1a421041a539172abc984b9684 (patch) | |
tree | d847bb96290244f4cc1e82b5ba37f87dd97c5305 /include/llvm/Support/SMLoc.h | |
parent | d9cff9a25a9d4f2d8d9c1cb4960fb52cb049ef49 (diff) |
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.h | 1 |
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; } |