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 | 34a83e911f03cbc0c3b6da0519373a01a15e610b (patch) | |
| tree | cd96601a6dbbb1f6cea1605ee193dd7378008311 /clang/lib/StaticAnalyzer | |
| parent | 763982b82d9007cbaade2e623a033e32fedd3c44 (diff) | |
| download | bcm5719-llvm-34a83e911f03cbc0c3b6da0519373a01a15e610b.tar.gz bcm5719-llvm-34a83e911f03cbc0c3b6da0519373a01a15e610b.zip | |
[analyzer] Silence another incorrect warning ("control reaches end of non-void function")
llvm-svn: 138510
Diffstat (limited to 'clang/lib/StaticAnalyzer')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/CFRefCount.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp b/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp index 3c3bd3402ee..75feba478d9 100644 --- a/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp +++ b/clang/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; } } |

