File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -19416,7 +19416,13 @@ namespace sol { namespace function_detail {
19416
19416
}
19417
19417
19418
19418
template <bool is_yielding, bool no_trampoline>
19419
- static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
19419
+ static int call(lua_State* L)
19420
+ #if SOL_IS_ON(SOL_COMPILER_CLANG)
19421
+ // apparent regression in clang 18 - llvm/llvm-project#91362
19422
+ #else
19423
+ noexcept(std::is_nothrow_copy_assignable_v<T>)
19424
+ #endif
19425
+ {
19420
19426
int nr;
19421
19427
if constexpr (no_trampoline) {
19422
19428
nr = real_call(L);
@@ -19456,7 +19462,12 @@ namespace sol { namespace function_detail {
19456
19462
}
19457
19463
19458
19464
template <bool is_yielding, bool no_trampoline>
19459
- static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) {
19465
+ static int call(lua_State* L) {
19466
+ #if SOL_IS_ON(SOL_COMPILER_CLANG)
19467
+ // apparent regression in clang 18 - llvm/llvm-project#91362
19468
+ #else
19469
+ noexcept(std::is_nothrow_copy_assignable_v<T>)
19470
+ #endif
19460
19471
int nr;
19461
19472
if constexpr (no_trampoline) {
19462
19473
nr = real_call(L);
You can’t perform that action at this time.
0 commit comments