diff options
author | nerix <nerixdev@outlook.de> | 2025-07-16 11:07:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-16 10:07:45 +0100 |
commit | f98cf07b7dc7af7716e1da9a1257b8c6416f9a46 (patch) | |
tree | e0ae65e2ef8d543dfb3f9c8bf5adc0dbe302d2c3 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 5ae49393957c6b4d47ace7aaf5fc1e0388d3a695 (diff) | |
download | llvm-f98cf07b7dc7af7716e1da9a1257b8c6416f9a46.zip llvm-f98cf07b7dc7af7716e1da9a1257b8c6416f9a46.tar.gz llvm-f98cf07b7dc7af7716e1da9a1257b8c6416f9a46.tar.bz2 |
[LLDB] Convert libstdc++ std::variant summary to C++ (#148929)
This PR converts the `std::variant` summary from Python to C++.
Split from #148554. MSVC's STL and libstdc++ use the same type name for
`std::variant`, thus they need one "dispatcher" function that checks the
type and calls the appropriate summary. For summaries, both need to be
implemented in C++.
This is mostly a 1:1 translation. The main difference is that in C++,
the summary returns `false` if it can't inspect the object properly
(e.g. a member could not be found). In Python, this wasn't possible.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions