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:14 -0700
committerKazu Hirata <kazu@google.com>2022-08-27 09:53:15 -0700
commit099775c2d6609cb03f459393d5bfa4b34e183bc9 (patch)
tree01c3c36ce8194ed4512f9a72fd1be5360b0b9e9d /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd (diff)
downloadllvm-099775c2d6609cb03f459393d5bfa4b34e183bc9.zip
llvm-099775c2d6609cb03f459393d5bfa4b34e183bc9.tar.gz
llvm-099775c2d6609cb03f459393d5bfa4b34e183bc9.tar.bz2
[mlir] Use std::lcm (NFC)
This patch replaces mlir::lcm with std::lcm, a C++17 feature. Note that all the arguments to mlir::lcm are of int64_t with no implicit type conversion as they are passed to mlir::lcm, which I've verified by modifying mlir::lcm as: template <typename TA, typename TB> inline int64_t lcm(TA a, TB b) { static_assert(std::is_same_v<TA, int64_t>); static_assert(std::is_same_v<TB, int64_t>); :
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions