commit | 0532897f37b2dc0555be57875d4eec60ee750b99 | [log] [tgz] |
---|---|---|
author | Matt Beaumont-Gay <matthewbg@google.com> | Wed Mar 02 23:25:06 2011 +0000 |
committer | Matt Beaumont-Gay <matthewbg@google.com> | Wed Mar 02 23:25:06 2011 +0000 |
tree | 3c1607c4447ca4926858d6c178fefb313275e783 | |
parent | e5fe543878fb96cfc317e3e228551f7caa92b380 [diff] [blame] |
Keep GCC from complaining about falling off the end of the function. llvm-svn: 126897
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 2818cf6..18bbbb1 100644 --- a/clang/lib/Analysis/CFG.cpp +++ b/clang/lib/Analysis/CFG.cpp
@@ -2774,6 +2774,7 @@ const CXXDestructorDecl *CFGImplicitDtor::getDestructorDecl() const { switch (getKind()) { + default: assert(0 && "Unknown CFGElement"); case CFGElement::Invalid: case CFGElement::Statement: case CFGElement::Initializer: