about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--lib/Expr/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Expr/Parser.cpp b/lib/Expr/Parser.cpp
index 88729c09..caeeabd7 100644
--- a/lib/Expr/Parser.cpp
+++ b/lib/Expr/Parser.cpp
@@ -1115,7 +1115,7 @@ ExprResult ParserImpl::ParseBinaryParenExpr(const Token &Name,
 
   case Expr::AShr: return Builder->AShr(LHS_E, RHS_E);
   case Expr::LShr: return Builder->LShr(LHS_E, RHS_E);
-  case Expr::Shl: return Builder->And(LHS_E, RHS_E);
+  case Expr::Shl: return Builder->Shl(LHS_E, RHS_E);
 
   case Expr::And: return Builder->And(LHS_E, RHS_E);
   case Expr::Or:  return Builder->Or(LHS_E, RHS_E);