[PATCH] D68132: clang-tidy: Don't repeat list of all checks in three places.

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 05:47:14 PDT 2019


thakis created this revision.
thakis added reviewers: beanz, mwyman, gribozavr.
Herald added subscribers: usaxena95, kadircet, arphaman, jkorous, ilya-biryukov, mgorny, srhines.
Herald added a reviewer: jdoerfert.

Instead, put all checks in a cmake variable and reference this.

Also, make clangd use the the ClangTidyForceLinker.h header instead
of duplicating the list of modules -- the duplicate copy was missing
the new "darwin" checker added in r373065.


https://reviews.llvm.org/D68132

Files:
  clang-tools-extra/clang-tidy/CMakeLists.txt
  clang-tools-extra/clang-tidy/ClangTidyForceLinker.h
  clang-tools-extra/clang-tidy/plugin/CMakeLists.txt
  clang-tools-extra/clang-tidy/tool/CMakeLists.txt
  clang-tools-extra/clangd/CMakeLists.txt
  clang-tools-extra/clangd/ParsedAST.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68132.222149.patch
Type: text/x-patch
Size: 6954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190927/1a0c03b1/attachment.bin>


More information about the cfe-commits mailing list