diff options
author | jimingham <jingham@apple.com> | 2024-10-30 09:26:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 09:26:37 -0700 |
commit | 9cd30b1ef311edb0aa0527bead52e2fc490160ef (patch) | |
tree | 8fc06c514da5346f1f388633726a230b633595a7 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | a575e6e5ca1eb7b2ae4b906f9bf3be2ba20a80a0 (diff) | |
download | llvm-9cd30b1ef311edb0aa0527bead52e2fc490160ef.zip llvm-9cd30b1ef311edb0aa0527bead52e2fc490160ef.tar.gz llvm-9cd30b1ef311edb0aa0527bead52e2fc490160ef.tar.bz2 |
Fix the sort function for languages to have "strict weak ordering". (#114160)
If you build libstdc++ with "debug" strictness, the test
TestTypeLookup.py will assert. That's because we're calling llvm::sort
(which redirects to std::sort) with a function that doesn't obey strict
weak ordering.
The error was that when the two languages were equal, we're sometimes
returning `true` but strict weak ordering requires that always be false.
This patch just makes the function behave properly.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions