[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-18 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum closed https://github.com/llvm/llvm-project/pull/143264 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-17 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll approved this pull request. https://github.com/llvm/llvm-project/pull/143264 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Vlad Serebrennikov via cfe-commits
@@ -44,10 +34,70 @@ def test_from_id(self): with self.assertRaises(ValueError): enum.from_id(-1) -def test_duplicate_ids(self): -"""Check that no two kinds have the same id""" -# for enum in self.enums: +def test_all_variants

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum updated https://github.com/llvm/llvm-project/pull/143264 >From be61f911f07e5c5a497f942e530bd0f86f19478f Mon Sep 17 00:00:00 2001 From: Jannick Kremer Date: Sat, 7 Jun 2025 21:57:17 +0900 Subject: [PATCH 01/12] [libclang/python] Add missing enum variants Add test

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum edited https://github.com/llvm/llvm-project/pull/143264 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
@@ -44,8 +46,53 @@ def test_from_id(self): def test_duplicate_ids(self): """Check that no two kinds have the same id""" -# for enum in self.enums: for enum in self.enums: num_declared_variants = len(enum._member_map_.keys())

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
@@ -2482,6 +2529,13 @@ def spelling(self): FLOAT128 = 30 HALF = 31 FLOAT16 = 32 +SHORTACCUM = 33 +ACCUM = 34 +LONGACCUM = 35 +USHORTACCUM = 36 +UACCUM = 37 +ULONGACCUM = 38 +BFLOAT16 = 39 IBM128 = 40 DeinAlptraum wro

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
@@ -44,8 +46,53 @@ def test_from_id(self): def test_duplicate_ids(self): """Check that no two kinds have the same id""" -# for enum in self.enums: for enum in self.enums: num_declared_variants = len(enum._member_map_.keys())

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
@@ -44,8 +46,53 @@ def test_from_id(self): def test_duplicate_ids(self): """Check that no two kinds have the same id""" -# for enum in self.enums: for enum in self.enums: num_declared_variants = len(enum._member_map_.keys())

[clang] [libclang/python] Sync python kinds with Index.h enums (PR #143264)

2025-09-16 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum edited https://github.com/llvm/llvm-project/pull/143264 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits