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/AST.cpp
vendored
4
src/libs/3rdparty/cplusplus/AST.cpp
vendored
@@ -2069,7 +2069,7 @@ unsigned NewInitializerAST::lastToken() const
|
||||
}
|
||||
|
||||
/** \generated */
|
||||
unsigned NewPlacementAST::firstToken() const
|
||||
unsigned ExpressionListParenAST::firstToken() const
|
||||
{
|
||||
if (lparen_token)
|
||||
return lparen_token;
|
||||
@@ -2082,7 +2082,7 @@ unsigned NewPlacementAST::firstToken() const
|
||||
}
|
||||
|
||||
/** \generated */
|
||||
unsigned NewPlacementAST::lastToken() const
|
||||
unsigned ExpressionListParenAST::lastToken() const
|
||||
{
|
||||
if (rparen_token)
|
||||
return rparen_token + 1;
|
||||
|
||||
Reference in New Issue
Block a user