Avoid the anti-pattern of:
if dyn_cast<X>: ... elif dyn_cast<Y>: ... elif dyn_cast<Z>: ...
And simply switch on the statement class, as is done elsewhere in this
class. These cases are for classes with no shared inheritance lineage
beyond all inheriting from clang::Stmt.