class VariadicAllOfMatcher

Declaration

template <typename T>
class VariadicAllOfMatcher { /* full declaration omitted */ };

Description

A \c VariadicAllOfMatcher<T> object is a variadic functor that takes a number of \c Matcher<T> and returns a \c Matcher<T> that matches \c T nodes that are matched by all of the given matchers. For example: const VariadicAllOfMatcher <NestedNameSpecifier > nestedNameSpecifier; Creates a functor nestedNameSpecifier(...) that creates a\c Matcher<NestedNameSpecifier> given a variable number of arguments of type\c Matcher<NestedNameSpecifier>. The returned matcher matches if all given matchers match.

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1334

Templates

T

Method Overview

Methods

ΒΆVariadicAllOfMatcher<T>()

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1338