================
@@ -668,43 +667,43 @@ class CursorKind(BaseEnumeration):
"""
@staticmethod
- def get_all_kinds():
+ def get_all_kinds() -> list[CursorKind]:
----------------
DeinAlptraum wrote:We do this: https://github.com/llvm/llvm-project/blob/4790a1419907cef0466ca3e34e0e6f1b2ba0360f/clang/bindings/python/clang/cindex.py#L46 which [allows using some of the type annotations features from later versions](https://github.com/llvm/llvm-project/blob/4790a1419907cef0466ca3e34e0e6f1b2ba0360f/clang/bindings/python/clang/cindex.py#L46) https://github.com/llvm/llvm-project/pull/173845 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
