[clang] Added TypeKind.FLOAT16 for 32 in cindex.py (PR #142634)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 6 02:19:02 PDT 2025
DeinAlptraum wrote:
Great, thank you!
> IMHO: I guess a relevant test case is to take some huge relevant project, maybe LLVM itself and parse all their files and walk through all the nodes of the ast through all the members/methods recursively
The problem is that this depends on the functionality you're testing, e.g. in this case, just walking the entire Clang AST would not have been enough to detect the issue, you would have had to call `cursor.type.kind` for every node. And at that point, you might as well compare the possible to the mapped kinds directly.
https://github.com/llvm/llvm-project/pull/142634
More information about the cfe-commits
mailing list