This library allows to create clang-tidy tools with custom checks outside of llvm repo
using prebuilt clang release tarball.
Test Plan:
Checked that clang-tidy works as before. New library exists in istall dir.
|  Differential  D73300  
[clang-tidy] Add library for clang-tidy main function Authored by DmitryPolukhin on Jan 23 2020, 2:46 PM. 
Details This library allows to create clang-tidy tools with custom checks outside of llvm repo Test Plan: 
Diff Detail 
 Event Timeline
 
 
 Comment Actions @thakis I'm sorry sorry if it was not clear. Please let me know if you still prefer to have separate directory for clangTidyMain to have only one target per CMakeLists.txt. | ||||||||||||||||||
Normally we have a single cmake target per CMakeLists.txt. Maybe the library could be in clang-tidy/lib and clang-tidy/tool could use it? Then you wouldn't need the LLVM_OPTIONAL_SOURCES hack and it'd be all a bit nicer.