Lines Matching refs:ASTNodeKind

65     return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
122 virtual void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
133 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity = nullptr,
134 ast_type_traits::ASTNodeKind *LeastDerivedKind = nullptr) const = 0;
142 ArrayRef<ast_type_traits::ASTNodeKind> RetKinds,
143 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
144 ast_type_traits::ASTNodeKind *LeastDerivedKind) {
145 for (const ast_type_traits::ASTNodeKind &NodeKind : RetKinds) {
177 ArrayRef<ast_type_traits::ASTNodeKind> RetKinds,
191 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
196 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
197 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
206 const std::vector<ast_type_traits::ASTNodeKind> RetKinds;
246 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
248 ast_type_traits::ASTNodeKind::getFromNodeKind<typename T::head>());
255 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {}
259 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
266 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
267 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
273 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {
274 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
345 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
350 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
351 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
359 std::vector<ast_type_traits::ASTNodeKind> RetKinds;
371 DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
375 isConvertibleTo(ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
376 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
394 const ast_type_traits::ASTNodeKind DerivedKind;
539 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
548 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
549 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
597 void getArgKinds(ast_type_traits::ASTNodeKind ThisKind, unsigned ArgNo,
601 bool isConvertibleTo(ast_type_traits::ASTNodeKind Kind, unsigned *Specificity,
602 ast_type_traits::ASTNodeKind *LeastDerivedKind) const override {
625 std::vector<ast_type_traits::ASTNodeKind> RetTypes;
636 std::vector<ast_type_traits::ASTNodeKind> RetTypes;
648 std::vector<ast_type_traits::ASTNodeKind> RetTypes;