Skip to content

Commit

Permalink
fix(reflect): regenerate Cpp1 sources
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Oct 9, 2024
1 parent 1f32b02 commit 613f352
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions include/cpp2reflect.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class CPPFRONTAPI compiler_services
) & -> auto;

#line 184 "reflect.h2"
public: [[nodiscard]] auto add_runtime_support_include(cpp2::impl::in<std::string_view> s) & -> decltype(auto);
public: auto add_runtime_support_include(cpp2::impl::in<std::string_view> s) & -> void;

public: [[nodiscard]] virtual auto position() const -> source_position;

Expand All @@ -207,7 +207,7 @@ class CPPFRONTAPI compiler_services
public: auto report_violation(auto const& msg) const& -> void;

#line 226 "reflect.h2"
public: [[nodiscard]] auto is_active() const& -> decltype(auto);
public: [[nodiscard]] auto is_active() const& -> bool;
public: virtual ~compiler_services() noexcept;
public: compiler_services(compiler_services const& that);

Expand Down Expand Up @@ -328,9 +328,9 @@ class CPPFRONTAPI declaration
public: [[nodiscard]] auto is_private() const& -> bool;
public: [[nodiscard]] auto is_default_access() const& -> bool;

public: [[nodiscard]] auto default_to_public() & -> decltype(auto);
public: [[nodiscard]] auto default_to_protected() & -> decltype(auto);
public: [[nodiscard]] auto default_to_private() & -> decltype(auto);
public: auto default_to_public() & -> void;
public: auto default_to_protected() & -> void;
public: auto default_to_private() & -> void;

public: [[nodiscard]] auto make_public() & -> bool;
public: [[nodiscard]] auto make_protected() & -> bool;
Expand Down Expand Up @@ -448,7 +448,7 @@ class CPPFRONTAPI function_declaration
#line 465 "reflect.h2"
public: [[nodiscard]] auto is_binary_comparison_function() const& -> bool;

public: [[nodiscard]] auto default_to_virtual() & -> decltype(auto);
public: auto default_to_virtual() & -> void;

public: [[nodiscard]] auto make_virtual() & -> bool;

Expand Down Expand Up @@ -536,10 +536,10 @@ struct query_declared_value_set_functions_ret { bool out_this_in_that; bool out_
public: auto add_member(cpp2::impl::in<std::string_view> source) & -> void;

#line 658 "reflect.h2"
public: [[nodiscard]] auto remove_marked_members() & -> decltype(auto);
public: [[nodiscard]] auto remove_all_members() & -> decltype(auto);
public: auto remove_marked_members() & -> void;
public: auto remove_all_members() & -> void;

public: [[nodiscard]] auto disable_member_function_generation() & -> decltype(auto);
public: auto disable_member_function_generation() & -> void;
public: type_declaration(type_declaration const& that);

#line 662 "reflect.h2"
Expand Down
18 changes: 9 additions & 9 deletions source/cpp2reflect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ auto newline_pos{CPP2_UFCS(find)(source, '\n')};
}

#line 184 "reflect.h2"
[[nodiscard]] auto compiler_services::add_runtime_support_include(cpp2::impl::in<std::string_view> s) & -> decltype(auto) { return static_cast<void>(CPP2_UFCS(emplace)((*cpp2::impl::assert_not_null(data().includes)), s)); }
auto compiler_services::add_runtime_support_include(cpp2::impl::in<std::string_view> s) & -> void{static_cast<void>(CPP2_UFCS(emplace)((*cpp2::impl::assert_not_null(data().includes)), s)); }

#line 186 "reflect.h2"
[[nodiscard]] auto compiler_services::position() const -> source_position
Expand Down Expand Up @@ -287,7 +287,7 @@ auto newline_pos{CPP2_UFCS(find)(source, '\n')};
}

#line 226 "reflect.h2"
[[nodiscard]] auto compiler_services::is_active() const& -> decltype(auto) { return true; }
[[nodiscard]] auto compiler_services::is_active() const& -> bool { return true; }

