diff options
author | Shafik Yaghmour <syaghmour@apple.com> | 2022-03-14 13:32:03 -0700 |
---|---|---|
committer | Shafik Yaghmour <syaghmour@apple.com> | 2022-03-14 13:32:03 -0700 |
commit | 28c878aeb29a7e7a9ae8f748de6a3c41482b97be (patch) | |
tree | 6d057edb2aacc7705718950dedbf5c40cb758838 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | c79ab1065e89872668b8d43c747ff3e5974b0d96 (diff) | |
download | llvm-28c878aeb29a7e7a9ae8f748de6a3c41482b97be.zip llvm-28c878aeb29a7e7a9ae8f748de6a3c41482b97be.tar.gz llvm-28c878aeb29a7e7a9ae8f748de6a3c41482b97be.tar.bz2 |
[LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB
Applied modernize-use-default-member-init clang-tidy check over LLDB.
It appears in many files we had already switched to in class member init but
never updated the constructors to reflect that. This check is already present in
the lldb/.clang-tidy config.
Differential Revision: https://reviews.llvm.org/D121481
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 459aef6..41410f5c 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -1214,7 +1214,7 @@ public: class CommandOptions : public Options { public: - CommandOptions() : m_requested_save_core_style(eSaveCoreUnspecified) {} + CommandOptions() {} ~CommandOptions() override = default; @@ -1250,7 +1250,7 @@ public: } // Instance variables to hold the values for command options. - SaveCoreStyle m_requested_save_core_style; + SaveCoreStyle m_requested_save_core_style = eSaveCoreUnspecified; std::string m_requested_plugin_name; }; |