[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
================
@@ -2879,7 +2893,7 @@ CFGBlock *CFGBuilder::VisitCallExpr(CallExpr *C, AddStmtChoice asc) {
autoCreateBlock();
appendCall(Block, C);
- return VisitChildren(C);
+ return VisitCallExprChildren(C);
}
----------------
steakhal wrote:
I wonder if we should add a test covering this branch.
https://github.com/llvm/llvm-project/pull/181113
More information about the cfe-commits
mailing list