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

@@ -539,14 +539,14 @@ const Name *Bind::nestedNameSpecifier(NestedNameSpecifierAST *ast)
return class_or_namespace_name;
}
bool Bind::visit(NewPlacementAST *ast)
bool Bind::visit(ExpressionListParenAST *ast)
{
(void) ast;
assert(!"unreachable");
return false;
}
void Bind::newPlacement(NewPlacementAST *ast)
void Bind::newPlacement(ExpressionListParenAST *ast)
{
if (! ast)
return;