diff options
Diffstat (limited to 'src/shared/cplusplus/ASTMatch0.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTMatch0.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/shared/cplusplus/ASTMatch0.cpp b/src/shared/cplusplus/ASTMatch0.cpp index a2fcf8e0b9..8ffc5e6cbd 100644 --- a/src/shared/cplusplus/ASTMatch0.cpp +++ b/src/shared/cplusplus/ASTMatch0.cpp @@ -105,25 +105,9 @@ bool AccessDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) return false; } -bool QtPropertyDeclarationNamingItemAST::match0(AST *pattern, ASTMatcher *matcher) +bool QtPropertyDeclarationItemAST::match0(AST *pattern, ASTMatcher *matcher) { - if (QtPropertyDeclarationNamingItemAST *_other = pattern->asQtPropertyDeclarationNamingItem()) - return matcher->match(this, _other); - - return false; -} - -bool QtPropertyDeclarationBoolItemAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (QtPropertyDeclarationBoolItemAST *_other = pattern->asQtPropertyDeclarationBoolItem()) - return matcher->match(this, _other); - - return false; -} - -bool QtPropertyDeclarationFlaggingItemAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (QtPropertyDeclarationFlaggingItemAST *_other = pattern->asQtPropertyDeclarationFlaggingItem()) + if (QtPropertyDeclarationItemAST *_other = pattern->asQtPropertyDeclarationItem()) return matcher->match(this, _other); return false; |