From: Anna Zaks Date: Wed, 14 Sep 2011 17:53:23 +0000 (+0000) Subject: [analyzer] Remove redundant copy constructor. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33e8491d7cf757812b9f8d126e0368c3ac0d2dd6;p=clang [analyzer] Remove redundant copy constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139704 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h b/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h index 022922a74a..bc783a69b2 100644 --- a/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h +++ b/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h @@ -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; }