]> granicus.if.org Git - clang/commitdiff
Remove copy ctor that provides no value over the default.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 17 Nov 2012 09:14:31 +0000 (09:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 17 Nov 2012 09:14:31 +0000 (09:14 +0000)
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

include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

index c2134cf04826a553b971967f1e1a8d5168122f2f..f757874d6e9ebe92048a669fed6e11cf00970ad0 100644 (file)
@@ -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;