================
@@ -5095,6 +5109,18 @@ CFGBlock *CFGBuilder::VisitForTemporaryDtors(Stmt *E, 
bool ExternallyDestructed,
                                                   ExternallyDestructed,
                                                   Context);
 
+    case Stmt::CXXOperatorCallExprClass: {
----------------
usx95 wrote:

Maybe move this to also `VisitCXXOperatorCallExprClassForTemporaryDtors`

Also add a comment to that function similar to 
`VisitBinaryOperatorForTemporaryDtors`

```
// For assignment operators, the RHS expression is evaluated before the LHS
// expression, so prepend temporary destructors for the RHS first.
```



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