Keep GCC from complaining about falling off the end of the function.

llvm-svn: 126897
This commit is contained in:
Matt Beaumont-Gay 2011-03-02 23:25:06 +00:00
parent e5fe543878
commit 0532897f37
1 changed files with 1 additions and 0 deletions

View File

@ -2774,6 +2774,7 @@ CFG* CFG::buildCFG(const Decl *D, Stmt* Statement, ASTContext *C,
const CXXDestructorDecl *CFGImplicitDtor::getDestructorDecl() const {
switch (getKind()) {
default: assert(0 && "Unknown CFGElement");
case CFGElement::Invalid:
case CFGElement::Statement:
case CFGElement::Initializer: