Inital support for Q_D/Q_Q declarations.

This commit is contained in:
Roberto Raggi
2009-11-30 16:30:21 +01:00
parent 5fc8324b8b
commit 527a9bd526
18 changed files with 185 additions and 29 deletions

View File

@@ -128,6 +128,14 @@ bool QtMethodAST::match0(AST *pattern, ASTMatcher *matcher)
return false;
}
bool QtMemberDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
{
if (QtMemberDeclarationAST *_other = pattern->asQtMemberDeclaration())
return matcher->match(this, _other);
return false;
}
bool BinaryExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
{
if (BinaryExpressionAST *_other = pattern->asBinaryExpression())