aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/CFRefCount.cpp
diff options
context:
space:
mode:
authorJordy Rose <jediknil@belkadan.com>2011-08-26 20:32:01 +0000
committerJordy Rose <jediknil@belkadan.com>2011-08-26 20:32:01 +0000
commit417162cc3bbc608372bdd0b6679a925de6874c88 (patch)
treeb0d9d2c8115a34b71f37c1675006f5bf45581dac /lib/StaticAnalyzer/Core/CFRefCount.cpp
parent7b2f51c758a14205f4c4215d7dc04a4cf3947b8a (diff)
[analyzer] Remove a couple of unnecessary returns after llvm_unreachables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CFRefCount.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/CFRefCount.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/CFRefCount.cpp b/lib/StaticAnalyzer/Core/CFRefCount.cpp
index 4154205232..07487f14e1 100644
--- a/lib/StaticAnalyzer/Core/CFRefCount.cpp
+++ b/lib/StaticAnalyzer/Core/CFRefCount.cpp
@@ -2693,7 +2693,6 @@ public:
switch (GCMode) {
case LangOptions::HybridGC:
llvm_unreachable("GC mode not set yet!");
- return true;
case LangOptions::NonGC:
return false;
case LangOptions::GCOnly:
@@ -2701,7 +2700,6 @@ public:
}
llvm_unreachable("Invalid/unknown GC mode.");
- return false;
}
bool isARCorGCEnabled(ASTContext &Ctx) const {