aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/CFRefCount.cpp
diff options
context:
space:
mode:
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 {