C++: Fix finding of destructor in outlined definitions
C++: Fix finding of destructor in outlined definitions

Task-number: QTCREATORBUG-7323

Change-Id: I92a42a30d156de2d8006f1df8da86d808a1a518d
Reviewed-by: Christian Kamm <687e37a7866f5c6d83feb41198eb6d862161a68b@nokia.com>

syntheticpp/qt-creator,farseerri/git_code,xianian/qt-creator,malikcjm/qtcreator,kuba1/qtcreator,richardmg/qtcreator,kuba1/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,darksylinc/qt-creator,danimo/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,kuba1/qtcreator,kuba1/qtcreator,omniacreator/qtcreator,richardmg/qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,darksylinc/qt-creator,farseerri/git_code,Distrotech/qtcreator,colede/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,colede/qtcreator,danimo/qt-creator,farseerri/git_code,colede/qtcreator,danimo/qt-creator,syntheticpp/qt-creator,colede/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,xianian/qt-creator,danimo/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,malikcjm/qtcreator,colede/qtcreator,kuba1/qtcreator,richardmg/qtcreator,Distrotech/qtcreator,farseerri/git_code,richardmg/qtcreator,duythanhphan/qt-creator,malikcjm/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,syntheticpp/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,xianian/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,farseerri/git_code,xianian/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,farseerri/git_code,syntheticpp/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,malikcjm/qtcreator,duythanhphan/qt-creator,farseerri/git_code