From 98e2b9b28c7a0c3abf35922aaff6cf4f7736bf91 Mon Sep 17 00:00:00 2001 From: Neil Henderson Date: Thu, 8 Feb 2024 12:46:19 +1000 Subject: [PATCH] Update test-result due to cpp2util.h line numbers changing --- .../test-results/clang-12/pure2-expected-is-as.cpp.output | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output b/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output index 478f19c48..7fd6fda23 100644 --- a/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output +++ b/regression-tests/test-results/clang-12/pure2-expected-is-as.cpp.output @@ -77,20 +77,20 @@ pure2-expected-is-as.cpp2:34:18: error: use of undeclared identifier 'ex1'; did __MATHCALL_VEC (exp,, (_Mdouble_ __x)); ^ In file included from pure2-expected-is-as.cpp:7: -../../../include/cpp2util.h:1600:72: error: invalid application of 'sizeof' to a function type +../../../include/cpp2util.h:1205:72: error: invalid application of 'sizeof' to a function type (std::is_floating_point_v && std::is_floating_point_v && sizeof(From) > sizeof(To)) || ^~~~~~~~~~~~ -../../../include/cpp2util.h:2114:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here +../../../include/cpp2util.h:2128:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here if constexpr (is_narrowing_v) { ^ pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_' requested here auto val1 {cpp2::as_(ex1)}; ^ In file included from pure2-expected-is-as.cpp:7: -../../../include/cpp2util.h:1644:9: error: invalid application of 'sizeof' to a function type +../../../include/cpp2util.h:1249:9: error: invalid application of 'sizeof' to a function type sizeof(CPP2_TYPEOF(x)) > sizeof(C) ^~~~~~~~~~~~~~~~~~~~~~ -../../../include/cpp2util.h:2127:12: note: in instantiation of function template specialization 'cpp2::as' requested here +../../../include/cpp2util.h:2141:12: note: in instantiation of function template specialization 'cpp2::as' requested here return as(CPP2_FORWARD(x)); ^ pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_' requested here