[clang] [clang][CFG] Sequence RHS before LHS for overloaded assignment operators in CFG to match C++17 rules (PR #181113)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 07:12:21 PST 2026
================
@@ -2903,7 +2917,7 @@ CFGBlock *CFGBuilder::VisitCallExpr(CallExpr *C, AddStmtChoice asc) {
addSuccessor(Block, &cfg->getExit());
}
- return VisitChildren(C);
+ return VisitCallExprChildren(C);
----------------
steakhal wrote:
I wonder if we should add a test covering this branch too.
https://github.com/llvm/llvm-project/pull/181113
More information about the cfe-commits
mailing list