compiler_services::~compiler_services() noexcept{}
compiler_services::compiler_services(compiler_services const& that)
Expand Down Expand Up @@ -382,11 +382,11 @@ declaration_base::declaration_base(declaration_base const& that)
[[nodiscard]] auto declaration::is_default_access() const& -> bool { return CPP2_UFCS(is_default_access)((*cpp2::impl::assert_not_null(n))); }

#line 336 "reflect.h2"
[[nodiscard]] auto declaration::default_to_public() & -> decltype(auto) { return static_cast<void>(CPP2_UFCS(make_public)((*cpp2::impl::assert_not_null(n)))); }
auto declaration::default_to_public() & -> void{static_cast<void>(CPP2_UFCS(make_public)((*cpp2::impl::assert_not_null(n))));}
#line 337 "reflect.h2"
[[nodiscard]] auto declaration::default_to_protected() & -> decltype(auto) { return static_cast<void>(CPP2_UFCS(make_protected)((*cpp2::impl::assert_not_null(n)))); }
auto declaration::default_to_protected() & -> void{static_cast<void>(CPP2_UFCS(make_protected)((*cpp2::impl::assert_not_null(n)))); }
#line 338 "reflect.h2"
[[nodiscard]] auto declaration::default_to_private() & -> decltype(auto) { return static_cast<void>(CPP2_UFCS(make_private)((*cpp2::impl::assert_not_null(n)))); }
auto declaration::default_to_private() & -> void{static_cast<void>(CPP2_UFCS(make_private)((*cpp2::impl::assert_not_null(n))));}

#line 340 "reflect.h2"
[[nodiscard]] auto declaration::make_public() & -> bool { return CPP2_UFCS(make_public)((*cpp2::impl::assert_not_null(n))); }
Expand Down Expand Up @@ -586,7 +586,7 @@ declaration::declaration(declaration const& that)
[[nodiscard]] auto function_declaration::is_binary_comparison_function() const& -> bool { return CPP2_UFCS(is_binary_comparison_function)((*cpp2::impl::assert_not_null(n))); }

#line 467 "reflect.h2"
[[nodiscard]] auto function_declaration::default_to_virtual() & -> decltype(auto) { return static_cast<void>(CPP2_UFCS(make_function_virtual)((*cpp2::impl::assert_not_null(n)))); }
auto function_declaration::default_to_virtual() & -> void{static_cast<void>(CPP2_UFCS(make_function_virtual)((*cpp2::impl::assert_not_null(n))));}

#line 469 "reflect.h2"
[[nodiscard]] auto function_declaration::make_virtual() & -> bool { return CPP2_UFCS(make_function_virtual)((*cpp2::impl::assert_not_null(n))); }
Expand Down Expand Up @@ -794,12 +794,12 @@ declaration::declaration(declaration const& that)
}

#line 658 "reflect.h2"
[[nodiscard]] auto type_declaration::remove_marked_members() & -> decltype(auto) { return CPP2_UFCS(type_remove_marked_members)((*cpp2::impl::assert_not_null(n))); }
auto type_declaration::remove_marked_members() & -> void{CPP2_UFCS(type_remove_marked_members)((*cpp2::impl::assert_not_null(n))); }
#line 659 "reflect.h2"
[[nodiscard]] auto type_declaration::remove_all_members() & -> decltype(auto) { return CPP2_UFCS(type_remove_all_members)((*cpp2::impl::assert_not_null(n))); }
auto type_declaration::remove_all_members() & -> void{CPP2_UFCS(type_remove_all_members)((*cpp2::impl::assert_not_null(n)));}

#line 661 "reflect.h2"
[[nodiscard]] auto type_declaration::disable_member_function_generation() & -> decltype(auto) { return CPP2_UFCS(type_disable_member_function_generation)((*cpp2::impl::assert_not_null(n))); }
auto type_declaration::disable_member_function_generation() & -> void{CPP2_UFCS(type_disable_member_function_generation)((*cpp2::impl::assert_not_null(n))); }

type_declaration::type_declaration(type_declaration const& that)
: declaration{ static_cast<declaration const&>(that) }{}
Expand Down

0 comments on commit 613f352

Please sign in to comment.