diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-27 09:53:13 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-27 09:53:13 -0700 |
commit | 86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd (patch) | |
tree | 410a0fb0dc3e5134270e4b6d7b8af143000f277d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp | |
parent | 21de2888a4b3bf60c68b6e507ed629b977ef5a0e (diff) | |
download | llvm-86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd.zip llvm-86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd.tar.gz llvm-86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd.tar.bz2 |
Use std::clamp (NFC)
This patch replaces clamp idioms with std::clamp where the range is
obviously valid from the source code (that is, low <= high) to avoid
introducing undefined behavior.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions