Lines Matching refs:LHS
120 ExprResult LHS(ParseAssignmentExpression(isTypeCast)); in ParseExpression() local
121 return ParseRHSOfBinaryExpression(LHS, prec::Comma); in ParseExpression()
131 ExprResult LHS(ParseObjCAtExpression(AtLoc)); in ParseExpressionWithLeadingAt() local
132 return ParseRHSOfBinaryExpression(LHS, prec::Comma); in ParseExpressionWithLeadingAt()
140 ExprResult LHS(true); in ParseExpressionWithLeadingExtension() local
145 LHS = ParseCastExpression(false); in ParseExpressionWithLeadingExtension()
148 if (!LHS.isInvalid()) in ParseExpressionWithLeadingExtension()
149 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
150 LHS.take()); in ParseExpressionWithLeadingExtension()
152 return ParseRHSOfBinaryExpression(LHS, prec::Comma); in ParseExpressionWithLeadingExtension()
166 ExprResult LHS = ParseCastExpression(/*isUnaryExpression=*/false, in ParseAssignmentExpression() local
169 return ParseRHSOfBinaryExpression(LHS, prec::Assignment); in ParseAssignmentExpression()
202 ExprResult LHS(ParseCastExpression(false, false, isTypeCast)); in ParseConstantExpression() local
203 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); in ParseConstantExpression()
221 Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) { in ParseRHSOfBinaryExpression() argument
232 return LHS; in ParseRHSOfBinaryExpression()
246 return LHS; in ParseRHSOfBinaryExpression()
262 LHS = ExprError(); in ParseRHSOfBinaryExpression()
308 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression()
334 LHS = ExprError(); in ParseRHSOfBinaryExpression()
365 LHS = ExprError(); in ParseRHSOfBinaryExpression()
380 LHS = ExprError(); in ParseRHSOfBinaryExpression()
384 if (!LHS.isInvalid()) { in ParseRHSOfBinaryExpression()
393 SourceRange(Actions.getExprRange(LHS.get()).getBegin(), in ParseRHSOfBinaryExpression()
396 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
397 OpToken.getKind(), LHS.take(), RHS.take()); in ParseRHSOfBinaryExpression()
399 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, in ParseRHSOfBinaryExpression()
400 LHS.take(), TernaryMiddle.take(), in ParseRHSOfBinaryExpression()
1291 Parser::ParsePostfixExpressionSuffix(ExprResult LHS) { in ParsePostfixExpressionSuffix() argument
1299 return LHS; in ParsePostfixExpressionSuffix()
1301 Actions.CodeCompletePostfixExpression(getCurScope(), LHS); in ParsePostfixExpressionSuffix()
1311 LHS = ParseObjCMessageExpressionBody(SourceLocation(), SourceLocation(), in ParsePostfixExpressionSuffix()
1312 ParsedType(), LHS.get()); in ParsePostfixExpressionSuffix()
1319 return LHS; in ParsePostfixExpressionSuffix()
1329 return LHS; in ParsePostfixExpressionSuffix()
1348 if (!LHS.isInvalid() && !Idx.isInvalid() && Tok.is(tok::r_square)) { in ParsePostfixExpressionSuffix()
1349 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.take(), Loc, in ParsePostfixExpressionSuffix()
1352 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1375 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1381 } else if (LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1388 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1391 if (!LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1393 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1398 if (!LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1404 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1417 Actions.CodeCompleteCall(getCurScope(), LHS.get(), None); in ParsePostfixExpressionSuffix()
1422 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1425 LHS.get())) { in ParsePostfixExpressionSuffix()
1426 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1432 if (LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1436 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1441 LHS = Actions.ActOnCallExpr(getCurScope(), LHS.take(), Loc, in ParsePostfixExpressionSuffix()
1459 if (getLangOpts().CPlusPlus && !LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1460 Expr *Base = LHS.take(); in ParsePostfixExpressionSuffix()
1472 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, in ParsePostfixExpressionSuffix()
1475 if (LHS.isInvalid()) in ParsePostfixExpressionSuffix()
1487 Actions.CodeCompleteMemberReferenceExpr(getCurScope(), LHS.get(), in ParsePostfixExpressionSuffix()
1494 if (MayBePseudoDestructor && !LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1495 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
1526 LHS = ExprError(); in ParsePostfixExpressionSuffix()
1528 if (!LHS.isInvalid()) in ParsePostfixExpressionSuffix()
1529 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc, in ParsePostfixExpressionSuffix()
1537 if (!LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1538 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(), in ParsePostfixExpressionSuffix()
1539 Tok.getKind(), LHS.take()); in ParsePostfixExpressionSuffix()