[all-commits] [llvm/llvm-project] 11e088: [libc++] graph_header_deps.py: Update the computin...

Quuxplusone via All-commits all-commits at lists.llvm.org
Sat Jun 5 09:51:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11e0882e8dde1ab7eeda0ccef620d81b12f30086
      https://github.com/llvm/llvm-project/commit/11e0882e8dde1ab7eeda0ccef620d81b12f30086
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M libcxx/utils/graph_header_deps.py

  Log Message:
  -----------
  [libc++] graph_header_deps.py: Update the computing of "root" (public) headers.

The "root nodes" of the graph are displayed in bold. My intent here
was to bold just the public-API headers, e.g. <vector> and
<experimental/coroutine> and <stdlib.h>, but not helper headers
such as <__functional_base> and <__iterator/next.h>. However,
the recent mass helper-header-ification has exposed defects in
this logic: all the new helpers were ending up bolded! Fix this.
Also, add <__undef_macros> to the list of headers we don't display
by default (like <__config>); it's not interesting to see those edges.

Also, add a sample `dot` command line to the `--help` text.




More information about the All-commits mailing list