Index: lib/Parse/ParseExpr.cpp =================================================================== --- lib/Parse/ParseExpr.cpp +++ lib/Parse/ParseExpr.cpp @@ -1459,6 +1459,7 @@ })) { (void)Actions.CorrectDelayedTyposInExpr(LHS); LHS = ExprError(); + Actions.DiscardCleanupsInEvaluationContext(); } } }