[PATCH] D58275: [clangd] Support utf-8 offsets (rather than utf-16) as a protocol extension

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 15 06:07:55 PST 2019


sammccall updated this revision to Diff 187002.
sammccall added a comment.

Add tests, command-line flag, and misc cleanups.
No flag for clangd-indexer yet. It's surprisingly hard with the executor API :-(


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58275/new/

https://reviews.llvm.org/D58275

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/Protocol.cpp
  clangd/Protocol.h
  clangd/SourceCode.cpp
  clangd/SourceCode.h
  clangd/index/IndexAction.cpp
  clangd/tool/ClangdMain.cpp
  test/clangd/utf8.test
  unittests/clangd/SourceCodeTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58275.187002.patch
Type: text/x-patch
Size: 19807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190215/9597daf0/attachment-0001.bin>


More information about the cfe-commits mailing list