diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-18 10:44:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-18 10:44:27 +0000 |
commit | 0579c165aa54840898956703ebd63bdd1f4dd907 (patch) | |
tree | 11f836cf540113aaeb6432009db6264f7e0c9607 | |
parent | bd95745d0efb0d3c6e7cc2f946438a8b2c39c858 (diff) |
Add llvm_unreachable at end of fully covered switch to pacify GCC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179753 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Sema/ScopeInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index a48422a308..103ce826ae 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -529,6 +529,7 @@ public: case CR_Default: return "default captured statement"; } + llvm_unreachable("Invalid captured region kind!"); } static bool classof(const FunctionScopeInfo *FSI) { |