[PATCH] D39430: [clangd] formatting: don't ignore style
Raoul Wols via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 4 16:12:26 PDT 2017
rwols updated this revision to Diff 121605.
rwols added a comment.
- Rebase to latest SVN revision.
- Use `void reply(llvm:Expected<Twine> Result)` for transparent error handling.
- Use `FSProvider` from `ClangdServer` to provide a filesystem for `format::getStyle`.
- Organize things around `llvm::Expected`, I've become a fan of that class :-)
https://reviews.llvm.org/D39430
Files:
clangd/ClangdLSPServer.cpp
clangd/ClangdServer.cpp
clangd/ClangdServer.h
clangd/JSONRPCDispatcher.cpp
clangd/JSONRPCDispatcher.h
test/clangd/formatting.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39430.121605.patch
Type: text/x-patch
Size: 10253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171104/cd208405/attachment.bin>
More information about the cfe-commits
mailing list