clang-format: Fix crasher caused by not properly setting dry-run.

llvm-svn: 227427
3 files changed