================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits