[all-commits] [llvm/llvm-project] d2dd80: [libc] Make hdrgen emit correct relative paths for...

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Feb 14 11:01:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2dd8021fd9b9efe08e512021e732fcb02f1a3ef
      https://github.com/llvm/llvm-project/commit/d2dd8021fd9b9efe08e512021e732fcb02f1a3ef
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M libc/utils/hdrgen/header.py
    A libc/utils/hdrgen/tests/expected_output/subdir/test.h
    M libc/utils/hdrgen/tests/expected_output/test_header.h
    A libc/utils/hdrgen/tests/input/subdir/test.h.def
    A libc/utils/hdrgen/tests/input/subdir/test.yaml
    M libc/utils/hdrgen/tests/test_integration.py
    M libc/utils/hdrgen/type.py

  Log Message:
  -----------
  [libc] Make hdrgen emit correct relative paths for llvm-libc-types (#127150)

This makes hdrgen emit `#include "..."` lines using the correct
relative path (number of `../` steps, if any) for the containing
header, and includes this in the sorted block of `#include` lines
also used for the macro headers.



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