[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 02:19:48 PST 2019


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, jdoerfert, kadircet, arphaman, jkorous, MaskRay, ioeric, ilya-biryukov.
Herald added a project: clang.

Still some pieces to go here: unit tests for new SourceCode functionality and
a command-line flag to force utf-8 mode. But wanted to get early feedback.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D58275

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/Protocol.cpp
  clangd/Protocol.h
  clangd/SourceCode.cpp
  clangd/SourceCode.h
  test/clangd/utf8.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58275.186980.patch
Type: text/x-patch
Size: 12165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190215/57c09336/attachment.bin>


More information about the cfe-commits mailing list