[libc-commits] [libc] [libc][docgen] support non-top-level headers (PR #119621)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Dec 12 09:47:21 PST 2024
================
@@ -176,10 +180,22 @@ def print_impl_status_rst(header: Header, api: Dict):
print_functions_rst(header, api["functions"])
+# This code implicitly relies on docgen.py being in the same dir as the json
+# files and is likely to need to be fixed when re-integrating docgen into
+# hdrgen.
+def get_choices() -> List:
----------------
nickdesaulniers wrote:
```
Traceback (most recent call last):
File "/android0/llvm-project/./libc/utils/docgen/docgen.py", line 186, in <module>
def get_choices() -> List:
^^^^
NameError: name 'List' is not defined. Did you mean: 'list'?
```
sigh...
https://github.com/llvm/llvm-project/pull/119621
More information about the libc-commits
mailing list