summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDebug/Dwarf/DIE.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-06-19 15:33:03 +0300
committerAndreas Kling <kling@serenityos.org>2021-06-19 14:51:18 +0200
commit3a4017b419828f289668afebe358a7f486412b99 (patch)
tree6936e7c7ac4fed00d761a3a6c99e20a9ece68a76 /Userland/Libraries/LibDebug/Dwarf/DIE.h
parent03ef2a479a121cef5de5ca33792f4cf997e6ee71 (diff)
downloadserenity-3a4017b419828f289668afebe358a7f486412b99.zip
LibDebug: Convert LibDebug to east-const style
Diffstat (limited to 'Userland/Libraries/LibDebug/Dwarf/DIE.h')
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/DIE.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/DIE.h b/Userland/Libraries/LibDebug/Dwarf/DIE.h
index 5ee98c6a29..7062b6f3d5 100644
--- a/Userland/Libraries/LibDebug/Dwarf/DIE.h
+++ b/Userland/Libraries/LibDebug/Dwarf/DIE.h
@@ -20,23 +20,23 @@ class CompilationUnit;
// DIE = Debugging Information Entry
class DIE {
public:
- DIE(const CompilationUnit&, u32 offset, Optional<u32> parent_offset = {});
+ DIE(CompilationUnit const&, u32 offset, Optional<u32> parent_offset = {});
u32 offset() const { return m_offset; }
u32 size() const { return m_size; }
bool has_children() const { return m_has_children; }
EntryTag tag() const { return m_tag; }
- Optional<AttributeValue> get_attribute(const Attribute&) const;
+ Optional<AttributeValue> get_attribute(Attribute const&) const;
- void for_each_child(Function<void(const DIE& child)> callback) const;
+ void for_each_child(Function<void(DIE const& child)> callback) const;
bool is_null() const { return m_tag == EntryTag::None; }
- const CompilationUnit& compilation_unit() const { return m_compilation_unit; }
+ CompilationUnit const& compilation_unit() const { return m_compilation_unit; }
Optional<u32> parent_offset() const { return m_parent_offset; }
private:
- const CompilationUnit& m_compilation_unit;
+ CompilationUnit const& m_compilation_unit;
u32 m_offset { 0 };
u32 m_data_offset { 0 };
size_t m_abbreviation_code { 0 };