[lldb/Interpreter][NFC] Remove explicit default initialization of members and base classes

According to clang-tidy's readability-redundant-member-init.
This commit is contained in:
Tatyana Krasnukha
2021-02-19 23:42:42 +03:00
parent 54d03a4985
commit 8cdcd41e38
29 changed files with 46 additions and 79 deletions

View File

@@ -22,12 +22,12 @@ using namespace lldb_private;
// only usefully complete in the file name part of it so it should be good
// enough.
OptionValueFileColonLine::OptionValueFileColonLine()
: OptionValue(), m_file_spec(), m_line_number(LLDB_INVALID_LINE_NUMBER),
: m_line_number(LLDB_INVALID_LINE_NUMBER),
m_column_number(LLDB_INVALID_COLUMN_NUMBER),
m_completion_mask(CommandCompletions::eSourceFileCompletion) {}
OptionValueFileColonLine::OptionValueFileColonLine(llvm::StringRef input)
: OptionValue(), m_file_spec(), m_line_number(LLDB_INVALID_LINE_NUMBER),
: m_line_number(LLDB_INVALID_LINE_NUMBER),
m_column_number(LLDB_INVALID_COLUMN_NUMBER),
m_completion_mask(CommandCompletions::eSourceFileCompletion) {
SetValueFromString(input, eVarSetOperationAssign);