[libc-commits] [libc] [libc][docgen] simplify posix links (PR #119595)
Jordan Rupprecht via libc-commits
libc-commits at lists.llvm.org
Thu Dec 12 10:05:50 PST 2024
================
@@ -79,8 +83,8 @@ def check_api(header: Header, api: Dict):
fns = api["functions"]
for name, obj in fns.items():
- if not (cdef in obj or pdef in obj):
- err = f'error: function {name} does not contain at least one required property: "{cdef}" or "{pdef}"'
+ if (not any(k in obj.keys() for k in possible_keys)):
----------------
rupprecht wrote:
Also here
https://github.com/llvm/llvm-project/pull/119595
More information about the libc-commits
mailing list