[PATCH] D41031: [clangd] (Attempt to) read clang-format file for document formatting

Raoul Wols via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 13:51:44 PST 2017


rwols created this revision.

Takes into account the clang-format file of the project, if any.
Reverts to LLVM if nothing is found. Replies with an error if any error occured.
For instance, a parse error in the clang-format YAML file.


https://reviews.llvm.org/D41031

Files:
  clang-tools-extra/clangd/ClangdLSPServer.cpp
  clang-tools-extra/clangd/ClangdServer.cpp
  clang-tools-extra/clangd/ClangdServer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41031.126204.patch
Type: text/x-patch
Size: 8474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171208/c71dd195/attachment.bin>


More information about the cfe-commits mailing list