diff options
author | Kazu Hirata <kazu@google.com> | 2022-10-15 14:08:01 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-10-15 14:08:02 -0700 |
commit | bfb0b6f48db15e2e6d7c40edae7c8b4bc95c07fb (patch) | |
tree | 71a08000beb4cb17795abc68999d615a58b529cd /llvm/lib/Support/StringRef.cpp | |
parent | ccd89be64567697d6d09a3a74e08eab81080d567 (diff) | |
download | llvm-bfb0b6f48db15e2e6d7c40edae7c8b4bc95c07fb.zip llvm-bfb0b6f48db15e2e6d7c40edae7c8b4bc95c07fb.tar.gz llvm-bfb0b6f48db15e2e6d7c40edae7c8b4bc95c07fb.tar.bz2 |
[ADT] Simplify getAsInteger and consumeInteger (NFC)
This patch replaces the std::enable_if_t trick with a "constexpr if"
so that the resulting code looks more like "normal" C++ code.
Differential Revision: https://reviews.llvm.org/D136024
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions