Author: Raphael Isemann Date: 2021-10-11T15:43:49+02:00 New Revision: 8249e50bf4286deee314e36ce7e67f38bcd79db2
URL: https://github.com/llvm/llvm-project/commit/8249e50bf4286deee314e36ce7e67f38bcd79db2 DIFF: https://github.com/llvm/llvm-project/commit/8249e50bf4286deee314e36ce7e67f38bcd79db2.diff LOG: [lldb][NFC] Remove unnecessary reference from ParseChildMembers's default_accessibility parameter Added: Modified: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index 6a1d05644b82..4af1c29ecb79 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -2794,7 +2794,8 @@ bool DWARFASTParserClang::ParseChildMembers( const DWARFDIE &parent_die, CompilerType &class_clang_type, std::vector<std::unique_ptr<clang::CXXBaseSpecifier>> &base_classes, std::vector<DWARFDIE> &member_function_dies, - DelayedPropertyList &delayed_properties, AccessType &default_accessibility, + DelayedPropertyList &delayed_properties, + const AccessType default_accessibility, ClangASTImporter::LayoutInfo &layout_info) { if (!parent_die) return false; diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h index 332056ddcce1..aa7276fed0a2 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h @@ -110,7 +110,7 @@ class DWARFASTParserClang : public DWARFASTParser { std::vector<std::unique_ptr<clang::CXXBaseSpecifier>> &base_classes, std::vector<DWARFDIE> &member_function_dies, DelayedPropertyList &delayed_properties, - lldb::AccessType &default_accessibility, + const lldb::AccessType default_accessibility, lldb_private::ClangASTImporter::LayoutInfo &layout_info); size_t _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits