Lines Matching defs:LHSExp
5092 Expr *LHSExp = Base;
5101 for (auto *Op : {LHSExp, RHSExp}) {
5109 if (!LHSExp->getType()->isSubscriptableVectorType()) {
5110 ExprResult Result = DefaultFunctionArrayLvalueConversion(LHSExp);
5113 LHSExp = Result.get();
5120 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
5129 BaseExpr = LHSExp;
5132 getDependentArraySubscriptType(LHSExp, RHSExp, getASTContext());
5134 BaseExpr = LHSExp;
5139 BaseExpr = LHSExp;
5152 IndexExpr = LHSExp;
5158 IndexExpr = LHSExp;
5171 << LHSExp->getSourceRange()
5178 BaseExpr = LHSExp; // vectors: V[123]
5181 if (getLangOpts().CPlusPlus11 && LHSExp->isPRValue()) {
5182 ExprResult Materialized = TemporaryMaterializationConversion(LHSExp);
5185 LHSExp = Materialized.get();
5187 VK = LHSExp->getValueKind();
5203 Diag(LHSExp->getBeginLoc(), diag::ext_subscript_non_lvalue)
5204 << LHSExp->getSourceRange();
5205 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
5207 LHSTy = LHSExp->getType();
5209 BaseExpr = LHSExp;
5221 IndexExpr = LHSExp;
5225 << LHSExp->getSourceRange() << RHSExp->getSourceRange());
5271 if (LHSExp->IgnoreParenImpCasts()->getType()->isVariablyModifiedType() &&
5274 LHSExp->IgnoreParenImpCasts()->getType()->getAs<TypedefType>()) {
5292 Context, LHSExp->IgnoreParenImpCasts()->getType(), CSI);
5299 ArraySubscriptExpr(LHSExp, RHSExp, ResultType, VK, OK, RLoc);