Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
bindings/python/llvm/core.py | ||
---|---|---|
403 ↗ | (On Diff #180048) | == should be = |
utils/gdb-scripts/prettyprinters.py | ||
84 ↗ | (On Diff #180048) | Should be next = __next__ |
90 ↗ | (On Diff #180048) | This line is just wrong in the original. It creates a variable __next__ that is set to the built in next function. It serves no use and should be deleted. |
175 ↗ | (On Diff #180048) | I see at line 183: |
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
84 ↗ | (On Diff #180048) | I made the move to make it clear that python3 should be the default standard, and the ugly boilerplate is the python2 compatibility. |
90 ↗ | (On Diff #180048) | Correct! I've been in auto-fix mode for some of these commits, thanks *a lot* for spotting all these mistakes. |
175 ↗ | (On Diff #180048) | For the reasons given above, I still made the change, and fixed the behavior below. I also checked the other next implementation. |
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
185 ↗ | (On Diff #180065) | makor -> major |
bindings/python/llvm/core.py | ||
---|---|---|
248 ↗ | (On Diff #180069) | I had a poke around this file and found that self.function.next refers to the next property in the Function class. I don't think the Function class should be changed as it isn't intended to be an iterator, and therefore the change to this line should be reverted. |
319 ↗ | (On Diff #180069) | Likewise, self.bb.next is a property of BasicBlock. |
399 ↗ | (On Diff #180069) | Likewise, self.inst.next is a property of Instruction. |
bindings/python/llvm/tests/test_core.py | ||
101 ↗ | (On Diff #180069) | I think this refers to the next property of the Function class in core.py. The change on this line should be reverted. |