[clang] [clang-tools-extra] [ASTMatchers][NFC] Replace `makeMatcher` function with CTAD (PR #147197)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 6 12:48:11 PDT 2025
vbvictor wrote:
I'd suggest marking it `[[deprecated]]` for now and removing it completely after 2 releases of LLVM (AFAIK that's usual procedure).
I've [searched](https://sourcegraph.com/search?q=context:global+::clang::ast_matchers::internal::makeMatcher+-file:.*Matchers%5C.h%24+-file:.*ASTMatchersInternal%5C.h%24+-file:.*ASTMatchersMacros%5C.h%24+-file:.*RewriteRule%5C.cpp%24&patternType=keyword&sm=0) for usages too, and it doesn't seem to be used anywhere, but I think we still need to take into account private forks. If it is used in `clang/lib/Tooling/Transformer/RewriteRule.cpp`, some custom checks/tooling could use it too.
https://github.com/llvm/llvm-project/pull/147197
More information about the cfe-commits
mailing list