Skip to content

Commit 80af754

Browse files
committed
Catching up reflect.h and test case output to reflect recent merged PRs
NPI
1 parent d7857bb commit 80af754

11 files changed

+13
-7
lines changed

regression-tests/test-results/clang-12/pure2-bugfix-for-assign-expression-list.cpp.execution

Whitespace-only changes.

regression-tests/test-results/clang-12/pure2-bugfix-for-assign-expression-list.cpp.output

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(out this, that)
2+
(out this, that)

regression-tests/test-results/clang-12/pure2-bugfix-for-memberwise-base-assignment.cpp.output

Whitespace-only changes.

regression-tests/test-results/msvc-2022/pure2-bugfix-for-assign-expression-list.cpp.execution

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pure2-bugfix-for-assign-expression-list.cpp
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(out this, that)
2+
(out this, that)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pure2-bugfix-for-memberwise-base-assignment.cpp

regression-tests/test-results/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
cppfront compiler v0.2.1 Build 8809:1505
2+
cppfront compiler v0.2.1 Build 8809:1848
33
Copyright(c) Herb Sutter All rights reserved
44

55
SPDX-License-Identifier: CC-BY-NC-ND-4.0

source/build.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"8809:1505"
1+
"8809:1848"

source/reflect.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ compiler_services::compiler_services(compiler_services const& that)
829829

830830
declaration_base::~declaration_base() noexcept{}
831831
declaration_base::declaration_base(declaration_base const& that)
832-
: compiler_services{ that }
832+
: compiler_services{ static_cast<compiler_services const&>(that) }
833833
, n{ that.n }{}
834834

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

892892
declaration::~declaration() noexcept{}
893893
declaration::declaration(declaration const& that)
894-
: declaration_base{ that }{}
894+
: declaration_base{ static_cast<declaration_base const&>(that) }{}
895895

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

947947
function_declaration::function_declaration(function_declaration const& that)
948-
: declaration{ that }{}
948+
: declaration{ static_cast<declaration const&>(that) }{}
949949

950950
#line 325 "reflect.h2"
951951
object_declaration::object_declaration(
@@ -978,7 +978,7 @@ declaration::declaration(declaration const& that)
978978
}
979979

980980
object_declaration::object_declaration(object_declaration const& that)
981-
: declaration{ that }{}
981+
: declaration{ static_cast<declaration const&>(that) }{}
982982

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

10701070
type_declaration::type_declaration(type_declaration const& that)
1071-
: declaration{ that }{}
1071+
: declaration{ static_cast<declaration const&>(that) }{}
10721072

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

0 commit comments

Comments
 (0)