3 Commits

Author SHA1 Message Date
OverMighty
f2f410ca13
[libc][newhdrgen] Remove shebangs in files other than yaml_to_classes.py (#101816)
None of the Python files were committed with the executable bit set, and
only yaml_to_classes.py was intended to be executed.

Also sets the executable bit on yaml_to_classes.py and changes the
shebang to run python3 instead of python.
2024-08-03 23:29:34 -07:00
aaryanshukla
6aed0d5afb
[libc] created integration tests for newhdrgen (#97361)
- created integration tests for libc hdrgen 
- implemented sorting function names in yaml files through script
2024-07-03 14:29:51 -07:00
RoseZhang03
57d3d07050
[libc] added newhdrgen class implementation (#96710)
Added a class representation of a libc header file, allowing for easier
conversion from YAML to .h file output.

Classes include:
- Function (representing function headers)
- Include (representing various include statements found on a header
  file)
- Macro (representing macro definitions)
- Enumeration (representing enum definitions)
- Type (representing include statements for NamedTypes)
- Object (representing ObjectSpec defintitions)
2024-06-26 20:06:21 +00:00