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.
| Paths 
 |  Differential  D68132  
clang-tidy: Don't repeat list of all checks in three places. ClosedPublic Authored by thakis on Sep 27 2019, 5:45 AM. 
Details Summary Instead, put all checks in a cmake variable and reference this. Also, make clangd use the the ClangTidyForceLinker.h header instead 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Sep 27 2019, 5:49 AM Comment Actions Thanks! I'll land this, but beanz, if the cmake setup here is weird please shout and I'll try to make it less weird. We have a few other instances of PARENT_SCOPE variables, so maybe this is how cmake likes to do "group of libraries". Closed by commit rL373082: clang-tidy: Don't repeat list of all checks in three places. (authored by nico).  ·  Explain WhySep 27 2019, 5:55 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 222153 clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
 clang-tools-extra/trunk/clang-tidy/ClangTidyForceLinker.h
 clang-tools-extra/trunk/clang-tidy/plugin/CMakeLists.txt
 clang-tools-extra/trunk/clang-tidy/tool/CMakeLists.txt
 clang-tools-extra/trunk/clangd/CMakeLists.txt
 clang-tools-extra/trunk/clangd/ParsedAST.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||