[clangd] Handle windows line endings in QueryDriver
authorKadir Cetinkaya <kadircet@google.com>
Fri, 19 Jul 2019 09:08:22 +0000 (09:08 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Fri, 19 Jul 2019 09:08:22 +0000 (09:08 +0000)
commitf3ae501d36eb742a82041707d1fe2aba2613e5fc
tree3a49e583fc5b8ca3cc6d78c1d15056b9f16f151e
parent2711e16b354fbb830c54e621c22bf6ee5823437a
[clangd] Handle windows line endings in QueryDriver

Summary:
The previous patch did not fix the end mark. D64789
fixes second case of https://github.com/clangd/clangd/issues/93

Patch by @lh123 !

Reviewers: sammccall, kadircet

Reviewed By: kadircet

Subscribers: MaskRay, ilya-biryukov, jkorous, arphaman, cfe-commits

Tags: #clang-tools-extra, #clang

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

llvm-svn: 366545
clang-tools-extra/clangd/QueryDriverDatabase.cpp
clang-tools-extra/clangd/test/system-include-extractor.test