================
@@ -351,6 +351,8 @@ class LifetimeChecker {
Warning.InvalidatedByExpr);
} else if (isa<ReturnEscapeFact>(OEF)) {
// FIXME: Diagnose invalidated return escapes separately.
+ } else if (isa<ThisEscapeFact>(OEF)) {
+ // FIXME: Diagnose a `this`-held loan invalidated through `this`.
----------------
Xazax-hun wrote:
I ended up addressing the FIXME instead.
https://github.com/llvm/llvm-project/pull/204630
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits