OSDN Git Service

[clang-tidy] Add library for clang-tidy main function
authorDmitry Polukhin <dmitry.polukhin@gmail.com>
Fri, 24 Jan 2020 00:42:14 +0000 (16:42 -0800)
committerDmitry Polukhin <dmitry.polukhin@gmail.com>
Fri, 24 Jan 2020 21:00:45 +0000 (13:00 -0800)
commit3f8b100e94b5c848843fa91c9782d9d4df4bb026
treef480bf7750d4bb004c6a547c9a6aac9fb1c1754a
parentbe8e38cbd9785d4f4023b88150d14bd815265eef
[clang-tidy] Add library for clang-tidy main function

Summary:
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.

Reviewers: smeenai, gribozavr, stephanemoore

Subscribers: mgorny, xazax.hun, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D73300
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/clang-tidy/tool/ClangTidyMain.h [new file with mode: 0644]
clang-tools-extra/clang-tidy/tool/ClangTidyToolMain.cpp [new file with mode: 0644]