diff options
author | Roberto Raggi <roberto.raggi@trolltech.com> | 2009-02-10 14:43:19 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-02-10 14:44:03 +0100 |
commit | 2d80acbe763e1cd1f872e4d49ba653d09bca8c6e (patch) | |
tree | fa98b1339f78093ce5bd5d80751252af765650bb /src/shared/cplusplus/CheckExpression.cpp | |
parent | 885d908ea336de72e7fce2141c1060e425f2af0a (diff) | |
download | qt-creator-2d80acbe763e1cd1f872e4d49ba653d09bca8c6e.tar.gz |
Improved the implementation of new-expressions.
Diffstat (limited to 'src/shared/cplusplus/CheckExpression.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckExpression.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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; |