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 23e2fa2c95..74d870a91c 100644 --- a/src/shared/cplusplus/Semantic.cpp +++ b/src/shared/cplusplus/Semantic.cpp @@ -131,11 +131,11 @@ FullySpecifiedType Semantic::check(SpecifierListAST *specifier, Scope *scope) void Semantic::check(DeclarationAST *declaration, Scope *scope, TemplateParameters *templateParameters) { d->checkDeclaration->check(declaration, scope, templateParameters); } -FullySpecifiedType Semantic::check(DeclaratorAST *declarator, FullySpecifiedType type, +FullySpecifiedType Semantic::check(DeclaratorAST *declarator, const FullySpecifiedType &type, Scope *scope, Name **name) { return d->checkDeclarator->check(declarator, type, scope, name); } -FullySpecifiedType Semantic::check(PtrOperatorListAST *ptrOperators, FullySpecifiedType type, +FullySpecifiedType Semantic::check(PtrOperatorListAST *ptrOperators, const FullySpecifiedType &type, Scope *scope) { return d->checkDeclarator->check(ptrOperators, type, scope); } |