[clang-tidy] Update `TransformerClangTidyCheck` to use new `buildMatchers` functionality.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Tue, 13 Aug 2019 14:48:13 +0000 (14:48 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Tue, 13 Aug 2019 14:48:13 +0000 (14:48 +0000)
commit1896a31dd33147d6bd798b5b209ec74e50b27783
tree8fd13799b89c0e327180f42428d04ef4dd886ac0
parent07e66137561fc7def181fe098d61e71b59267d26
[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

llvm-svn: 368700
clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp