llvm-project/clang-tools-extra/clang-tidy/tool
Dmitry Polukhin cb1ee34e9d [clang-tidy] Optional inheritance of file configs from parent directories
Summary:
Without this patch clang-tidy stops finding file configs on the nearest
.clang-tidy file. In some cases it is not very convenient because it
results in common parts duplication into every child .clang-tidy file.
This diff adds optional config inheritance from the parent directories
config files.

Test Plan:

Added test cases in existing config test.

Reviewers: alexfh, gribozavr2, klimek, hokein

Subscribers: njames93, arphaman, xazax.hun, aheejin, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D75184
2020-04-15 06:41:31 -07:00
..
CMakeLists.txt [OpenMP] "UnFix" last layering problem with FrontendOpenMP 2020-04-07 22:47:41 -05:00
ClangTidyMain.cpp [clang-tidy] Optional inheritance of file configs from parent directories 2020-04-15 06:41:31 -07:00
ClangTidyMain.h [clang-tidy] Add library for clang-tidy main function 2020-01-24 13:00:45 -08:00
ClangTidyToolMain.cpp [clang-tidy] Add library for clang-tidy main function 2020-01-24 13:00:45 -08:00
clang-tidy-diff.py [clang-tidy] Handle missing yaml module in run-clang-tidy.py 2019-03-27 19:21:32 +00:00
run-clang-tidy.py [clang-tidy] remove default header-filter for run-clang-tidy 2019-05-22 01:01:11 +00:00