ΒΆtemplate <typename T>
internal::Matcher<T> traverse(
clang::TraversalKind TK,
const internal::Matcher<T>& InnerMatcher)
template <typename T>
internal::Matcher<T> traverse(
clang::TraversalKind TK,
const internal::Matcher<T>& InnerMatcher)
Description
Causes all nested matchers to be matched with the specified traversal kind. Given The matcher matches the variable declaration with "init" bound to the "3.0".
Declared at: clang/include/clang/ASTMatchers/ASTMatchers.h:815
Templates
- T
Parameters
- clang::TraversalKind TK
- const internal::Matcher<T>& InnerMatcher