Commit 2e7e4fc9 authored by Roberto Raggi's avatar Roberto Raggi

Skip friend class declarations.

parent 2023cf1e
......@@ -779,8 +779,11 @@ bool CreateBindings::visit(Class *klass)
bool CreateBindings::visit(ForwardClassDeclaration *klass)
{
ClassOrNamespace *previous = enterEntity(klass);
_currentClassOrNamespace = previous;
if (! klass->isFriend()) {
ClassOrNamespace *previous = enterEntity(klass);
_currentClassOrNamespace = previous;
}
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