aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-10-30 23:06:28 +0400
committerGitHub <noreply@github.com>2023-10-30 23:06:28 +0400
commitd0caa4eef702f6eda1ce5ab3d72faabb55b15ca9 (patch)
tree00d2b9e97e9793110fc7a028327bdabe92707b18 /lldb/source/Commands/CommandObjectGUI.cpp
parent134c91595568ea1335b22e559f20c1a488ea270e (diff)
downloadllvm-d0caa4eef702f6eda1ce5ab3d72faabb55b15ca9.zip
llvm-d0caa4eef702f6eda1ce5ab3d72faabb55b15ca9.tar.gz
llvm-d0caa4eef702f6eda1ce5ab3d72faabb55b15ca9.tar.bz2
[ADT] Backport std::to_underlying from C++23 (#70681)
This patch backports a one-liner `std::to_underlying` that came with C++23. This is useful for refactoring unscoped enums into scoped enums, because the latter are not implicitly convertible to integer types. I followed libc++ implementation, but I consider their testing too heavy for us, so I wrote a simpler set of tests.
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions