r182562 - [analyzer; alternate edges] fix type that was causing the wrong path piece to get removed.

Ted Kremenek kremenek at apple.com
Wed May 22 23:41:58 PDT 2013


Author: kremenek
Date: Thu May 23 01:41:58 2013
New Revision: 182562

URL: http://llvm.org/viewvc/llvm-project?rev=182562&view=rev
Log:
[analyzer;alternate edges] fix type that was causing the wrong path piece to get removed.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp?rev=182562&r1=182561&r2=182562&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Thu May 23 01:41:58 2013
@@ -2037,7 +2037,7 @@ static void removeIdenticalEvents(PathPi
       return;
 
     PathDiagnosticEventPiece *PieceNextI =
-      dyn_cast<PathDiagnosticEventPiece>(*I);
+      dyn_cast<PathDiagnosticEventPiece>(*NextI);
 
     if (!PieceNextI)
       continue;





More information about the cfe-commits mailing list