aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-10-15 14:08:01 -0700
committerKazu Hirata <kazu@google.com>2022-10-15 14:08:02 -0700
commitbfb0b6f48db15e2e6d7c40edae7c8b4bc95c07fb (patch)
tree71a08000beb4cb17795abc68999d615a58b529cd /llvm/lib/Support/StringRef.cpp
parentccd89be64567697d6d09a3a74e08eab81080d567 (diff)
downloadllvm-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