Lines Matching refs:RestrictKind
127 auto RestrictKind = SupportedKind; in constructVariadic() local
136 RestrictKind = ast_type_traits::ASTNodeKind::getMostDerivedType( in constructVariadic()
137 RestrictKind, IM.RestrictKind); in constructVariadic()
140 SupportedKind, RestrictKind, in constructVariadic()
145 SupportedKind, RestrictKind, in constructVariadic()
150 SupportedKind, RestrictKind, in constructVariadic()
157 SupportedKind, RestrictKind, in constructVariadic()
170 return RestrictKind.isBaseOf(Kind); in canMatchNodesOfKind()
177 Copy.RestrictKind = in dynCastTo()
178 ast_type_traits::ASTNodeKind::getMostDerivedType(Kind, RestrictKind); in dynCastTo()
185 if (RestrictKind.isBaseOf(DynNode.getNodeKind()) && in matches()
199 assert(RestrictKind.isBaseOf(DynNode.getNodeKind())); in matchesNoKindCheck()