Skip to content

Commit cb69445

Browse files
typos
1 parent 703c716 commit cb69445

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

libc/docs/dev/header_generation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ To add through the command line:
4444

4545
.. code-block:: none
4646
47-
python3 libc/utils/hdrgen/spec/_to_classes.py
47+
python3 libc/utils/hdrgen/spec/yaml_to_classes.py
4848
libc/utils/hdrgen/spec//[yaml_file.yaml] --add_function "<return_type>" <function_name> "<function_arg1, function_arg2>" <standard> <guard> <attribute>
4949
5050
Example:
5151

5252
.. code-block:: none
5353
54-
python3 libc/utils/hdrgen/spec/_to_classes.py
54+
python3 libc/utils/hdrgen/spec/yaml_to_classes.py
5555
libc/utils/hdrgen/spec//ctype.yaml --add_function "char" example_function
5656
"int, void, const void" stdc example_float example_attribute
5757
@@ -90,7 +90,7 @@ Common Errors
9090

9191
.. code-block:: none
9292
93-
"/llvm-project/libc/utils/hdrgen/spec/_to_classes.py", line 67, in yaml_to_classes function_data["return_type"]
93+
"/llvm-project/libc/utils/hdrgen/spec/yaml_to_classes.py", line 67, in yaml_to_classes function_data["return_type"]
9494
9595
If you receive this error or any error pertaining to
9696
``function_data[function_specific_component]`` while building the headers
@@ -118,7 +118,7 @@ Common Errors
118118
missing. Ensure the correct style and required files are present:
119119

120120
| ``[header_name]``
121-
| ``[../libc/utils/hdrgen/spec//[yaml_file.yaml]``
121+
| ``[../libc/utils/hdrgen/spec/[yaml_file.yaml]``
122122
| ``[header_name.h.def]``
123123
| ``[header_name.h]``
124124
| ``DEPENDS``

0 commit comments

Comments
 (0)