diff options
| author | Louis Dionne <ldionne.2@gmail.com> | 2024-08-16 11:08:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 11:08:34 -0400 |
| commit | 99696b35bc8a0054e0b0c1a26e8dd5049fa8c41b (patch) | |
| tree | f7f5c4d2fe351138ae33899fd57ce0daa9917501 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | 60bffe221a1d615ffc7c6b632287d0fbd27ef863 (diff) | |
[libc++] Fix rejects-valid in std::span copy construction (#104500)
Trying to copy-construct a std::span from another std::span holding an
incomplete type would fail as we evaluate the SFINAE for the range-based
constructor. The problem was that we checked for __is_std_span after
checking for the range being a contiguous_range, which hard-errored
because of arithmetic on a pointer to incomplete type.
As a drive-by, refactor the whole test and format it.
Fixes #104496
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
