aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorJacob Lalonde <jalalonde@fb.com>2025-03-29 15:21:51 -0700
committerGitHub <noreply@github.com>2025-03-29 15:21:51 -0700
commit2f5c836e08164ce8835d520001042efe93caf950 (patch)
tree1fd4d9776367256b3b7222fcaf9ab98f3ef65ac9 /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parent31c37a4a5ebc0d13d86a91c300e15177e9d77ddf (diff)
downloadllvm-2f5c836e08164ce8835d520001042efe93caf950.zip
llvm-2f5c836e08164ce8835d520001042efe93caf950.tar.gz
llvm-2f5c836e08164ce8835d520001042efe93caf950.tar.bz2
[SBProgress] Add swig support for `with` statement in Python (#133527)
We recently added an explicit finalize to SBProgress, #128966. I realized while adding some additional implementations of SBProgress that we should to add `with` support for ease of use. This patch addresses adding and `__enter()__` method (which a no-op) and an `__exit()__` to swig. I also refactor the emitter for the test to leverage `with` instead of explicitly calling finalize, and I've updated the docstrings.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions