summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-09-23 20:26:49 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-09-23 20:26:49 +0000
commitaa347f9392f8c5333eb2b889716d64a50805813d (patch)
treeef1e1f14dc42d81abd2152c527b93571f95a1ccd /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parentb1fa14883755af470c8b3ffab3aedb477a899854 (diff)
downloadbcm5719-llvm-aa347f9392f8c5333eb2b889716d64a50805813d.tar.gz
bcm5719-llvm-aa347f9392f8c5333eb2b889716d64a50805813d.zip
Removing a bunch of dead returns/breaks after llvm_unreachables.
llvm-svn: 140407
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index b87c9eba185..6e73b60abf9 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -1744,7 +1744,6 @@ FindReportInEquivalenceClass(BugReportEquivClass& EQ,
if (errorNode->isSink()) {
llvm_unreachable(
"BugType::isSuppressSink() should not be 'true' for sink end nodes");
- return 0;
}
// No successors? By definition this nodes isn't post-dominated by a sink.
if (errorNode->succ_empty()) {
OpenPOWER on IntegriCloud