[clang] [WebKit Checkers] Add built-in recognition for standard view types (PR #226350)
Ryosuke Niwa via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 21:04:59 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list