aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2022-03-31 13:20:46 -0700
committerShafik Yaghmour <syaghmour@apple.com>2022-03-31 13:21:49 -0700
commit24f9a2f53db78df59761f46ceed3bb5e7aa0d331 (patch)
treeb87064847eb692b5e8a7f2c11eeafd33b091ae85 /lldb/source/Commands/CommandObjectSource.cpp
parent585c85abe545a42a47a3b3d0411b91421e9552e9 (diff)
downloadllvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.zip
llvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.tar.gz
llvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.tar.bz2
[LLDB] Applying clang-tidy modernize-use-equals-default over LLDB
Applied modernize-use-equals-default clang-tidy check over LLDB. This check is already present in the lldb/.clang-tidy config. Differential Revision: https://reviews.llvm.org/D121844
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp
index 79f1ce4..67286c2 100644
--- a/lldb/source/Commands/CommandObjectSource.cpp
+++ b/lldb/source/Commands/CommandObjectSource.cpp
@@ -36,7 +36,7 @@ using namespace lldb_private;
class CommandObjectSourceInfo : public CommandObjectParsed {
class CommandOptions : public Options {
public:
- CommandOptions() {}
+ CommandOptions() = default;
~CommandOptions() override = default;
@@ -623,7 +623,7 @@ protected:
class CommandObjectSourceList : public CommandObjectParsed {
class CommandOptions : public Options {
public:
- CommandOptions() {}
+ CommandOptions() = default;
~CommandOptions() override = default;
@@ -755,7 +755,7 @@ protected:
SourceInfo(ConstString name, const LineEntry &line_entry)
: function(name), line_entry(line_entry) {}
- SourceInfo() {}
+ SourceInfo() = default;
bool IsValid() const { return (bool)function && line_entry.IsValid(); }