[all-commits] [llvm/llvm-project] 88e42c: [libclang/python] Fix bugs in custom enum implemen...

Jannick Kremer via All-commits all-commits at lists.llvm.org
Fri Jun 14 02:19:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e42c6779067c4b65624939be74db2d56ee017b
      https://github.com/llvm/llvm-project/commit/88e42c6779067c4b65624939be74db2d56ee017b
  Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/bindings/python/clang/cindex.py
    A clang/bindings/python/tests/cindex/test_enums.py
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [libclang/python] Fix bugs in custom enum implementation and add tests (#95381)

Do not allow initialization of enum from negative IDs (e.g. from_id(-1)
currently produces the last known variant)
Rename duplicate enums: CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE and
TypeKind.OBJCCLASS
Add tests to cover these cases



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