allow dynamic_cast and ignore semicolon's on their own line (clang-format messes up sei colons for lambdas)