clang-format: Fix assert triggering on carriage returns.

llvm-svn: 228288
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 309b322..2c71bb2 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -884,6 +884,9 @@
           Column = 0;
           break;
         case '\r':
+          FormatTok->LastNewlineOffset = WhitespaceLength + i + 1;
+          Column = 0;
+          break;
         case '\f':
         case '\v':
           Column = 0;