diff options
author | Jordy Rose <jediknil@belkadan.com> | 2011-08-24 22:58:49 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2011-08-24 22:58:49 +0000 |
commit | 359bd07db718644736ce98f0d1653f4ac6c9cf22 (patch) | |
tree | 8ce22c2328de8c11bcd432211ecd667c6de83d40 /lib/StaticAnalyzer/Core/CFRefCount.cpp | |
parent | 4f227aaad2143f74ef26ea8b06fa4d73de4d3fa2 (diff) |
[analyzer] Silence another incorrect warning ("control reaches end of non-void function")
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CFRefCount.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/CFRefCount.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/CFRefCount.cpp b/lib/StaticAnalyzer/Core/CFRefCount.cpp index 3c3bd3402e..75feba478d 100644 --- a/lib/StaticAnalyzer/Core/CFRefCount.cpp +++ b/lib/StaticAnalyzer/Core/CFRefCount.cpp @@ -2700,6 +2700,9 @@ public: return false; case LangOptions::GCOnly: return true; + default: + llvm_unreachable("Invalid/unknown GC mode."); + return false; } } |