r334965 - [analyzer] Remove accidentally committed lines.

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 18 10:59:03 PDT 2018


Author: george.karpenkov
Date: Mon Jun 18 10:59:03 2018
New Revision: 334965

URL: http://llvm.org/viewvc/llvm-project?rev=334965&view=rev
Log:
[analyzer] Remove accidentally committed lines.

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=334965&r1=334964&r2=334965&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Mon Jun 18 10:59:03 2018
@@ -2548,10 +2548,7 @@ bool GRBugReporter::generatePathDiagnost
     // 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)




More information about the cfe-commits mailing list