[all-commits] [llvm/llvm-project] 7fbfd2: [lldb] Add StructuredData::Dictionary::ForEachSort...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Fri Sep 25 15:39:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fbfd203131aa597c63d89e45392454280f89cfa
      https://github.com/llvm/llvm-project/commit/7fbfd203131aa597c63d89e45392454280f89cfa
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M lldb/include/lldb/Utility/StructuredData.h
    M lldb/source/Commands/CommandObjectVersion.cpp
    M lldb/source/Utility/StructuredData.cpp

  Log Message:
  -----------
  [lldb] Add StructuredData::Dictionary::ForEachSorted (NFC) (#226597)

`Dictionary::Serialize`, `Dictionary::GetDescription` and the build
configuration dump in `CommandObjectVersion` each collect the
dictionary's keys and sort them before iterating, so that the output
doesn't depend on StringMap's ordering. Factor that into a new
`ForEachSorted` method.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list