forked from OSchip/llvm-project
[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:
parent
c27214c234
commit
c0ccb582c3
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue