[lldb][NFC] Remove unnecessary reference from ParseChildMembers's default_accessibili...
authorRaphael Isemann <teemperor@gmail.com>
Mon, 11 Oct 2021 13:23:07 +0000 (15:23 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 11 Oct 2021 13:43:49 +0000 (15:43 +0200)
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h

index 6a1d056..4af1c29 100644 (file)
@@ -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;
index 332056d..aa7276f 100644 (file)
@@ -110,7 +110,7 @@ protected:
       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