aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-17 09:14:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-17 09:14:31 +0000
commit48a7345a0bffcb01290447c73c6f17680d80f02f (patch)
tree7170f9aabef2f0a54bb30121d7e58eec79d4004b
parenteba76a4379997f66f8114eb7e63206a5932b1be8 (diff)
Remove copy ctor that provides no value over the default.
It's also simpler to just copy the words than mangling bits like this ctor did. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168258 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
index c2134cf048..f757874d6e 100644
--- a/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
+++ b/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
@@ -235,8 +235,6 @@ protected:
public:
void dumpToStream(raw_ostream &Out) const;
- Loc(const Loc& X) : DefinedSVal(X.Data, true, X.getSubKind()) {}
-
// Implement isa<T> support.
static inline bool classof(const SVal* V) {
return V->getBaseKind() == LocKind;