================
@@ -664,20 +664,66 @@ class LifetimeSafetySemaHelperImpl : public
LifetimeSafetySemaHelper {
return CurrExpr->getSourceRange() != LastExpr->getSourceRange();
}
+ bool shouldCarryHiddenLifetimeBound(const Expr *HiddenExpr,
----------------
NeKon69 wrote:
Oh, now, seeing `IgnoreImpCasts` on the expressions makes me realize, can't we
just compare them directly to see if they match? Something like `return
A->IgnoreUnlessSpelledInSource() == B->IgnoreUnlessSpelledInSource();`
https://github.com/llvm/llvm-project/pull/206337
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits