Before I've refactored it, the code was longer, more complex and would repeat for all three loop kinds, so I created this templated method to have it in one place. It allowed me to use common methods (`getBody`, `getCond`) without a common base class that would provide them.
Now I see that in this case I should have just written `VisitLoopBody(Stmt*)` method.