AST matcher expressions to filter the relevant nodes for template instantiations.
More...
#include "clang/ASTMatchers/ASTMatchers.h"
Go to the source code of this file.
|
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) |
|
AST matcher expressions to filter the relevant nodes for template instantiations.
Definition in file Matcher.hpp.
◆ FuncWithDef()
clang::ast_matchers::DeclarationMatcher FuncWithDef |
( |
const clang::ast_matchers::internal::Matcher< clang::NamedDecl > & | excluded_names | ) |
|
- Returns
- Matcher expression:
- Parameters
-
excluded_names | NameMatcher 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_names | NameMatcher 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_names | NameMatcher with namespace specifiers which should be ignored. E.g. "std::" |