[clang-format] Handle CRLF correctly when formatting escaped newlines
authorKrasimir Georgiev <krasimir@google.com>
Mon, 30 Oct 2017 14:41:34 +0000 (14:41 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 30 Oct 2017 14:41:34 +0000 (14:41 +0000)
commit7f64fa8022befa17e50ae493e896fb8ecc85f301
tree741668d6015a3c5c41e5abfb690623addea5aeff
parent561ac06ff29f5890939394084c9b079d0d4d89ac
[clang-format] Handle CRLF correctly when formatting escaped newlines

Subscribers: klimek

Differential Revision: https://reviews.llvm.org/D39420

Contributed by @peterbudai!

llvm-svn: 316910
clang/lib/Format/FormatTokenLexer.cpp
clang/unittests/Format/FormatTest.cpp