diff options
Diffstat (limited to 'src/shared/cplusplus/Semantic.cpp')
| -rw-r--r-- | src/shared/cplusplus/Semantic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Semantic.cpp b/src/shared/cplusplus/Semantic.cpp index 57ac5fe99f3..d8d6d6617e9 100644 --- a/src/shared/cplusplus/Semantic.cpp +++ b/src/shared/cplusplus/Semantic.cpp @@ -151,8 +151,8 @@ void Semantic::check(ObjCMessageArgumentDeclarationAST *arg, Scope *scope) FullySpecifiedType Semantic::check(ExpressionAST *expression, Scope *scope) { return d->checkExpression->check(expression, scope); } -void Semantic::check(StatementAST *statement, Scope *scope) -{ d->checkStatement->check(statement, scope); } +FullySpecifiedType Semantic::check(StatementAST *statement, Scope *scope) +{ return d->checkStatement->check(statement, scope); } const Name *Semantic::check(NameAST *name, Scope *scope) { return d->checkName->check(name, scope); } |
