[all-commits] [llvm/llvm-project] 9d5e82: [include-cleaner] Make HTMLReport impl simpler/saf...

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Nov 25 04:12:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d5e82e75c61df1a79e337770c1d54d83b33d96a
      https://github.com/llvm/llvm-project/commit/9d5e82e75c61df1a79e337770c1d54d83b33d96a
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/HTMLReport.cpp

  Log Message:
  -----------
  [include-cleaner] Make HTMLReport impl simpler/safer. NFC

Targets and Refs are 1:1, so merge them.

Don't sort Refs array we keep indices into. (Currently we're done using
those indices by the time we sort, but this is fragile)




More information about the All-commits mailing list