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
8
src/libs/3rdparty/cplusplus/AST.h
vendored
8
src/libs/3rdparty/cplusplus/AST.h
vendored
@@ -2432,18 +2432,22 @@ class CPLUSPLUS_EXPORT AliasDeclarationAST: public DeclarationAST
|
||||
{
|
||||
public:
|
||||
unsigned using_token;
|
||||
unsigned identifier_token;
|
||||
NameAST *name;
|
||||
unsigned equal_token;
|
||||
TypeIdAST *typeId;
|
||||
unsigned semicolon_token;
|
||||
|
||||
public: // annotations
|
||||
Declaration *symbol;
|
||||
|
||||
public:
|
||||
AliasDeclarationAST()
|
||||
: using_token(0)
|
||||
, identifier_token(0)
|
||||
, name(0)
|
||||
, equal_token(0)
|
||||
, typeId(0)
|
||||
, semicolon_token(0)
|
||||
, symbol(0)
|
||||
{}
|
||||
|
||||
virtual AliasDeclarationAST *asAliasDeclaration() { return this; }
|
||||
|
||||
Reference in New Issue
Block a user