llvm-project/clang-tools-extra/unittests/clang-tidy
Artem Dergachev 6a043ecc0c [clang-tidy] Fix ODR violation in unittests.
Both tests define clang::tidy::test::TestCheck::registerMatchers().
This is UB and causes linker to sometimes choose the wrong overload.

Put classes into anonymous namespaces to avoid the problem.

Differential Revision: https://reviews.llvm.org/D84902
2020-07-30 08:52:47 -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 [clang-tidy] Fix ODR violation in unittests. 2020-07-30 08:52:47 -07:00
ClangTidyOptionsTest.cpp [clang-tidy] Fix ODR violation in unittests. 2020-07-30 08:52:47 -07:00
ClangTidyTest.h [clang-tidy] Sanity checks in ClangTidyTest header. 2020-06-30 16:19:15 +01:00
GlobListTest.cpp GlobList: added a clear test for pattern priority 2019-08-27 08:42:42 +00:00
GoogleModuleTest.cpp
IncludeInserterTest.cpp [clang-tidy] Refactor IncludeInserter 2020-07-27 12:48:55 +01: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 [clang-tidy] In TransformerClangTidyCheck, support option IncludeStyle. 2020-05-05 10:38:31 -04:00
UsingInserterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00