3using namespace clang::ast_matchers;
5DeclarationMatcher
TemplInstWithoutDef(
const internal::Matcher<clang::NamedDecl>& excluded_names,
const internal::Matcher<clang::NamedDecl>& included_names)
8 return functionDecl(isTemplateInstantiation(), unless(isDefinition()), unless(excluded_names), included_names).bind(
"templ_func_instantation");
12DeclarationMatcher
FuncWithDef(
const internal::Matcher<clang::NamedDecl>& excluded_names,
const internal::Matcher<clang::NamedDecl>& included_names)
15 return functionDecl(isDefinition(), unless(excluded_names), included_names).bind(
"func_definition");
19DeclarationMatcher
TemplInst(
const internal::Matcher<clang::NamedDecl>& excluded_names,
const internal::Matcher<clang::NamedDecl>& included_names)
22 return functionDecl(isTemplateInstantiation(), unless(excluded_names), included_names).bind(
"explicit_instantiation");
DeclarationMatcher TemplInst(const internal::Matcher< clang::NamedDecl > &excluded_names, const internal::Matcher< clang::NamedDecl > &included_names)
DeclarationMatcher TemplInstWithoutDef(const internal::Matcher< clang::NamedDecl > &excluded_names, const internal::Matcher< clang::NamedDecl > &included_names)
DeclarationMatcher FuncWithDef(const internal::Matcher< clang::NamedDecl > &excluded_names, const internal::Matcher< clang::NamedDecl > &included_names)
AST matcher expressions to filter the relevant nodes for template instantiations.