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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/StaticAnalyzer/Core/CFRefCount.cpp b/lib/StaticAnalyzer/Core/CFRefCount.cpp
index 75feba478d..3fa211bcb9 100644
--- a/lib/StaticAnalyzer/Core/CFRefCount.cpp
+++ b/lib/StaticAnalyzer/Core/CFRefCount.cpp
@@ -2700,10 +2700,10 @@ public:
return false;
case LangOptions::GCOnly:
return true;
- default:
- llvm_unreachable("Invalid/unknown GC mode.");
- return false;
}
+
+ llvm_unreachable("Invalid/unknown GC mode.");
+ return false;
}
bool isARCorGCEnabled(ASTContext &Ctx) const {