Commit 73e9f14a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Add aliases to the list of the potential types.

parent 5cfae537
......@@ -196,6 +196,8 @@ void CheckUndefinedSymbols::buildTypeMap(NamespaceBinding *binding, QSet<Namespa
addType(e->name());
} else if (ForwardClassDeclaration *fwd = member->asForwardClassDeclaration()) {
addType(fwd->name());
} else if (NamespaceAlias *alias = member->asNamespaceAlias()) {
addType(alias->name());
} else if (Declaration *decl = member->asDeclaration()) {
if (decl->isTypedef())
addType(decl->name());
......
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