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/CommandObjectThread.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/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index bd491e5..0ad3cc0 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -2184,8 +2184,7 @@ public: nullptr, eCommandRequiresProcess | eCommandTryTargetAPILock | eCommandProcessMustBeLaunched | eCommandProcessMustBePaused | - eCommandProcessMustBeTraced), - m_create_repeat_command_just_invoked(false) {} + eCommandProcessMustBeTraced) {} ~CommandObjectTraceDumpInstructions() override = default; @@ -2253,7 +2252,7 @@ protected: // Repeat command helpers std::string m_repeat_command; - bool m_create_repeat_command_just_invoked; + bool m_create_repeat_command_just_invoked = false; std::map<lldb::tid_t, std::unique_ptr<TraceInstructionDumper>> m_dumpers; }; |