Commit 6b5b9be7 authored by Roberto Raggi's avatar Roberto Raggi

Returns the newly computed type.

parent 62d6a977
......@@ -209,7 +209,6 @@ FullySpecifiedType Bind::declarator(DeclaratorAST *ast, const FullySpecifiedType
if (! ast)
return type;
std::swap(_declaratorId, declaratorId);
for (SpecifierListAST *it = ast->attribute_list; it; it = it->next) {
type = this->specifier(it->value, type);
......@@ -227,7 +226,7 @@ FullySpecifiedType Bind::declarator(DeclaratorAST *ast, const FullySpecifiedType
// unsigned equals_token = ast->equals_token;
ExpressionTy initializer = this->expression(ast->initializer);
std::swap(_declaratorId, declaratorId);
return init;
return type;
}
bool Bind::visit(QtPropertyDeclarationItemAST *ast)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment