aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorJannick Kremer <jannick.kremer@mailbox.org>2025-10-13 22:56:54 +0900
committerGitHub <noreply@github.com>2025-10-13 13:56:54 +0000
commit38a52828fa60f007f936f2ba752016553a7a550b (patch)
treeb986504b17b72407df34f19b49a5c207ff8866b5 /llvm/lib/CodeGen/MachineScheduler.cpp
parent885da07a9fb169f45ba19c2ff20c7b7fccaa27c5 (diff)
downloadllvm-38a52828fa60f007f936f2ba752016553a7a550b.zip
llvm-38a52828fa60f007f936f2ba752016553a7a550b.tar.gz
llvm-38a52828fa60f007f936f2ba752016553a7a550b.tar.bz2
[libclang/python] Return None instead of null cursors from Token.cursor (#163183)
Since https://github.com/llvm/llvm-project/pull/138103 , the `Cursor` class throws an error when any of its methods is called on a null cursor. Simultaneously, we adapted all methods to return `None` instead of a null cursor, so users should not encounter these. We have overlooked one way to end up with null cursors, namely the `Token.cursor` property, which may return null cursors under some circumstances. Fixes #163180
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions