[PATCH] D22910: Add support for CXXOperatorCallExpr in Expr::HasSideEffects

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 04:13:08 PDT 2016


malcolm.parsons added a subscriber: malcolm.parsons.

================
Comment at: lib/AST/Expr.cpp:2868
@@ +2867,3 @@
+    // When looking for potential side-effects, we assume that these
+    // operators: assignment, increement and decrement are intended
+    // to have a side-effect and other overloaded operators are not.
----------------
typo: increment


https://reviews.llvm.org/D22910





More information about the cfe-commits mailing list