ΒΆinline clang::ast_matchers::dynamic::
VariantMatcher
outvalueToVariantMatcher(
const clang::ast_matchers::internal::
DynTypedMatcher& Matcher)
inline clang::ast_matchers::dynamic::
VariantMatcher
outvalueToVariantMatcher(
const clang::ast_matchers::internal::
DynTypedMatcher& Matcher)
Description
Convert the return values of the functions into a VariantMatcher. There are 2 cases right now: The return value is a Matcher <T > or is a polymorphic matcher. For the former, we just construct the VariantMatcher. For the latter, we instantiate all the possible Matcher <T > of the poly matcher.
Declared at: clang/lib/ASTMatchers/Dynamic/Marshallers.h:442
Parameters
- const clang::ast_matchers::internal:: DynTypedMatcher& Matcher