================
@@ -366,6 +366,7 @@ void FactsGenerator::VisitBinaryOperator(const
BinaryOperator *BO) {
// result should have the same loans as the pointer operand.
if (BO->isCompoundAssignmentOp())
return;
+ handleUse(BO->getRHS());
----------------
usx95 wrote:
Sounds like a great idea to systematically move away from special casing
`DeclRefExpr`.
I would prefer to do it in a separate PR though
(https://github.com/llvm/llvm-project/pull/181693 in progress) as it involves
changing a liveness, lot of tests which rely on `(void)view` being a use of
`view`.
https://github.com/llvm/llvm-project/pull/180446
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits