forked from qt-creator/qt-creator
C++11: Parse alias declarations.
The parser no longer fails declarations like: using Foo = std::vector<int>::iterator; Change-Id: Ib3a552ebbe0147fa138db6448a52cdba8f9b9207 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -577,6 +577,13 @@ public:
|
||||
return __ast;
|
||||
}
|
||||
|
||||
AliasDeclarationAST *AliasDeclaration(TypeIdAST *typeId = 0)
|
||||
{
|
||||
AliasDeclarationAST *__ast = new (&pool) AliasDeclarationAST;
|
||||
__ast->typeId = typeId;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
ExpressionListParenAST *ExpressionListParen(ExpressionListAST *expression_list = 0)
|
||||
{
|
||||
ExpressionListParenAST *__ast = new (&pool) ExpressionListParenAST;
|
||||
|
||||
Reference in New Issue
Block a user