rjmccall added a comment.

I would guess that some visitor still has a `VisitCompoundAssignOperator` 
implementation, and that the behavior of `VisitBinAssign` happens to do what's 
needed for it.

You basically have two options:

- Keep a `VisitCompoundAssignOperator` around in `StmtVisitor` for all the 
compound-assignment operators to delegate to.  You'll have to implement its 
delegation to `VisitBinaryOperator` manually.
- Search the source base for any remaining implementations of 
`VisitCompoundAssignOperator` and fold them into `VisitBinaryOperator`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76384/new/

https://reviews.llvm.org/D76384



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to