[llvm-branch-commits] [clang] release/21.x: [libclang/python] Return None instead of null cursors from Token.cursor (#163183) (PR #163961)

Jannick Kremer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 20 05:41:54 PDT 2025


DeinAlptraum wrote:

Return `None` instead of null cursors from `Token.cursor`. This fixes a bug in version 21 where cursors obtained via `Token.Cursor` were sometimes null cursors that produce errors when used.

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


More information about the llvm-branch-commits mailing list