Add llvm_unreachable at end of fully covered switch to pacify GCC.

llvm-svn: 179753
This commit is contained in:
Benjamin Kramer 2013-04-18 10:44:27 +00:00
parent a2ff69863e
commit 06022fc91a
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ public:
case CR_Default:
return "default captured statement";
}
llvm_unreachable("Invalid captured region kind!");
}
static bool classof(const FunctionScopeInfo *FSI) {