[all-commits] [llvm/llvm-project] 68a82a: [libc] Elide extra space in hdrgen function declar...

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Feb 14 17:10:20 PST 2025


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

  Changed paths:
    M libc/utils/hdrgen/function.py
    M libc/utils/hdrgen/tests/expected_output/subdir/test.h
    M libc/utils/hdrgen/tests/input/subdir/test.yaml

  Log Message:
  -----------
  [libc] Elide extra space in hdrgen function declarations (#127287)

When the return type's rendering already doesn't end with an
identifier character, such as when it's `T *`, then idiomatic
syntax does not include a space before the `(` and arguments.



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