Commit 5e68a31d authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed fully-qualified-name for destructors.

parent a7d5a1f4
......@@ -58,7 +58,8 @@ static void addNames(const Name *name, QList<const Name *> *names, bool addAllNa
else if (const QualifiedNameId *q = name->asQualifiedNameId()) {
addNames(q->base(), names);
addNames(q->name(), names);
} else if (addAllNames || name->isNameId() || name->isTemplateNameId()) {
} else if (addAllNames || name->isNameId() || name->isTemplateNameId()
|| name->asDestructorNameId()) {
names->append(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