From 3edf02f66d339a3ae6d06aeb96c78d9089b53bc1 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Thu, 1 Mar 2012 01:30:58 +0000 Subject: [PATCH] [analyzer] Diagnostics - do not try to cleanup the path with macros, it will be done by the general cleanup later on. A Patch by Ted. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151784 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/BugReporter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index e26b1cc7ac..833c29165d 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1735,9 +1735,6 @@ static void CompactPathDiagnostic(PathDiagnostic &PD, const SourceManager& SM) { PD.getMutablePieces().clear(); for (PiecesTy::iterator I=Pieces.begin(), E=Pieces.end(); I!=E; ++I) { - if (PathDiagnosticMacroPiece *MP = dyn_cast(*I)) - if (!MP->containsEvent()) - continue; PD.getMutablePieces().push_back(*I); } } -- 2.50.1