forked from qt-creator/qt-creator
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:
4
src/libs/3rdparty/cplusplus/ASTMatch0.cpp
vendored
4
src/libs/3rdparty/cplusplus/ASTMatch0.cpp
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user