overloaded operator[] or overloaded postfix unary operator (++,
--). Thanks to Eli for finding this bug!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72460
91177308-0d34-0410-b5e6-
96231b3b80d8
UsualUnaryConversions(FnExpr);
Input.release();
+ Args[0] = Arg;
return Owned(new (Context) CXXOperatorCallExpr(Context, OverOp, FnExpr,
Args, 2, ResultTy,
OpLoc));
Base.release();
Idx.release();
+ Args[0] = LHSExp;
+ Args[1] = RHSExp;
return Owned(new (Context) CXXOperatorCallExpr(Context, OO_Subscript,
FnExpr, Args, 2,
ResultTy, LLoc));