diff options
| author | Chris B <chris.bieneman@me.com> | 2024-09-20 16:42:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 16:42:53 -0500 |
| commit | 4b4ea6d84bddb5e7b3f144d18630390755e8f7b6 (patch) | |
| tree | a37f3a1aebc362bc988c3bf9854a119e1f55195e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 4d621025d4fc2f2438affdca7a016dd93b56f4e0 (diff) | |
[HLSL] Make casting functions constexpr (#108902)
This marks the `bit_cast` helper as `constexpr` and allows the casts
implemented with it to also be `constexpr`. This is largely not a
functional change, but it enables using the casts in expressions that
need to be resolved at compile time as demonstrated with the static
asserts in the new tests.
---------
Co-authored-by: joaosaffran <126493771+joaosaffran@users.noreply.github.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
