Nicholas Bishop
0075d530b9
Support const eval when calling a C++ thunk ( #6947 )
...
This makes it possible to do const eval when calling a constexpr C++
function with params and return types other than 32/64-bit integers.
Most of the new logic is in `MaybeModifyCppThunkCallForConstEval`, which
is called by `MakeConstantForCall`. This checks if the callee is a C++
thunk (using a new `SpecialFunctionKind::CppThunk` variant), and if so
it:
* Changes the callee from the C++ thunk to the thunk's callee
* Remaps parameters that are passed by pointer to the thunk to the
underlying value
* Drops the return value parameter, if present
2026-04-01 21:34:41 +00:00
..
2025-10-30 18:03:34 +00:00
2025-05-19 14:57:13 +00:00
2026-02-19 16:24:07 +00:00
2026-03-27 22:52:11 +00:00
2026-03-19 23:46:06 +00:00
2026-03-19 23:46:06 +00:00
2025-11-14 00:40:26 +00:00
2026-01-27 22:04:21 +00:00
2026-01-27 22:04:21 +00:00
2026-03-27 21:41:04 +00:00
2026-01-13 22:44:38 +00:00
2025-09-22 15:55:46 +00:00
2026-03-27 21:41:04 +00:00
2025-07-02 19:21:01 +00:00
2026-01-14 00:54:37 +00:00
2026-01-13 22:44:38 +00:00
2026-01-30 22:24:18 +00:00
2026-01-30 22:24:18 +00:00
2026-01-13 22:44:38 +00:00
2025-12-04 21:05:40 +00:00
2026-02-04 17:24:55 +00:00
2026-03-27 19:36:52 +00:00
2025-12-19 18:48:20 +00:00
2026-02-26 23:01:24 +00:00
2025-04-25 16:06:10 +00:00
2026-02-18 22:17:15 +00:00
2025-04-25 16:06:10 +00:00
2026-03-09 22:30:16 +00:00
2026-02-04 02:27:12 +00:00
2026-03-27 12:17:12 +00:00
2026-03-26 15:26:56 +00:00
2026-01-14 19:35:34 +00:00
2026-01-14 17:34:56 +00:00
2026-02-25 23:18:09 +00:00
2026-02-25 23:18:09 +00:00
2026-03-28 00:06:06 +00:00
2026-03-28 00:06:06 +00:00
2026-02-19 20:36:35 +00:00
2026-04-01 21:34:41 +00:00
2026-01-29 22:25:40 +00:00
2026-03-27 19:36:52 +00:00
2025-12-15 17:45:01 +00:00
2025-07-10 21:21:19 +00:00
2026-02-25 22:00:59 +00:00
2026-02-25 22:00:59 +00:00
2026-01-14 17:34:56 +00:00
2026-01-14 17:34:56 +00:00
2025-10-30 18:03:34 +00:00
2025-09-22 15:55:46 +00:00
2026-01-13 22:44:38 +00:00
2026-03-23 20:38:20 +00:00
2026-03-17 17:11:30 +00:00
2026-01-13 22:44:38 +00:00
2026-03-24 20:56:44 +00:00
2026-03-31 22:27:43 +00:00
2026-03-24 20:56:44 +00:00
2026-03-28 00:06:06 +00:00
2026-02-27 13:50:56 +00:00
2026-03-27 19:32:12 +00:00
2026-03-24 20:56:44 +00:00
2026-02-19 16:24:07 +00:00
2026-04-01 21:34:41 +00:00
2026-03-27 22:52:11 +00:00
2026-02-19 16:24:07 +00:00
2026-02-19 16:24:07 +00:00
2026-02-19 16:24:07 +00:00
2025-12-16 01:33:53 +00:00
2026-01-14 19:35:34 +00:00
2026-02-19 16:24:07 +00:00
2026-03-23 20:38:20 +00:00
2025-11-13 17:04:58 +00:00
2026-01-13 22:44:38 +00:00
2026-01-07 00:54:18 +00:00
2026-01-14 19:35:34 +00:00
2025-11-13 23:00:20 +00:00
2026-04-01 15:24:57 +00:00
2025-12-02 17:21:53 +00:00
2026-01-13 22:44:38 +00:00
2026-02-04 02:27:12 +00:00
2026-01-18 18:20:40 +00:00
2026-02-26 23:01:24 +00:00
2025-12-02 22:33:55 +00:00
2026-02-09 22:00:21 +00:00
2026-02-09 22:00:21 +00:00
2025-04-25 16:06:10 +00:00
2026-04-01 21:34:41 +00:00
2026-01-13 22:44:38 +00:00
2026-02-25 22:00:59 +00:00