From fdbc1bf62ec90c97a7a5b082eeff9ad93084d4f3 Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Mon, 18 Jun 2018 17:59:03 +0000 Subject: [PATCH] [analyzer] Remove accidentally committed lines. llvm-svn: 334965 --- clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 9e4ba81a97f8..94d08b4935c1 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)