Because of how Expr is derived from Stmt, e.getSourceRange() for an Expr e that constitutes an expression-statement doesn't include the closing ";".
Is there perhaps some code already somewhere that provides the extended SourceRange? (I'd imagined that SourceManager might provide something like that, but couldn't find anything.)