[cfe-commits] r139704 - /cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
Anna Zaks
ganna at apple.com
Wed Sep 14 10:53:24 PDT 2011
Author: zaks
Date: Wed Sep 14 12:53:23 2011
New Revision: 139704
URL: http://llvm.org/viewvc/llvm-project?rev=139704&view=rev
Log:
[analyzer] Remove redundant copy constructor.
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h?rev=139704&r1=139703&r2=139704&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h Wed Sep 14 12:53:23 2011
@@ -120,15 +120,6 @@
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;
}
More information about the cfe-commits
mailing list