[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
Loading
Please sign in to comment