[Lldb-commits] [lldb] [lldb] Print register enum types only once (PR #204818)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 1 02:46:32 PDT 2026
================
@@ -298,19 +304,36 @@ std::string RegisterFlags::DumpEnums(uint32_t max_width) const {
if (enumerators.empty())
continue;
- // Break between enumerators of different fields.
+ auto existing = std::find_if(enum_types.begin(), enum_types.end(),
----------------
felipepiovezan wrote:
nit: we can use `llvm::find_if(enum_types, lambda)` instead
https://github.com/llvm/llvm-project/pull/204818
More information about the lldb-commits
mailing list