[clang] [WebKit Checkers] Trace through temporaries in tryToFindPtrOrigin (PR #224877)
Ryosuke Niwa via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 19 21:34:17 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) {
----------------
rniwa wrote:
Alternatively, we could make this function return a pair of bool's.
https://github.com/llvm/llvm-project/pull/224877
More information about the cfe-commits
mailing list