Skip to content
Snippets Groups Projects
Commit 73e9f14a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Add aliases to the list of the potential types.

parent 5cfae537
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment