summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-06-18 17:59:03 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-06-18 17:59:03 +0000
commitfdbc1bf62ec90c97a7a5b082eeff9ad93084d4f3 (patch)
tree2e1a1eb85dd14ab35d2fb64740b6c42db1054d21 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parent83ba6fa98dbace52d54fc6ffcf8162f3b477d6e0 (diff)
downloadbcm5719-llvm-fdbc1bf62ec90c97a7a5b082eeff9ad93084d4f3.tar.gz
bcm5719-llvm-fdbc1bf62ec90c97a7a5b082eeff9ad93084d4f3.zip
[analyzer] Remove accidentally committed lines.
llvm-svn: 334965
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index 9e4ba81a97f..94d08b4935c 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -2548,10 +2548,7 @@ bool GRBugReporter::generatePathDiagnostic(PathDiagnostic& PD,
// new symbols and regions are interesting, or add other visitors based on
// the information they find. If they do, we need to regenerate the path
// based on our new report configuration.
- int jj=0;
- do { // TODO: dump statistics on the MAX number of iterations of this loop.
- jj++;
- assert(jj<10);
+ do {
// Get a clean copy of all the visitors.
for (BugReport::visitor_iterator I = R->visitor_begin(),
E = R->visitor_end(); I != E; ++I)
OpenPOWER on IntegriCloud