forked from qt-creator/qt-creator
C++: add semantic support for C++11 alias decls.
Task-number: QTCREATORBUG-9386 Change-Id: Ia68f3866c122ca5261dd73b2c740b47fb15744fc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
c2d6081a6c
commit
e2a727c450
@@ -584,9 +584,10 @@ public:
|
||||
return __ast;
|
||||
}
|
||||
|
||||
AliasDeclarationAST *AliasDeclaration(TypeIdAST *typeId = 0)
|
||||
AliasDeclarationAST *AliasDeclaration(NameAST *name = 0, TypeIdAST *typeId = 0)
|
||||
{
|
||||
AliasDeclarationAST *__ast = new (&pool) AliasDeclarationAST;
|
||||
__ast->name = name;
|
||||
__ast->typeId = typeId;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user