Lines Matching refs:ASTNodeKind
64 return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
143 virtual void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
154 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity = nullptr,
155 ast_type_traits::ASTNodeKind *LeastDerivedKind = nullptr) const = 0;
163 ArrayRef<ast_type_traits::ASTNodeKind> RetKinds,
164 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
165 ast_type_traits::ASTNodeKind *LeastDerivedKind) {
166 for (const ast_type_traits::ASTNodeKind &NodeKind : RetKinds) {
198 ArrayRef<ast_type_traits::ASTNodeKind> RetKinds,
212 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
217 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
218 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
227 const std::vector<ast_type_traits::ASTNodeKind> RetKinds;
267 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
269 ast_type_traits::ASTNodeKind::getFromNodeKind<typename T::head>());
276 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {}
280 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
287 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
288 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
294 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
295 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
367 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
372 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
373 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
381 std::vector<ast_type_traits::ASTNodeKind> RetKinds;
393 DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
397 isConvertibleTo(ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
398 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
416 const ast_type_traits::ASTNodeKind DerivedKind;
560 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
569 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
570 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
618 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
622 bool isConvertibleTo(ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
623 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
646 std::vector<ast_type_traits::ASTNodeKind> RetTypes;
657 std::vector<ast_type_traits::ASTNodeKind> RetTypes;
669 std::vector<ast_type_traits::ASTNodeKind> RetTypes;