struct VariadicFunction

Declaration

template <typename ResultT,
          typename ArgT,
          ResultT (*)(ArrayRef<const ArgT*>) Func>
struct VariadicFunction { /* full declaration omitted */ };

Description

Variadic function object. Most of the functions below that use VariadicFunction could be implemented using plain C++11 variadic functions, but the function object allows us to capture it on the dynamic matcher registry.

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

Templates

ResultT
ArgT
ResultT (*)(ArrayRef) Func

Method Overview

  • private template <typename... ArgsT>ResultT Execute(const ArgsT &... Args) const

Methods

ΒΆtemplate <typename... ArgsT>
ResultT Execute(const ArgsT&... Args) const

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

Templates

ArgsT

Parameters

const ArgsT&... Args