Skip to content

[libc] Remove unnecessary subdirectory layers in utils/hdrgen #121363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
13 changes: 7 additions & 6 deletions libc/utils/hdrgen/yaml_to_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
import yaml
import argparse
from pathlib import Path
from header import HeaderFile

from enumeration import Enumeration
from function import Function
from gpu_headers import GpuHeaderFile as GpuHeader
from class_implementation.classes.macro import Macro
from class_implementation.classes.type import Type
from class_implementation.classes.function import Function
from class_implementation.classes.enumeration import Enumeration
from class_implementation.classes.object import Object
from header import HeaderFile
from macro import Macro
from object import Object
from type import Type


def yaml_to_classes(yaml_data, header_class, entry_points=None):
Expand Down
Loading