================
@@ -2542,6 +2543,19 @@ CFGBlock *CFGBuilder::VisitChildren(Stmt *S) {
   return B;
 }
 
+CFGBlock *CFGBuilder::VisitCallExprChildren(CallExpr *C) {
+  // C++17 onwards require that the right operand is sequenced before the left
+  // operand.
+  if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(C)) {
----------------
usx95 wrote:

nit: combine in a single `if`

`  if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(C); OCE && 
OCE->isAssignmentOp())`

https://github.com/llvm/llvm-project/pull/181113
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to