Author: Raul Tambre Date: 2025-10-30T23:15:36+02:00 New Revision: 51c6a04496348fcdb8c68b02547a413a7ab44941
URL: https://github.com/llvm/llvm-project/commit/51c6a04496348fcdb8c68b02547a413a7ab44941 DIFF: https://github.com/llvm/llvm-project/commit/51c6a04496348fcdb8c68b02547a413a7ab44941.diff LOG: [NFCI][lldb] Omit redundant member initializer list (#164451) These all have member initializers of the same value so they're redundant. Fixes: 47b9aadb3215e914119d0c45827ea58cb7499204 Added: Modified: lldb/include/lldb/Target/Process.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h index 8f5892e16cedf..c1f9785e76f90 100644 --- a/lldb/include/lldb/Target/Process.h +++ b/lldb/include/lldb/Target/Process.h @@ -127,10 +127,7 @@ class ProcessAttachInfo : public ProcessInstanceInfo { public: ProcessAttachInfo() = default; - ProcessAttachInfo(const ProcessLaunchInfo &launch_info) - : m_resume_count(0), m_wait_for_launch(false), m_ignore_existing(true), - m_continue_once_attached(false), m_detach_on_error(true), - m_async(false) { + ProcessAttachInfo(const ProcessLaunchInfo &launch_info) { ProcessInfo::operator=(launch_info); SetProcessPluginName(launch_info.GetProcessPluginName()); SetResumeCount(launch_info.GetResumeCount()); _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
