ΒΆtemplate <typename MatcherT>
SmallVector<clang::ast_matchers::BoundNodes, 1>
match(MatcherT Matcher,
      clang::ASTContext& Context)

Description

Returns the results of matching \p Matcher on the translation unit of\p Context and collects the \c BoundNodes of all callback invocations.

Declared at: clang/include/clang/ASTMatchers/ASTMatchFinder.h:263

Templates

MatcherT

Parameters

MatcherT Matcher
clang::ASTContext& Context