commit | 6b2ec037f16753547398efe1812160982f1d14e4 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Thu Aug 29 20:36:09 2013 +0000 |
committer | Aaron Ballman <aaron@aaronballman.com> | Thu Aug 29 20:36:09 2013 +0000 |
tree | 01b9846f92673520b44f205e21887c25d7bfea2d | |
parent | 1f55157a5b3f60389e32b337bdf50eeea50f8f77 [diff] [blame] |
Silencing the warning from r189605 in a more conformant manner. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189606 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/Consumed.cpp b/lib/Analysis/Consumed.cpp index b004083..745840d 100644 --- a/lib/Analysis/Consumed.cpp +++ b/lib/Analysis/Consumed.cpp
@@ -74,9 +74,9 @@ return true; case CS_None: case CS_Unknown: - default: return false; } + llvm_unreachable("invalid enum"); } static bool isTestingFunction(const FunctionDecl *FunDecl) {