1#ifndef INSTANTIATOR_TEMPLATE_ARGUMENT_H_
2#define INSTANTIATOR_TEMPLATE_ARGUMENT_H_
4#include <clang/AST/TemplateBase.h>
10#include "clang/AST/PrettyPrinter.h"
31 std::vector<std::string>
names = {
""};
33 std::string
name(
const std::string& sep =
" ")
const;
59 constexpr auto parse(format_parse_context& ctx) {
return ctx.begin(); }
60 template <
typename Context>
63 return fmt::format_to(ctx.out(),
"{}", p.
is_dependent ?
"dependent" : p.
name());
Struct for the collection of all relevant data for a function parameter.
std::vector< std::string > names
static TemplateArgument createFromTemplateArgument(const clang::TemplateArgument *parm, clang::PrintingPolicy pp)
bool operator==(const TemplateArgument &other) const
std::string name(const std::string &sep=" ") const
bool compare(const TemplateArgument &other) const