Instantiator
Generate c++ template instantiations
Loading...
Searching...
No Matches
Matcher.hpp File Reference

AST matcher expressions to filter the relevant nodes for template instantiations. More...

#include "clang/ASTMatchers/ASTMatchers.h"
Include dependency graph for Matcher.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

clang::ast_matchers::DeclarationMatcher TemplInstWithoutDef (const clang::ast_matchers::internal::Matcher< clang::NamedDecl > &excluded_names)
 
clang::ast_matchers::DeclarationMatcher FuncWithDef (const clang::ast_matchers::internal::Matcher< clang::NamedDecl > &excluded_names)
 
clang::ast_matchers::DeclarationMatcher TemplInst (const clang::ast_matchers::internal::Matcher< clang::NamedDecl > &excluded_names)
 

Detailed Description

AST matcher expressions to filter the relevant nodes for template instantiations.

Definition in file Matcher.hpp.

Function Documentation

◆ FuncWithDef()

clang::ast_matchers::DeclarationMatcher FuncWithDef ( const clang::ast_matchers::internal::Matcher< clang::NamedDecl > & excluded_names)
Returns
Matcher expression:
Parameters
excluded_namesNameMatcher with namespace specifiers which should be ignored. E.g. "std::"
Todo
This matcher is not sharp enough. Only function templates or class template member functions are necessary or specializations of them.

◆ TemplInst()

clang::ast_matchers::DeclarationMatcher TemplInst ( const clang::ast_matchers::internal::Matcher< clang::NamedDecl > & excluded_names)
Returns
Matcher expression:
Parameters
excluded_namesNameMatcher with namespace specifiers which should be ignored. E.g. "std::"

◆ TemplInstWithoutDef()

clang::ast_matchers::DeclarationMatcher TemplInstWithoutDef ( const clang::ast_matchers::internal::Matcher< clang::NamedDecl > & excluded_names)
Returns
Matcher expression:
Parameters
excluded_namesNameMatcher with namespace specifiers which should be ignored. E.g. "std::"