[all-commits] [llvm/llvm-project] a10511: [libc] newhdrgen: updated sorting of guarded funct...

RoseZhang03 via All-commits all-commits at lists.llvm.org
Wed Jul 10 15:12:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a105113feff58bf568a25d7b45e20b6dde4ccd8f
      https://github.com/llvm/llvm-project/commit/a105113feff58bf568a25d7b45e20b6dde4ccd8f
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libc/newhdrgen/class_implementation/classes/function.py
    M libc/newhdrgen/header.py
    A libc/newhdrgen/yaml/dlfcn.yaml
    M libc/newhdrgen/yaml/math.yaml
    M libc/newhdrgen/yaml/sys_prctl.yaml
    M libc/newhdrgen/yaml/unistd.yaml
    M libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] newhdrgen: updated sorting of guarded functions in fuction generation (#98241)

In yaml_to_classes.py, changed order of adding functions so that guarded
functions appear after regular functions. Guarded functions will still
be alphabetically sorted within each guard. Each group of guarded
functions will appear in alphabetical order of the guard name.

Fixed issus in math.yaml such as missing guards.

Fixed Function class for spacing issues and the order in which
attributes are listed in the function header.

Deleted extra whitespace in the last line of unistd.yaml.



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