[clang] [libclang/python] Ensure all library functions are registered (PR #140015)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 01:32:10 PDT 2025
DeinAlptraum wrote:
@Endilll This PR adds the missing functions to `FUNCTION_LIST`, as well as a test that checks for completeness, as discussed here: https://github.com/llvm/llvm-project/pull/138103#discussion_r2085977138
The test is unfortunately not 100% foolproof, since as noted `clang_getCursorTLSKind` is not among the "visible" attributes of the library object, despite being callable. I've tried various approaches, including [`inspect.getmembers`](https://docs.python.org/3/library/inspect.html#inspect.getmembers), but none of them was able to find `clang_getCursorTLSKind`
https://github.com/llvm/llvm-project/pull/140015
More information about the cfe-commits
mailing list