From 33e8491d7cf757812b9f8d126e0368c3ac0d2dd6 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Wed, 14 Sep 2011 17:53:23 +0000 Subject: [PATCH] [analyzer] Remove redundant copy constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139704 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../StaticAnalyzer/Core/BugReporter/PathDiagnostic.h | 9 --------- 1 file changed, 9 deletions(-) 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; } -- 2.40.0