aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-27 09:53:13 -0700
committerKazu Hirata <kazu@google.com>2022-08-27 09:53:13 -0700
commit86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd (patch)
tree410a0fb0dc3e5134270e4b6d7b8af143000f277d /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent21de2888a4b3bf60c68b6e507ed629b977ef5a0e (diff)
downloadllvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions