CppEditor: Compare semantic info revision in CppUseSelectionsUpdater
CppEditor: Compare semantic info revision in CppUseSelectionsUpdater

...instead of the semantic info *document* revision, which might be
older in case the semantic info was re-used.

This fixes the use selections in case the user triggered the undo action
after some changes in the local renaming mode.

Regression introduced by extraction of the CppUseSelectionsUpdater in

    commit 89bd4ee
    C++: Base parsing on editor document instead of widget

Change-Id: I8f38f6b53c950e25f02675a939876fa3ed0e81f4
Reviewed-by: Erik Verbruggen <5edfe905d082749f2ac3f4e6b42937f39f083771@digia.com>

AltarBeastiful/qt-creator,maui-packages/qt-creator,xianian/qt-creator,danimo/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,farseerri/git_code,danimo/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,farseerri/git_code,maui-packages/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,xianian/qt-creator,maui-packages/qt-creator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,kuba1/qtcreator,xianian/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,maui-packages/qt-creator,xianian/qt-creator,kuba1/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,farseerri/git_code,farseerri/git_code,danimo/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,xianian/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator