aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2021-06-09 09:25:29 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2021-06-09 09:43:13 -0700
commit9494c510af56d9c8593ab69017dcaa232210b235 (patch)
treed3bf62416d4a5423563c5b2893f2392a9f96e12f /lldb/source/Commands/CommandObjectProcess.cpp
parent9b496c2373dc4228726b6b3813bf759233e98094 (diff)
downloadllvm-9494c510af56d9c8593ab69017dcaa232210b235.zip
llvm-9494c510af56d9c8593ab69017dcaa232210b235.tar.gz
llvm-9494c510af56d9c8593ab69017dcaa232210b235.tar.bz2
[lldb] Use C++11 default member initializers
This converts a default constructor's member initializers into C++11 default member initializers. This patch was automatically generated with clang-tidy and the modernize-use-default-member-init check. $ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-default-member-init' -fix This is a mass-refactoring patch and this commit will be added to .git-blame-ignore-revs. Differential revision: https://reviews.llvm.org/D103483
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 3e45b71..031b715 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -1250,7 +1250,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options(), m_verbose(false) {}
+ CommandOptions() : Options() {}
~CommandOptions() override = default;
@@ -1278,7 +1278,7 @@ public:
}
// Instance variables to hold the values for command options.
- bool m_verbose;
+ bool m_verbose = false;
};
protected: