[clang-tidy] Update `TransformerClangTidyCheck` to use new `buildMatchers` functionality.

Summary:
`buildMatchers` is the new, more general way to extract the matcher from a rule.
This change migrates the code to use it instead of `buildMatcher`.

Reviewers: gribozavr

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65879

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@368700 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed