[libc-commits] [libc] [libc][hdrgen] Allow to treat hdrgen Python code as a Python module. (PR #128955)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Wed Feb 26 15:02:43 PST 2025
================
@@ -148,13 +147,13 @@ Common Errors
.. code-block:: none
- File "/llvm-project/libc/utils/hdrgen/header.py", line 60, in __str__ for
+ File "/llvm-project/libc/utils/hdrgen/hdrgen/header.py", line 60, in __str__ for
function in self.functions: AttributeError: 'HeaderFile' object has no
attribute 'functions'
When running ``ninja libc`` in the build directory to generate headers you
may receive the error above. Essentially this means that in
- ``libc/utils/hdrgen/header.py`` there is a missing attribute named functions.
+ ``libc/utils/hdrgen/hgrgen/header.py`` there is a missing attribute named functions.
----------------
michaelrj-google wrote:
nit: typo
```suggestion
``libc/utils/hdrgen/hdrgen/header.py`` there is a missing attribute named functions.
```
https://github.com/llvm/llvm-project/pull/128955
More information about the libc-commits
mailing list