Lines Matching defs:LHSExp
5136 Expr *LHSExp = Base;
5145 for (auto *Op : {LHSExp, RHSExp}) {
5153 if (!LHSExp->getType()->isSubscriptableVectorType()) {
5154 ExprResult Result = DefaultFunctionArrayLvalueConversion(LHSExp);
5157 LHSExp = Result.get();
5164 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
5173 BaseExpr = LHSExp;
5176 getDependentArraySubscriptType(LHSExp, RHSExp, getASTContext());
5178 BaseExpr = LHSExp;
5183 BaseExpr = LHSExp;
5196 IndexExpr = LHSExp;
5202 IndexExpr = LHSExp;
5215 << LHSExp->getSourceRange()
5222 BaseExpr = LHSExp; // vectors: V[123]
5225 if (getLangOpts().CPlusPlus11 && LHSExp->isPRValue()) {
5226 ExprResult Materialized = TemporaryMaterializationConversion(LHSExp);
5229 LHSExp = Materialized.get();
5231 VK = LHSExp->getValueKind();
5247 Diag(LHSExp->getBeginLoc(), diag::ext_subscript_non_lvalue)
5248 << LHSExp->getSourceRange();
5249 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
5251 LHSTy = LHSExp->getType();
5253 BaseExpr = LHSExp;
5265 IndexExpr = LHSExp;
5269 << LHSExp->getSourceRange() << RHSExp->getSourceRange());
5315 if (LHSExp->IgnoreParenImpCasts()->getType()->isVariablyModifiedType() &&
5318 LHSExp->IgnoreParenImpCasts()->getType()->getAs<TypedefType>()) {
5336 Context, LHSExp->IgnoreParenImpCasts()->getType(), CSI);
5343 ArraySubscriptExpr(LHSExp, RHSExp, ResultType, VK, OK, RLoc);