]> granicus.if.org Git - clang/commitdiff
[analyzer] Remove redundant copy constructor.
authorAnna Zaks <ganna@apple.com>
Wed, 14 Sep 2011 17:53:23 +0000 (17:53 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 14 Sep 2011 17:53:23 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139704 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h

index 022922a74af65b33e53be82e90ca0017c138b01f..bc783a69b234183dde4f96d5a22fe9b4c59d15d1 100644 (file)
@@ -120,15 +120,6 @@ public:
     return !(*this == X);
   }
 
-  PathDiagnosticLocation& operator=(const PathDiagnosticLocation &X) {
-    K = X.K;
-    R = X.R;
-    S = X.S;
-    D = X.D;
-    SM = X.SM;
-    return *this;
-  }
-
   bool isValid() const {
     return SM != 0;
   }