From 0fa3504acfc7c20a87973c58ad3474adc94dd97d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 23 May 2013 06:41:58 +0000 Subject: [PATCH] [analyzer;alternate edges] fix type that was causing the wrong path piece to get removed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182562 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/BugReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 952fabd585..d241c8a16d 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2037,7 +2037,7 @@ static void removeIdenticalEvents(PathPieces &path) { return; PathDiagnosticEventPiece *PieceNextI = - dyn_cast(*I); + dyn_cast(*NextI); if (!PieceNextI) continue; -- 2.40.0