Searched refs:canConvertTo (Results 1 – 10 of 10) sorted by relevance
1252 if (NodeMatch.canConvertTo<Decl>()) { in addDynamicMatcher()1255 } else if (NodeMatch.canConvertTo<QualType>()) { in addDynamicMatcher()1258 } else if (NodeMatch.canConvertTo<Stmt>()) { in addDynamicMatcher()1261 } else if (NodeMatch.canConvertTo<NestedNameSpecifier>()) { in addDynamicMatcher()1264 } else if (NodeMatch.canConvertTo<NestedNameSpecifierLoc>()) { in addDynamicMatcher()1267 } else if (NodeMatch.canConvertTo<TypeLoc>()) { in addDynamicMatcher()1270 } else if (NodeMatch.canConvertTo<CXXCtorInitializer>()) { in addDynamicMatcher()1273 } else if (NodeMatch.canConvertTo<TemplateArgumentLoc>()) { in addDynamicMatcher()
202 return M.canConvertTo(SupportedKind); in constructVariadic()343 bool DynTypedMatcher::canConvertTo(ASTNodeKind To) const { in canConvertTo() function in clang::ast_matchers::internal::DynTypedMatcher
939 if (NodeMatch.canConvertTo<Decl>()) { in addDynamicMatcher()942 } else if (NodeMatch.canConvertTo<QualType>()) { in addDynamicMatcher()945 } else if (NodeMatch.canConvertTo<Stmt>()) { in addDynamicMatcher()948 } else if (NodeMatch.canConvertTo<NestedNameSpecifier>()) { in addDynamicMatcher()951 } else if (NodeMatch.canConvertTo<NestedNameSpecifierLoc>()) { in addDynamicMatcher()954 } else if (NodeMatch.canConvertTo<TypeLoc>()) { in addDynamicMatcher()
119 return M.canConvertTo(SupportedKind); in constructVariadic()217 bool DynTypedMatcher::canConvertTo(ast_type_traits::ASTNodeKind To) const { in canConvertTo() function in clang::ast_matchers::internal::DynTypedMatcher
130 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Decl>()); in TEST_F()134 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Stmt>()); in TEST_F()
406 template <typename T> bool canConvertTo() const { in canConvertTo() function407 return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()); in canConvertTo()409 bool canConvertTo(ast_type_traits::ASTNodeKind To) const;417 assert(canConvertTo<T>()); in convertTo()577 assert(canConvertTo<QualType>());
459 template <typename T> bool canConvertTo() const { in canConvertTo() function460 return canConvertTo(ASTNodeKind::getFromNodeKind<T>()); in canConvertTo()462 bool canConvertTo(ASTNodeKind To) const;470 assert(canConvertTo<T>()); in convertTo()751 assert(canConvertTo<QualType>());
56 return Matcher.canConvertTo(NodeKind); in canConstructFrom()
59 return Matcher.canConvertTo(NodeKind); in canConstructFrom()
334 return !M.canConvertTo<QualType>(); in hasValidKind()