From: Benjamin Kramer Date: Sat, 17 Nov 2012 09:14:31 +0000 (+0000) Subject: Remove copy ctor that provides no value over the default. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48a7345a0bffcb01290447c73c6f17680d80f02f;p=clang 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 --- 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 support. static inline bool classof(const SVal* V) { return V->getBaseKind() == LocKind;