| commit | ecc05b0dc3fc59609d62bb48e149dc9e5028188b | [log] [tgz] |
|---|---|---|
| author | Matt Beaumont-Gay <matthewbg@google.com> | Tue Jan 31 18:59:25 2012 +0000 |
| committer | Matt Beaumont-Gay <matthewbg@google.com> | Tue Jan 31 18:59:25 2012 +0000 |
| tree | a975e4e29cc1c445622738bf7cfac880c5a9f6ac | |
| parent | 92d436b49ad573ae52374547d6867c4bd7ad09ba [diff] [blame] |
Pacify gcc's -Wreturn-type. A separate unreachable message will make it easier to debug if either of the unreachables is reached. llvm-svn: 149402
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 337a31a..fc0b9a7 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp
@@ -2178,6 +2178,7 @@ case NoStmtClass: llvm_unreachable("Invalid class for expression"); } + llvm_unreachable("Bogus StmtClass"); } Expr* Expr::IgnoreParens() {