Commit 44794102 authored by Roberto Raggi's avatar Roberto Raggi

Process named and elaborated type specifiers.

parent fc17a422
......@@ -2309,18 +2309,17 @@ bool Bind::visit(ClassSpecifierAST *ast)
bool Bind::visit(NamedTypeSpecifierAST *ast)
{
/*const Name *name =*/ this->name(ast->name);
_type.setType(control()->namedType(this->name(ast->name)));
return false;
}
bool Bind::visit(ElaboratedTypeSpecifierAST *ast)
{
// unsigned classkey_token = ast->classkey_token;
FullySpecifiedType type;
for (SpecifierListAST *it = ast->attribute_list; it; it = it->next) {
type = this->specifier(it->value, type);
_type = this->specifier(it->value, _type);
}
/*const Name *name =*/ this->name(ast->name);
_type.setType(control()->namedType(this->name(ast->name)));
return false;
}
......
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