[Lldb-commits] [lldb] addbc9b - [nfc] [lldb] Remove unused function DWARFAttribute::set

Jan Kratochvil via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 8 08:05:00 PST 2021


Author: Jan Kratochvil
Date: 2021-03-08T17:04:35+01:00
New Revision: addbc9b34d6fc4757ea1582bd3dd4d9da1cfaf5c

URL: https://github.com/llvm/llvm-project/commit/addbc9b34d6fc4757ea1582bd3dd4d9da1cfaf5c
DIFF: https://github.com/llvm/llvm-project/commit/addbc9b34d6fc4757ea1582bd3dd4d9da1cfaf5c.diff

LOG: [nfc] [lldb] Remove unused function DWARFAttribute::set

Added: 
    

Modified: 
    lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h
index 8c21404610d7..7bfd2d657ed6 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h
@@ -22,10 +22,6 @@ class DWARFAttribute {
                  DWARFFormValue::ValueType value)
       : m_attr(attr), m_form(form), m_value(value) {}
 
-  void set(dw_attr_t attr, dw_form_t form) {
-    m_attr = attr;
-    m_form = form;
-  }
   dw_attr_t get_attr() const { return m_attr; }
   dw_form_t get_form() const { return m_form; }
   void get(dw_attr_t &attr, dw_form_t &form,


        


More information about the lldb-commits mailing list