================ @@ -70,6 +70,8 @@ bool tryToFindPtrOrigin( if (isCtorOfSafePtr(ConversionFunc)) return callback(E, true); } + if (isa<CXXFunctionalCastExpr>(E) && isSafePtrType(cast->getType())) + return callback(E, true); ---------------- t-rasmud wrote:
Is this case already handled for parameters and locals? Like are there instances of a constructing a Ref from another Ref parameter? https://github.com/llvm/llvm-project/pull/130911 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits