Commit a1b6a474 authored by Leandro Melo's avatar Leandro Melo
Browse files

C++: Fix finding of destructor in outlined definitions

Task-number: QTCREATORBUG-7323

Change-Id: I92a42a30d156de2d8006f1df8da86d808a1a518d
Reviewed-by: default avatarChristian Kamm <>
parent 566f6048
......@@ -1942,6 +1942,8 @@ bool FindUsages::visit(QualifiedNameAST *ast)
if (SimpleNameAST *simple_name = unqualified_name->asSimpleName())
identifier_token = simple_name->identifier_token;
else if (DestructorNameAST *dtor = unqualified_name->asDestructorName())
identifier_token = dtor->unqualified_name->firstToken();
TemplateIdAST *template_id = 0;
if (! identifier_token) {
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