C++11: add support for static_assert.

Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Erik Verbruggen
2012-02-02 13:39:24 +01:00
parent 3afd3a37d3
commit 1d3dc30153
18 changed files with 215 additions and 2 deletions

View File

@@ -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;