forked from qt-creator/qt-creator
C++11: add support for static_assert.
Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -759,6 +759,14 @@ public:
|
||||
return __ast;
|
||||
}
|
||||
|
||||
StaticAssertDeclarationAST *StaticAssertDeclaration(ExpressionAST *expression = 0, ExpressionAST *string_literal = 0)
|
||||
{
|
||||
StaticAssertDeclarationAST *__ast = new (&pool) StaticAssertDeclarationAST;
|
||||
__ast->expression = expression;
|
||||
__ast->string_literal = string_literal;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
StringLiteralAST *StringLiteral(StringLiteralAST *next = 0)
|
||||
{
|
||||
StringLiteralAST *__ast = new (&pool) StringLiteralAST;
|
||||
|
||||
Reference in New Issue
Block a user