forked from qt-creator/qt-creator
C++11: handle noexcept specifications.
Change-Id: I7da3affea2758b2e01124105e2521e1f2c5f6678 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
11
src/libs/3rdparty/cplusplus/ASTPatternBuilder.h
vendored
11
src/libs/3rdparty/cplusplus/ASTPatternBuilder.h
vendored
@@ -390,13 +390,20 @@ public:
|
||||
return __ast;
|
||||
}
|
||||
|
||||
ExceptionSpecificationAST *ExceptionSpecification(ExpressionListAST *type_id_list = 0)
|
||||
DynamicExceptionSpecificationAST *DynamicExceptionSpecification(ExpressionListAST *type_id_list = 0)
|
||||
{
|
||||
ExceptionSpecificationAST *__ast = new (&pool) ExceptionSpecificationAST;
|
||||
DynamicExceptionSpecificationAST *__ast = new (&pool) DynamicExceptionSpecificationAST;
|
||||
__ast->type_id_list = type_id_list;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
NoExceptSpecificationAST *NoExceptSpecification(ExpressionAST *expression = 0)
|
||||
{
|
||||
NoExceptSpecificationAST *__ast = new (&pool) NoExceptSpecificationAST;
|
||||
__ast->expression = expression;
|
||||
return __ast;
|
||||
}
|
||||
|
||||
ExpressionOrDeclarationStatementAST *ExpressionOrDeclarationStatement(ExpressionStatementAST *expression = 0, DeclarationStatementAST *declaration = 0)
|
||||
{
|
||||
ExpressionOrDeclarationStatementAST *__ast = new (&pool) ExpressionOrDeclarationStatementAST;
|
||||
|
||||
Reference in New Issue
Block a user