diff options
author | Daniel Schemmel <daniel.schemmel@comsys.rwth-aachen.de> | 2018-05-25 13:04:54 +0200 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-06-29 11:19:00 +0100 |
commit | cb1e6302f0a436eaad08014a22f4265b64b379d3 (patch) | |
tree | 701d96f32688c0e692e7b982d90d673776662896 /lib | |
parent | 296a54ec9a2e753a1f5d1c426fb7c5e7575e9dcb (diff) | |
download | klee-cb1e6302f0a436eaad08014a22f4265b64b379d3.tar.gz |
Fix the final -Wimplicit-fallthrough warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Expr/Parser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Expr/Parser.cpp b/lib/Expr/Parser.cpp index 572b9572..479ff6c2 100644 --- a/lib/Expr/Parser.cpp +++ b/lib/Expr/Parser.cpp @@ -998,8 +998,11 @@ ExprResult ParserImpl::ParseParenExpr(TypeResult FIXME_UNUSED) { case 2: return ParseBinaryParenExpr(Name, ExprKind, IsFixed, ResTy); case 3: - if (ExprKind == Expr::Select) + if (ExprKind == Expr::Select) { return ParseSelectParenExpr(Name, ResTy); + } else { + assert(0 && "Invalid ternary expression kind."); + } default: assert(0 && "Invalid argument kind (number of args)."); return ExprResult(); |