C++: Reduce calls to translationUnit->tokenCount()
C++: Reduce calls to translationUnit->tokenCount()

Change-Id: I59527ded34873286072be51c6a141dffcbf93406
Reviewed-by: Nikolai Kosjar <9571db158ca61a0d070db010803474231fa0cbab@digia.com>

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