Searched refs:isBaseOf (Results 1 – 4 of 4) sorted by relevance
18 EXPECT_FALSE(ASTNodeKind().isBaseOf(ASTNodeKind())); in TEST()27 EXPECT_TRUE(DNT<Decl>().isBaseOf(DNT<VarDecl>())); in TEST()29 EXPECT_FALSE(DNT<VarDecl>().isBaseOf(DNT<Decl>())); in TEST()35 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>())); in TEST()36 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<BinaryOperator>())); in TEST()37 EXPECT_FALSE(DNT<CallExpr>().isBaseOf(DNT<BinaryOperator>())); in TEST()38 EXPECT_FALSE(DNT<BinaryOperator>().isBaseOf(DNT<CallExpr>())); in TEST()42 EXPECT_FALSE(DNT<Expr>().isBaseOf(DNT<ArrayType>())); in TEST()43 EXPECT_FALSE(DNT<QualType>().isBaseOf(DNT<FunctionDecl>())); in TEST()
51 bool isBaseOf(ASTNodeKind Other) const;85 static bool isBaseOf(NodeKindId Base, NodeKindId Derived);187 if (ASTNodeKind::getFromNodeKind<QualType>().isBaseOf(NodeKind)) { in KIND_TO_KIND_ID()205 if (ASTNodeKind::getFromNodeKind<BaseT>().isBaseOf(NodeKind)) in KIND_TO_KIND_ID()316 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(NodeKind)) {318 } else if (ASTNodeKind::getFromNodeKind<Stmt>().isBaseOf(NodeKind)) {320 } else if (ASTNodeKind::getFromNodeKind<Type>().isBaseOf(NodeKind)) {322 } else if (ASTNodeKind::getFromNodeKind<NestedNameSpecifier>().isBaseOf(NodeKind)) {
40 bool ASTNodeKind::isBaseOf(ASTNodeKind Other) const { in isBaseOf() function in clang::ast_type_traits::ASTNodeKind41 return isBaseOf(KindId, Other.KindId); in isBaseOf()48 bool ASTNodeKind::isBaseOf(NodeKindId Base, NodeKindId Derived) { in isBaseOf() function in clang::ast_type_traits::ASTNodeKind
277 .isBaseOf(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()); in canConstructFrom()