From bd2b80d6ac582b9f0bcd96c86d4b79bfdb64eca1 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 11 Sep 2026 09:11:47 +0200 Subject: Implement aligned attribute --- boot/result.cc | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'boot/result.cc') diff --git a/boot/result.cc b/boot/result.cc index 635a121..c8ea267 100644 --- a/boot/result.cc +++ b/boot/result.cc @@ -17,7 +17,6 @@ along with GCC; see the file COPYING3. If not see #include "elna/boot/result.h" -#include #include #include #include @@ -115,27 +114,6 @@ namespace elna::boot return this->m_name == that; } - identifier_definition::identifier_definition(const std::string& name, - const source_position& position, const bool exported) - : m_identifier(name, position), m_exported(exported) - { - } - - const std::string& identifier_definition::name() const - { - return this->m_identifier.name(); - } - - const identifier& identifier_definition::id() const - { - return this->m_identifier; - } - - bool identifier_definition::exported() const - { - return this->m_exported; - } - std::optional previous_declaration_note( const std::optional& original, std::string_view label, const std::filesystem::path& file) @@ -159,17 +137,6 @@ namespace elna::boot return diagnostic_note{ .message = join(identifiers), .position = position_span, .file = {} }; } - std::vector extract_identifiers(const std::vector& identifiers) - { - std::vector result; - result.reserve(identifiers.size()); - - std::ranges::transform(identifiers, std::back_inserter(result), - [](const auto& identifier) { return identifier.id(); }); - - return result; - } - integer_literal::integer_literal(bool is_signed, std::size_t size) : m_signed(is_signed), m_size(size) { -- cgit v1.2.3