[all-commits] [llvm/llvm-project] f55eee: Export TemplateArgumentMatcher so clients defining...

davidvancleve via All-commits all-commits at lists.llvm.org
Fri Oct 23 07:14:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f55eeea4024cb05bff2c9f72968f23183e992a32
      https://github.com/llvm/llvm-project/commit/f55eeea4024cb05bff2c9f72968f23183e992a32
  Author: David Van Cleve <davidvc at google.com>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchers.h

  Log Message:
  -----------
  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




More information about the All-commits mailing list