[all-commits] [llvm/llvm-project] a4cdd9: [libclang/python] Refactor enum usage (#95608)
Jannick Kremer via All-commits
all-commits at lists.llvm.org
Fri Jul 12 02:03:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4cdd94ed0afe76854f837ce3c49c74e712d721d
https://github.com/llvm/llvm-project/commit/a4cdd94ed0afe76854f837ce3c49c74e712d721d
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
R clang/bindings/python/clang/enumerations.py
M clang/bindings/python/tests/cindex/test_enums.py
M clang/bindings/python/tests/cindex/test_token_kind.py
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[libclang/python] Refactor enum usage (#95608)
Use Python's builtin enum class instead of writing our own.
This is preparation for passing a strict type check in PR #78114 ,
fixing 927 out of 1341 strict typing errors
---------
Co-authored-by: Jannick Kremer <jannick-kremer at gmx.de>
Co-authored-by: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list