C++: Rename NewPlacementAST to ExpressionListParenAST.

It'll be reused as the initializer expression for declarators
that are followed by "( expression-list )".

Change-Id: I6c76a76641941874ef1ed21daa7b6e057c6d170f
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Christian Kamm
2012-09-12 12:41:46 +02:00
committed by hjk
parent 813846232b
commit 23a11e2ddb
17 changed files with 60 additions and 37 deletions

View File

@@ -592,9 +592,9 @@ bool NamespaceAliasDefinitionAST::match0(AST *pattern, ASTMatcher *matcher)
return false;
}
bool NewPlacementAST::match0(AST *pattern, ASTMatcher *matcher)
bool ExpressionListParenAST::match0(AST *pattern, ASTMatcher *matcher)
{
if (NewPlacementAST *_other = pattern->asNewPlacement())
if (ExpressionListParenAST *_other = pattern->asExpressionListParen())
return matcher->match(this, _other);
return false;