diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2017-09-04 12:28:15 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2017-09-04 12:28:15 +0000 |
commit | 1fab4f8a593099fb1b8964f5e9f9b6e4dfd6e8aa (patch) | |
tree | b1ff6cc5f832b79d5b11c1895cdfa946eea74191 /clang/lib/Format/UnwrappedLineParser.cpp | |
parent | 62c78f27d4f9093616fac88c9850d71df020e096 (diff) | |
download | bcm5719-llvm-1fab4f8a593099fb1b8964f5e9f9b6e4dfd6e8aa.tar.gz bcm5719-llvm-1fab4f8a593099fb1b8964f5e9f9b6e4dfd6e8aa.zip |
clangd: Tolerate additional headers
Summary:
The language server protocol specified 2 headers (Content-Length and Content-Type), but does not specify their sequence. It specifies that an empty line ends
headers. Clangd has been updated to handle arbitrary sequences of headers, extracting only the content length.
Patch by puremourning (Ben Jackson).
Reviewers: bkramer, klimek, ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: cfe-commits, ilya-biryukov
Differential Revision: https://reviews.llvm.org/D37282
llvm-svn: 312483
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions