[clang] [WebKit Checkers] Trace through temporaries in tryToFindPtrOrigin (PR #224877)

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 20 14:31:45 PDT 2026


================
@@ -27,7 +27,8 @@ bool tryToFindPtrOrigin(
     std::function<bool(const clang::CXXRecordDecl *)> isSafePtr,
     std::function<bool(const clang::QualType)> isSafePtrType,
     std::function<bool(const clang::Decl *)> isSafeGlobalDecl,
-    std::function<bool(const clang::Expr *, bool)> callback) {
+    std::function<bool(const clang::Expr *, bool)> callback,
+    bool *CrossedShortLivedTemporary) {
----------------
geoffreygaren wrote:

Will do.

https://github.com/llvm/llvm-project/pull/224877


More information about the cfe-commits mailing list