Home
last modified time | relevance | path

Searched refs:canConvertTo (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp1252 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()
DASTMatchersInternal.cpp202 return M.canConvertTo(SupportedKind); in constructVariadic()
343 bool DynTypedMatcher::canConvertTo(ASTNodeKind To) const { in canConvertTo() function in clang::ast_matchers::internal::DynTypedMatcher
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp939 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()
DASTMatchersInternal.cpp119 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
/external/llvm-project/clang-tools-extra/unittests/clang-query/
DQueryParserTest.cpp130 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Decl>()); in TEST_F()
134 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Stmt>()); in TEST_F()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h406 template <typename T> bool canConvertTo() const { in canConvertTo() function
407 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>());
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h459 template <typename T> bool canConvertTo() const { in canConvertTo() function
460 return canConvertTo(ASTNodeKind::getFromNodeKind<T>()); in canConvertTo()
462 bool canConvertTo(ASTNodeKind To) const;
470 assert(canConvertTo<T>()); in convertTo()
751 assert(canConvertTo<QualType>());
/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp56 return Matcher.canConvertTo(NodeKind); in canConstructFrom()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp59 return Matcher.canConvertTo(NodeKind); in canConstructFrom()
/external/llvm-project/clang/lib/Tooling/Transformer/
DRewriteRule.cpp334 return !M.canConvertTo<QualType>(); in hasValidKind()