]> granicus.if.org Git - clang/commitdiff
[analyzer] Remove accidentally committed lines.
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 18 Jun 2018 17:59:03 +0000 (17:59 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 18 Jun 2018 17:59:03 +0000 (17:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334965 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/BugReporter.cpp

index 9e4ba81a97f8dfa0d7193df753563c46c867eaf6..94d08b4935c1fcc8838c01568a07c37912c3c626 100644 (file)
@@ -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)