diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-05-23 06:41:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-05-23 06:41:58 +0000 |
commit | a76dd19507023d10f70b99809d2ce61a1a96d62e (patch) | |
tree | d9b18f06d91f303f98e0ab7f3914f60091d7589a | |
parent | 39aca620db4e846f5a87e2a1e9f29b64352a06a0 (diff) | |
download | bcm5719-llvm-a76dd19507023d10f70b99809d2ce61a1a96d62e.tar.gz bcm5719-llvm-a76dd19507023d10f70b99809d2ce61a1a96d62e.zip |
[analyzer;alternate edges] fix type that was causing the wrong path piece to get removed.
llvm-svn: 182562
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 952fabd585e..d241c8a16d7 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2037,7 +2037,7 @@ static void removeIdenticalEvents(PathPieces &path) { return; PathDiagnosticEventPiece *PieceNextI = - dyn_cast<PathDiagnosticEventPiece>(*I); + dyn_cast<PathDiagnosticEventPiece>(*NextI); if (!PieceNextI) continue; |