diff options
| author | Kazu Hirata <kazu@google.com> | 2025-11-05 08:41:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 08:41:12 -0800 |
| commit | 99334f74ae1cd57634c87975e32c797bed3865ce (patch) | |
| tree | b6a9b26b32b0811c4c394b69ace91243d35ae2f0 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFrameProviderPythonInterface.cpp | |
| parent | 0b5a00aab73967026292d0c1c84b87fabdcc2648 (diff) | |
[ADT] Add static_assert to llvm::to_address for function types (#166505)
This patch aligns llvm::to_address with C++20 std::to_address by
adding a static_assert to prevent instantiation with function types.
The C++20 standard says that std::to_address is ill-formed on a
function type.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFrameProviderPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
