[lldb] Remove redundant access specifiers (NFC)

This commit is contained in:
Jonas Devlieghere 2020-06-15 21:34:12 -07:00
parent 5ddd4fc5a6
commit 388afd8406
25 changed files with 0 additions and 30 deletions

View File

@ -398,7 +398,6 @@ public:
protected:
lldb::SearchFilterSP DoCreateCopy() override;
protected:
FileSpecList m_module_spec_list;
};

View File

@ -75,7 +75,6 @@ protected:
// void
// ReadValueFromMemory (ValueObject* parent, lldb::addr_t address);
protected:
friend class ValueObject;
friend class ValueObjectConstResult;
friend class ValueObjectConstResultImpl;

View File

@ -127,7 +127,6 @@ public:
DumpValueObjectOptions &
SetPointerAsArray(const PointerAsArraySettings &ptr_array);
public:
uint32_t m_max_depth = UINT32_MAX;
lldb::DynamicValueType m_use_dynamic = lldb::eNoDynamicValues;
uint32_t m_omit_summary_depth = 0;

View File

@ -151,7 +151,6 @@ private:
};
TypeOrName m_type;
private:
TypeNameSpecifierImpl(const TypeNameSpecifierImpl &) = delete;
const TypeNameSpecifierImpl &
operator=(const TypeNameSpecifierImpl &) = delete;

View File

@ -326,7 +326,6 @@ private:
void ApplyTerminalSizeChange();
private:
#if LLDB_EDITLINE_USE_WCHAR
std::wstring_convert<std::codecvt_utf8<wchar_t>> m_utf8conv;
#endif

View File

@ -79,7 +79,6 @@ private:
const ReadHandle &operator=(const ReadHandle &) = delete;
};
private:
MainLoopBase(const MainLoopBase &) = delete;
const MainLoopBase &operator=(const MainLoopBase &) = delete;
};

View File

@ -27,7 +27,6 @@ public:
INVALID, DEFINE, UNDEF, START_FILE, END_FILE, INDIRECT
};
public:
static DebugMacroEntry CreateDefineEntry(uint32_t line, const char *str);
static DebugMacroEntry CreateUndefEntry(uint32_t line, const char *str);

View File

@ -320,7 +320,6 @@ public:
} m_value;
}; // class FAValue
public:
Row();
Row(const UnwindPlan::Row &rhs) = default;
@ -375,7 +374,6 @@ public:
collection m_register_locations;
}; // class Row
public:
typedef std::shared_ptr<Row> RowSP;
UnwindPlan(lldb::RegisterKind reg_kind)

View File

@ -1331,7 +1331,6 @@ public:
virtual bool GetProcessInfo(ProcessInstanceInfo &info);
public:
/// Get the exit status for a process.
///
/// \return

View File

@ -1258,7 +1258,6 @@ private:
// for this thread?
StructuredData::ObjectSP m_extended_info; // The extended info for this thread
private:
void BroadcastSelectedFrameChange(StackID &new_frame_id);
Thread(const Thread &) = delete;

View File

@ -615,7 +615,6 @@ private:
lldb::ThreadPlanTracerSP m_tracer_sp;
private:
ThreadPlan(const ThreadPlan &) = delete;
const ThreadPlan &operator=(const ThreadPlan &) = delete;
};

View File

@ -225,7 +225,6 @@ private:
/// The total number of bytes of data this object refers to.
size_t GetByteSize() const { return m_end - m_start; }
private:
/// A pointer to the first byte of data.
uint8_t *m_start;

View File

@ -1621,7 +1621,6 @@ protected:
io_handler.SetIsDone(true);
}
protected:
bool DoExecute(Args &command, CommandReturnObject &result) override {
if (GetDebugger().GetScriptLanguage() != lldb::eScriptLanguagePython) {
result.AppendError("only scripting language supported for scripted "

View File

@ -186,7 +186,6 @@ protected:
return true;
}
protected:
CommandOptions m_options;
};
@ -379,7 +378,6 @@ protected:
return result.Succeeded();
}
protected:
CommandOptions m_options;
};
@ -714,7 +712,6 @@ protected:
return res;
}
protected:
OptionGroupOptions m_option_group;
OptionGroupVariable m_option_variable;
OptionGroupFormat m_option_format;

View File

@ -422,7 +422,6 @@ protected:
return &m_options;
}
protected:
OptionGroupOptions m_options;
OptionGroupFile m_option_working_dir;
};
@ -1023,7 +1022,6 @@ protected:
return result.Succeeded();
}
protected:
ProcessLaunchCommandOptions m_options;
};

View File

@ -249,7 +249,6 @@ protected:
return result.Succeeded();
}
protected:
ProcessLaunchCommandOptions m_options;
};

View File

@ -775,7 +775,6 @@ protected:
return result.Succeeded();
}
protected:
StepType m_step_type;
StepScope m_step_scope;
ThreadStepScopeOptionGroup m_options;

View File

@ -144,7 +144,6 @@ public:
void ForgetDestination(clang::ASTContext *dst_ctx);
void ForgetSource(clang::ASTContext *dst_ctx, clang::ASTContext *src_ctx);
public:
struct DeclOrigin {
DeclOrigin() : ctx(nullptr), decl(nullptr) {}
@ -315,7 +314,6 @@ public:
return delegate_iter->second;
}
public:
DeclOrigin GetDeclOrigin(const clang::Decl *decl);
clang::FileManager m_file_manager;

View File

@ -333,7 +333,6 @@ public:
/// global lookup for performance reasons.
bool IgnoreName(const ConstString name, bool ignore_all_dollar_names);
public:
/// Copies a single Decl into the parser's AST context.
///
/// \param[in] src_decl

View File

@ -60,7 +60,6 @@ private:
size_t GetPointerCount() const;
private:
uint32_t m_ptr_size = UINT32_MAX;
lldb::ByteOrder m_byte_order = lldb::eByteOrderInvalid;
Address m_address = LLDB_INVALID_ADDRESS;

View File

@ -99,7 +99,6 @@ private:
void Dump(Stream &s);
public:
bool m_valid;
AppleObjCVTables *m_owner;
lldb::addr_t m_header_addr;

View File

@ -293,7 +293,6 @@ protected:
private:
bool CreateBinary();
private:
dos_header_t m_dos_header;
coff_header_t m_coff_header;
coff_opt_header_t m_coff_header_opt;

View File

@ -61,7 +61,6 @@ public:
return nullptr;
}
public:
// FIXME make private.
lldb_private::ArchSpec m_target_arch;
};

View File

@ -100,7 +100,6 @@ private:
MinidumpParser(lldb::DataBufferSP data_sp,
std::unique_ptr<llvm::object::MinidumpFile> file);
private:
lldb::DataBufferSP m_data_sp;
std::unique_ptr<llvm::object::MinidumpFile> m_file;
ArchSpec m_arch;

View File

@ -321,7 +321,6 @@ public:
StructuredData::ObjectSP CreateStructuredObject() const;
public:
template <typename... T>
llvm::Expected<PythonObject> CallMethod(const char *name,
const T &... t) const {