Export TemplateArgumentMatcher so clients defining custom matchers don't need to...
authorDavid Van Cleve <davidvc@google.com>
Fri, 23 Oct 2020 14:01:58 +0000 (16:01 +0200)
committerSam McCall <sam.mccall@gmail.com>
Fri, 23 Oct 2020 14:13:56 +0000 (16:13 +0200)
commitf55eeea4024cb05bff2c9f72968f23183e992a32
tree0e1fde63a52c77bd1c62ef585e1079d11a0d8061
parent8039b3f966804c6578f8265d5eb7bdde8dec3ddd
Export TemplateArgumentMatcher so clients defining custom matchers don't need to use the internal namespace

This change adds another export, `using TemplateArgumentMatcher = internal::Matcher<TemplateArgument>;`, to the collection of exports that put instantiations of the `clang::ast_matchers::internal::Matcher` into the `clang::ast_matchers` namespace. This makes it possible to define custom TemplateArgument matchers without reaching into the `internal` namespace.

Reviewed By: klimek

Differential Revision: https://reviews.llvm.org/D89920
clang/include/clang/ASTMatchers/ASTMatchers.h