llvm-project/clang-tools-extra/unittests/clang-tidy
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
..
AddConstTest.cpp [clang-tidy] implement utility-function to add 'const' to variables 2020-01-03 20:37:47 +01:00
CMakeLists.txt [OpenMP] "UnFix" layering problem with FrontendOpenMP 2020-04-07 14:41:18 -05:00
ClangTidyDiagnosticConsumerTest.cpp Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
ClangTidyOptionsTest.cpp [clang-tidy] Optional inheritance of file configs from parent directories 2020-04-15 06:41:31 -07:00
ClangTidyTest.h [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
GlobListTest.cpp GlobList: added a clear test for pattern priority 2019-08-27 08:42:42 +00:00
GoogleModuleTest.cpp
IncludeInserterTest.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
LLVMModuleTest.cpp [clang-tidy] Make llvm-header-guard work on llvm git monorepo 2019-09-26 09:56:37 +00:00
NamespaceAliaserTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjCModuleTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OverlappingReplacementsTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ReadabilityModuleTest.cpp [clang-tidy] Add a test. 2017-08-10 12:38:46 +00:00
TransformerClangTidyCheckTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
UsingInserterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00