[clang] [libclang/python] Fix bugs in custom enum implementation and add tests (PR #95381)

Jannick Kremer via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 02:52:47 PDT 2024


================
@@ -2395,7 +2395,7 @@ def __repr__(self):
 TypeKind.OCLRESERVEID = TypeKind(160)
 
 TypeKind.OBJCOBJECT = TypeKind(161)
-TypeKind.OBJCCLASS = TypeKind(162)
+TypeKind.OBJCTYPEPARAM = TypeKind(162)
----------------
DeinAlptraum wrote:

This was a duplicate with variant 28 (OBJCCLASS). Corrected name taken from https://clang.llvm.org/doxygen/group__CINDEX__TYPES.html

https://github.com/llvm/llvm-project/pull/95381


More information about the cfe-commits mailing list