[cfe-commits] r151784 - /cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
Anna Zaks
ganna at apple.com
Wed Feb 29 17:30:58 PST 2012
Author: zaks
Date: Wed Feb 29 19:30:58 2012
New Revision: 151784
URL: http://llvm.org/viewvc/llvm-project?rev=151784&view=rev
Log:
[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.
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=151784&r1=151783&r2=151784&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Wed Feb 29 19:30:58 2012
@@ -1735,9 +1735,6 @@
PD.getMutablePieces().clear();
for (PiecesTy::iterator I=Pieces.begin(), E=Pieces.end(); I!=E; ++I) {
- if (PathDiagnosticMacroPiece *MP = dyn_cast<PathDiagnosticMacroPiece>(*I))
- if (!MP->containsEvent())
- continue;
PD.getMutablePieces().push_back(*I);
}
}
More information about the cfe-commits
mailing list