C++ editor: Fix performance problem when using the mouse to find links.
C++ editor: Fix performance problem when using the mouse to find links.

It is unnecessary to try hard to resolve a class forward declaration
when all you want to know is whether it is a valid link or not.

Task-number: QTCREATORBUG-2688
Reviewed-by: Thorbjorn Lindeijer

ostash/qt-creator-i18n-uk,malikcjm/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,KDE/android-qt-creator,omniacreator/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,darksylinc/qt-creator,syntheticpp/qt-creator,amyvmiwei/qt-creator,pcacjr/qt-creator,syntheticpp/qt-creator,renatofilho/QtCreator,darksylinc/qt-creator,danimo/qt-creator,jonnor/qt-creator,duythanhphan/qt-creator,bakaiadam/collaborative_qt_creator,dmik/qt-creator-os2,Distrotech/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,xianian/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,dmik/qt-creator-os2,syntheticpp/qt-creator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,pcacjr/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,KDAB/KDAB-Creator,pcacjr/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,xianian/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,danimo/qt-creator,farseerri/git_code,jonnor/qt-creator,ostash/qt-creator-i18n-uk,yinyunqiao/qtcreator,duythanhphan/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,malikcjm/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,maui-packages/qt-creator,dmik/qt-creator-os2,renatofilho/QtCreator,danimo/qt-creator,jonnor/qt-creator,colede/qtcreator,Distrotech/qtcreator,azat/qtcreator,syntheticpp/qt-creator,xianian/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,malikcjm/qtcreator,sandsmark/qtcreator-minimap,darksylinc/qt-creator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,yinyunqiao/qtcreator,richardmg/qtcreator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,renatofilho/QtCreator,Distrotech/qtcreator,kuba1/qtcreator,renatofilho/QtCreator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,colede/qtcreator,ostash/qt-creator-i18n-uk,KDE/android-qt-creator,richardmg/qtcreator,yinyunqiao/qtcreator,amyvmiwei/qt-creator,dmik/qt-creator-os2,maui-packages/qt-creator,pcacjr/qt-creator,KDE/android-qt-creator,maui-packages/qt-creator,danimo/qt-creator,colede/qtcreator,xianian/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,hdweiss/qt-creator-visualizer,ostash/qt-creator-i18n-uk,colede/qtcreator,pcacjr/qt-creator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,richardmg/qtcreator,colede/qtcreator,jonnor/qt-creator,kuba1/qtcreator,xianian/qt-creator,jonnor/qt-creator,kuba1/qtcreator,renatofilho/QtCreator,AltarBeastiful/qt-creator,ostash/qt-creator-i18n-uk,KDE/android-qt-creator,farseerri/git_code,bakaiadam/collaborative_qt_creator,xianian/qt-creator,sandsmark/qtcreator-minimap,danimo/qt-creator,omniacreator/qtcreator,yinyunqiao/qtcreator,danimo/qt-creator,KDAB/KDAB-Creator,darksylinc/qt-creator,danimo/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,dmik/qt-creator-os2,KDE/android-qt-creator,richardmg/qtcreator,sandsmark/qtcreator-minimap,farseerri/git_code,azat/qtcreator,pcacjr/qt-creator,malikcjm/qtcreator,azat/qtcreator,kuba1/qtcreator,KDE/android-qt-creator,xianian/qt-creator,yinyunqiao/qtcreator,Distrotech/qtcreator,xianian/qt-creator,sandsmark/qtcreator-minimap,hdweiss/qt-creator-visualizer,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,renatofilho/QtCreator,amyvmiwei/qt-creator,yinyunqiao/qtcreator,danimo/qt-creator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,KDAB/KDAB-Creator,hdweiss/qt-creator-visualizer,KDAB/KDAB-Creator,yinyunqiao/qtcreator,bakaiadam/collaborative_qt_creator,farseerri/git_code,sandsmark/qtcreator-minimap,richardmg/qtcreator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,maui-packages/qt-creator,bakaiadam/collaborative_qt_creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,azat/qtcreator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,farseerri/git_code,danimo/qt-creator,AltarBeastiful/qt-creator,dmik/qt-creator-os2,sandsmark/qtcreator-minimap,syntheticpp/qt-creator,KDAB/KDAB-Creator,jonnor/qt-creator,azat/qtcreator,amyvmiwei/qt-creator,syntheticpp/qt-creator,darksylinc/qt-creator,duythanhphan/qt-creator,Distrotech/qtcreator,pcacjr/qt-creator,Distrotech/qtcreator,azat/qtcreator