[lldb] Pass fewer parameters by non-const reference to DWARFASTParserClang::ParseSingleMember

These parameters are only passed on by value or const reference, so we should
do the same when calling this function.
This commit is contained in:
Raphael Isemann 2020-06-03 10:34:11 +02:00
parent c27214c234
commit c0ccb582c3
2 changed files with 4 additions and 4 deletions

View File

@ -2385,10 +2385,10 @@ Function *DWARFASTParserClang::ParseFunctionFromDWARF(CompileUnit &comp_unit,
void DWARFASTParserClang::ParseSingleMember(
const DWARFDIE &die, const DWARFDIE &parent_die,
lldb_private::CompilerType &class_clang_type,
const lldb_private::CompilerType &class_clang_type,
const lldb::LanguageType class_language,
std::vector<int> &member_accessibilities,
lldb::AccessType &default_accessibility,
lldb::AccessType default_accessibility,
DelayedPropertyList &delayed_properties,
lldb_private::ClangASTImporter::LayoutInfo &layout_info,
FieldInfo &last_field_info) {

View File

@ -194,10 +194,10 @@ private:
void
ParseSingleMember(const DWARFDIE &die, const DWARFDIE &parent_die,
lldb_private::CompilerType &class_clang_type,
const lldb_private::CompilerType &class_clang_type,
const lldb::LanguageType class_language,
std::vector<int> &member_accessibilities,
lldb::AccessType &default_accessibility,
lldb::AccessType default_accessibility,
DelayedPropertyList &delayed_properties,
lldb_private::ClangASTImporter::LayoutInfo &layout_info,
FieldInfo &last_field_info);