One of my pet peeves is having to insert a newline in the middle of a statement due to having to write Blah->getLocationContext()->getCurrentStackFrame().
Current stack frame is an object which is used very often, perhaps even more often than the location context,
and it thus should have it's own getter.
Also unifies getter name across objects.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
Fair enough!
Also unifies getter name across objects.
I'd rather omit Current. A docstring might be a better place for stating the obvious :)