Abpostelnicu added inline comments. ================ Comment at: lib/AST/Expr.cpp:2869 @@ +2868,3 @@ + OverloadedOperatorKind Op = cast<CXXOperatorCallExpr>(this)->getOperator(); + if (CXXOperatorCallExpr::isAssignmentOp(Op)) { + const Decl *FD = cast<CallExpr>(this)->getCalleeDecl(); ---------------- aaron.ballman wrote: > Should this also handle overloaded ++ and -- if they're the prefix forms? > What about overloaded operator new and delete (and the array forms)? I think for now i should prefer only to have the implementation for assignment operator when it's overloaded.
https://reviews.llvm.org/D22910 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits