diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 11:23:35 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:09 +0100 |
commit | 36a0ea2bcbe306ef845549defb894f479b47a9a1 (patch) | |
tree | 88252dd63e214dacb9683092876081e1273e4fc4 /src/shared/cplusplus/CheckDeclarator.cpp | |
parent | 4089c906fa0fb2988e73c23d8eeb5a15d8b8629f (diff) | |
download | qt-creator-36a0ea2bcbe306ef845549defb894f479b47a9a1.tar.gz |
Removed DeclarationListAST node.
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/CheckDeclarator.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclarator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp index b44c90f955..6fd9245875 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -174,7 +174,7 @@ bool CheckDeclarator::visit(FunctionDeclaratorAST *ast) if (ast->parameters) { DeclarationListAST *parameter_declarations = ast->parameters->parameter_declarations; for (DeclarationListAST *decl = parameter_declarations; decl; decl = decl->next) { - semantic()->check(decl->declaration, fun->arguments()); + semantic()->check(decl->value, fun->arguments()); } if (ast->parameters->dot_dot_dot_token) |