diff options
Diffstat (limited to 'src/shared/cplusplus/ASTMatch0.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTMatch0.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/shared/cplusplus/ASTMatch0.cpp b/src/shared/cplusplus/ASTMatch0.cpp index 26a485a6c1..a2fcf8e0b9 100644 --- a/src/shared/cplusplus/ASTMatch0.cpp +++ b/src/shared/cplusplus/ASTMatch0.cpp @@ -793,14 +793,6 @@ bool ThrowExpressionAST::match0(AST *pattern, ASTMatcher *matcher) return false; } -bool ObjCThrowExpressionAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (ObjCThrowExpressionAST *_other = pattern->asObjCThrowExpression()) - return matcher->match(this, _other); - - return false; -} - bool TranslationUnitAST::match0(AST *pattern, ASTMatcher *matcher) { if (TranslationUnitAST *_other = pattern->asTranslationUnit()) @@ -1089,27 +1081,3 @@ bool ObjCSynchronizedStatementAST::match0(AST *pattern, ASTMatcher *matcher) return false; } -bool ObjCTryBlockStatementAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (ObjCTryBlockStatementAST *_other = pattern->asObjCTryBlockStatement()) - return matcher->match(this, _other); - - return false; -} - -bool ObjCCatchClauseAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (ObjCCatchClauseAST *_other = pattern->asObjCCatchClause()) - return matcher->match(this, _other); - - return false; -} - -bool ObjCFinallyClauseAST::match0(AST *pattern, ASTMatcher *matcher) -{ - if (ObjCFinallyClauseAST *_other = pattern->asObjCFinallyClause()) - return matcher->match(this, _other); - - return false; -} - |