Lines Matching defs:LHSExp
5436 Expr *LHSExp = Base;
5445 for (auto *Op : {LHSExp, RHSExp}) {
5453 if (!LHSExp->getType()->getAs<VectorType>()) {
5454 ExprResult Result = DefaultFunctionArrayLvalueConversion(LHSExp);
5457 LHSExp = Result.get();
5464 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
5473 BaseExpr = LHSExp;
5477 BaseExpr = LHSExp;
5482 BaseExpr = LHSExp;
5495 IndexExpr = LHSExp;
5501 IndexExpr = LHSExp;
5509 BaseExpr = LHSExp; // vectors: V[123]
5512 if (getLangOpts().CPlusPlus11 && LHSExp->getValueKind() == VK_RValue) {
5513 ExprResult Materialized = TemporaryMaterializationConversion(LHSExp);
5516 LHSExp = Materialized.get();
5518 VK = LHSExp->getValueKind();
5535 Diag(LHSExp->getBeginLoc(), diag::ext_subscript_non_lvalue)
5536 << LHSExp->getSourceRange();
5537 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
5539 LHSTy = LHSExp->getType();
5541 BaseExpr = LHSExp;
5553 IndexExpr = LHSExp;
5557 << LHSExp->getSourceRange() << RHSExp->getSourceRange());
5596 if (LHSExp->IgnoreParenImpCasts()->getType()->isVariablyModifiedType() &&
5599 LHSExp->IgnoreParenImpCasts()->getType()->getAs<TypedefType>()) {
5617 Context, LHSExp->IgnoreParenImpCasts()->getType(), CSI);
5624 ArraySubscriptExpr(LHSExp, RHSExp, ResultType, VK, OK, RLoc);