summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Analysis/BugReporter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index b7a1cd90ac3..995833a29c7 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/lib/Analysis/BugReporter.cpp
@@ -989,10 +989,10 @@ static void GenerateExtensivePathDiagnostic(PathDiagnostic& PD,
// Only handle blocks with more than 1 statement here, as the blocks
// with one statement are handled at BlockEntrances.
- if (Blk.size() > 1) {
- const Stmt *S = *Blk.rbegin();
- EB.addEdge(S);
- }
+// if (Blk.size() > 1) {
+// const Stmt *S = *Blk.rbegin();
+// EB.addEdge(S);
+// }
continue;
}
OpenPOWER on IntegriCloud