[PATCH] D55256: [clangd] Support clang-tidy configuration in clangd.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 4 01:53:23 PST 2018


hokein created this revision.
hokein added a reviewer: ilya-biryukov.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ioeric, javed.absar.

Clangd will support a minimal set of clang-tidy configurations

- respect .clang-tidy for each file
- add a `clang-tidy-checks` CLI option that can override options from .clang-tidy file

TODO: add a lit test.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D55256

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/ClangdServer.cpp
  clangd/ClangdServer.h
  clangd/ClangdUnit.cpp
  clangd/ClangdUnit.h
  clangd/tool/ClangdMain.cpp
  unittests/clangd/FileIndexTests.cpp
  unittests/clangd/TUSchedulerTests.cpp
  unittests/clangd/TestTU.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55256.176561.patch
Type: text/x-patch
Size: 11970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181204/d5f268e4/attachment-0001.bin>


More information about the cfe-commits mailing list