From 2d80acbe763e1cd1f872e4d49ba653d09bca8c6e Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Tue, 10 Feb 2009 14:43:19 +0100 Subject: Improved the implementation of new-expressions. --- src/shared/cplusplus/CheckExpression.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/shared/cplusplus/CheckExpression.cpp') diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index e26a19ba80..aaf24c48e1 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -214,8 +214,9 @@ bool CheckExpression::visit(TemplateIdAST *ast) bool CheckExpression::visit(NewExpressionAST *ast) { - FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope); - FullySpecifiedType typeIdTy = semantic()->check(ast->type_id, _scope); + // ### FIXME + //FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope); + //FullySpecifiedType typeIdTy = semantic()->check(ast->type_id, _scope); // ### process new-typeid // ### process new-initializer return false; -- cgit v1.2.1