diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-27 09:53:14 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-27 09:53:15 -0700 |
commit | 099775c2d6609cb03f459393d5bfa4b34e183bc9 (patch) | |
tree | 01c3c36ce8194ed4512f9a72fd1be5360b0b9e9d /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd (diff) | |
download | llvm-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