[PATCH] D40860: [clangd] Fix diagnostic positions
Raoul Wols via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 14:47:55 PST 2017
rwols created this revision.
This translates diagnostics correctly between 0-based LSP columns, and 1-based clang columns.
https://reviews.llvm.org/D40860
Files:
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/ClangdUnit.cpp
clang-tools-extra/clangd/ClangdUnit.h
clang-tools-extra/test/clangd/diagnostics.test
clang-tools-extra/test/clangd/execute-command.test
clang-tools-extra/test/clangd/extra-flags.test
clang-tools-extra/test/clangd/fixits.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40860.125621.patch
Type: text/x-patch
Size: 18724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/2890bea2/attachment.bin>
More information about the cfe-commits
mailing list