================
@@ -167,6 +228,8 @@ static bool tryToFindPtrOriginImpl(
if (FollowLifetimeBound) {
SmallVector<const Expr *, 2> BoundArgs;
findLifetimeBoundArgs(tempExpr, BoundArgs);
+ if (BoundArgs.empty())
----------------
rniwa wrote:
Is it correct to only check these when bound args is empty? Don't we have cases
where we can have multiple view types binding different arguments?
https://github.com/llvm/llvm-project/pull/226350
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits