Commit 2023cf1e authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Propagate the Friend specifier.

parent aab9c520
......@@ -174,9 +174,13 @@ bool CheckDeclaration::visit(SimpleDeclarationAST *ast)
symbol->setTemplateParameters(_templateParameters);
_templateParameters = 0;
}
if (ty.isDeprecated())
symbol->setDeprecated(true);
if (ty.isFriend())
symbol->setStorage(Symbol::Friend);
_scope->enterSymbol(symbol);
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