Skip to content

Commit

Permalink
Catching up reflect.h and test case output to reflect recent merged…
Browse files Browse the repository at this point in the history
… PRs

NPI
  • Loading branch information
hsutter authored and zaucy committed Dec 5, 2023
1 parent 6a48635 commit 027ee6e
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 7 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(out this, that)
(out this, that)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-bugfix-for-assign-expression-list.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(out this, that)
(out this, that)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pure2-bugfix-for-memberwise-base-assignment.cpp
2 changes: 1 addition & 1 deletion regression-tests/test-results/version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cppfront compiler v0.2.1 Build 8809:1505
cppfront compiler v0.2.1 Build 8809:1848
Copyright(c) Herb Sutter All rights reserved

SPDX-License-Identifier: CC-BY-NC-ND-4.0
Expand Down
2 changes: 1 addition & 1 deletion source/build.info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"8809:1505"
"8809:1848"
10 changes: 5 additions & 5 deletions source/reflect.h
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ compiler_services::compiler_services(compiler_services const& that)

declaration_base::~declaration_base() noexcept{}
declaration_base::declaration_base(declaration_base const& that)
: compiler_services{ that }
: compiler_services{ static_cast<compiler_services const&>(that) }
, n{ that.n }{}

#line 205 "reflect.h2"
Expand Down Expand Up @@ -891,7 +891,7 @@ declaration_base::declaration_base(declaration_base const& that)

declaration::~declaration() noexcept{}
declaration::declaration(declaration const& that)
: declaration_base{ that }{}
: declaration_base{ static_cast<declaration_base const&>(that) }{}

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

function_declaration::function_declaration(function_declaration const& that)
: declaration{ that }{}
: declaration{ static_cast<declaration const&>(that) }{}

#line 325 "reflect.h2"
object_declaration::object_declaration(
Expand Down Expand Up @@ -978,7 +978,7 @@ declaration::declaration(declaration const& that)
}

object_declaration::object_declaration(object_declaration const& that)
: declaration{ that }{}
: declaration{ static_cast<declaration const&>(that) }{}

#line 361 "reflect.h2"
type_declaration::type_declaration(
Expand Down Expand Up @@ -1068,7 +1068,7 @@ declaration::declaration(declaration const& that)
auto type_declaration::disable_member_function_generation() -> void { CPP2_UFCS_0(type_disable_member_function_generation, (*cpp2::assert_not_null(n))); }

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

#line 458 "reflect.h2"
auto add_virtual_destructor(meta::type_declaration& t) -> void
Expand Down

0 comments on commit 027ee6e

Please sign in to comment.