forked from qt-creator/qt-creator
C++11: Add alignof() expression.
Change-Id: Id3fb30b9a16ea724bab0d5b05e8cbddb0064e6eb Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -747,6 +747,13 @@ public:
|
||||
return __ast;
|
||||
}
|
||||
|
||||
AlignofExpressionAST *AlignofExpression(TypeIdAST *typeId = 0)
|
||||
{
|
||||
AlignofExpressionAST *__ast = new (&pool) AlignofExpressionAST;
|
||||
__ast->typeId = typeId;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
PointerLiteralAST *PointerLiteral()
|
||||
{
|
||||
PointerLiteralAST *__ast = new (&pool) PointerLiteralAST;
|
||||
|
||||
Reference in New Issue
Block a user