llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Kazu Hirata (kazutakahirata) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/140466.diff 1 Files Affected: - (modified) lldb/source/Expression/FunctionCaller.cpp (+1-3) ``````````diff diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp index ddf1e1151bdcf..83cac130ba728 100644 --- a/lldb/source/Expression/FunctionCaller.cpp +++ b/lldb/source/Expression/FunctionCaller.cpp @@ -171,10 +171,8 @@ bool FunctionCaller::WriteFunctionArguments( m_wrapper_args_addrs.push_back(args_addr_ref); } else { // Make sure this is an address that we've already handed out. - if (find(m_wrapper_args_addrs.begin(), m_wrapper_args_addrs.end(), - args_addr_ref) == m_wrapper_args_addrs.end()) { + if (!llvm::is_contained(m_wrapper_args_addrs, args_addr_ref)) return false; - } } // TODO: verify fun_addr needs to be a callable address `````````` </details> https://github.com/llvm/llvm-project/pull/140466 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits