forked from qt-creator/qt-creator
Propagate the Friend specifier.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user