summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-03-01 01:30:58 +0000
committerAnna Zaks <ganna@apple.com>2012-03-01 01:30:58 +0000
commitec9c4e487c070976b185ef18661415b212629e8e (patch)
treed1b179d041227f630d158052cdbf330ecaf9dd96 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parent2fb8512888b937546cb15322a401d374fb60787e (diff)
downloadbcm5719-llvm-ec9c4e487c070976b185ef18661415b212629e8e.tar.gz
bcm5719-llvm-ec9c4e487c070976b185ef18661415b212629e8e.zip
[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. llvm-svn: 151784
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index e26b1cc7ac9..833c29165d9 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/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<PathDiagnosticMacroPiece>(*I))
- if (!MP->containsEvent())
- continue;
PD.getMutablePieces().push_back(*I);
}
}
OpenPOWER on IntegriCloud