From f4163b8ba01cd1a4f5d91c83a3863939b7809375 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Sun, 14 Feb 2010 16:05:25 +0100 Subject: Added Objective-C @try block parsing. --- src/shared/cplusplus/CheckExpression.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/shared/cplusplus/CheckExpression.cpp') diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index 748fa9c901..663f0c4f0b 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -305,6 +305,12 @@ bool CheckExpression::visit(ThrowExpressionAST *ast) return false; } +bool CheckExpression::visit(ObjCThrowExpressionAST *ast) +{ + FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope); + return false; +} + bool CheckExpression::visit(TypeIdAST *ast) { FullySpecifiedType typeSpecTy = semantic()->check(ast->type_specifier_list, _scope); -- cgit v1.2.1