[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:54:18 PDT 2024


================
@@ -1336,7 +1336,7 @@ def __repr__(self):
 CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE = CursorKind(271)
 
 # OpenMP teams distribute simd directive.
-CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE = CursorKind(272)
+CursorKind.OMP_TEAMS_DISTRIBUTE_SIMD_DIRECTIVE = CursorKind(272)
----------------
DeinAlptraum wrote:

This was a duplicate with variant 271. new name taken from https://clang.llvm.org/doxygen/Index_8h_source.html, line 2011

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


More information about the cfe-commits mailing list