avoid range error in clang formatter when source spans multiple lines