This patch replaces the std::enable_if_t trick with a "constexpr if"
so that the resulting code looks more like "normal" C++ code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D136024
[ADT] Simplify getAsInteger (NFC) ClosedPublic Authored by kazu on Oct 15 2022, 1:07 PM.
Details Summary This patch replaces the std::enable_if_t trick with a "constexpr if"
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 15 2022, 1:27 PM This revision was landed with ongoing or failed builds.Oct 15 2022, 2:08 PM Closed by commit rGbfb0b6f48db1: [ADT] Simplify getAsInteger and consumeInteger (NFC) (authored by kazu). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468037 llvm/include/llvm/ADT/StringRef.h
|