[all-commits] [llvm/llvm-project] 9d1b62: [clang-doc] Sort index and avoid non-determinism (...

Paul Kirth via All-commits all-commits at lists.llvm.org
Wed Mar 4 13:56:46 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d1b6214fc0c2ec9794f61a562ed27d914df412d
      https://github.com/llvm/llvm-project/commit/9d1b6214fc0c2ec9794f61a562ed27d914df412d
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M clang-tools-extra/clang-doc/JSONGenerator.cpp
    M clang-tools-extra/clang-doc/MDGenerator.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/test/clang-doc/namespace.cpp

  Log Message:
  -----------
  [clang-doc] Sort index and avoid non-determinism (#184675)

Consolidate logic to get sorted children from  StringMap. 
Using the new API makes it more natural to not miss cases
where we missed sorting the children directly.

This also allows us to remove -DAG checks from tests and have
deterministic ordering.



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