[clang] [clang][CFG] Sequence RHS before LHS for overloaded assignment operators in CFG to match C++17 rules (PR #181113)

Alex Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 10:23:02 PST 2026


================
@@ -2879,7 +2893,7 @@ CFGBlock *CFGBuilder::VisitCallExpr(CallExpr *C, AddStmtChoice asc) {
     autoCreateBlock();
     appendCall(Block, C);
 
-    return VisitChildren(C);
+    return VisitCallExprChildren(C);
   }
----------------
aeft wrote:

The new test file targets this case.

https://github.com/llvm/llvm-project/pull/181113


More information about the cfe-commits mailing list