aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-18 10:44:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-18 10:44:27 +0000
commit0579c165aa54840898956703ebd63bdd1f4dd907 (patch)
tree11f836cf540113aaeb6432009db6264f7e0c9607
parentbd95745d0efb0d3c6e7cc2f946438a8b2c39c858 (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.h1
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) {