forked from qt-creator/qt-creator
Clang: Change name to registerCurrentCppDocuments
registerCurrentUnsavedFiles was misleading. Change-Id: I5a2444d81d141ced4b8a0fae7236484c9e919d8d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -315,7 +315,7 @@ void IpcCommunicator::registerCurrentProjectParts()
|
|||||||
registerProjectsParts(projectInfo.projectParts());
|
registerProjectsParts(projectInfo.projectParts());
|
||||||
}
|
}
|
||||||
|
|
||||||
void IpcCommunicator::registerCurrentUnsavedFiles()
|
void IpcCommunicator::registerCurrentCppEditorDocuments()
|
||||||
{
|
{
|
||||||
using namespace CppTools;
|
using namespace CppTools;
|
||||||
|
|
||||||
@@ -324,7 +324,6 @@ void IpcCommunicator::registerCurrentUnsavedFiles()
|
|||||||
if (cppEditorDocument->processor()->baseTextDocument()->isModified())
|
if (cppEditorDocument->processor()->baseTextDocument()->isModified())
|
||||||
updateTranslationUnitFromCppEditorDocument(cppEditorDocument->filePath());
|
updateTranslationUnitFromCppEditorDocument(cppEditorDocument->filePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void IpcCommunicator::registerCurrrentCodeModelUiHeaders()
|
void IpcCommunicator::registerCurrrentCodeModelUiHeaders()
|
||||||
@@ -455,7 +454,7 @@ void IpcCommunicator::initializeBackendWithCurrentData()
|
|||||||
{
|
{
|
||||||
registerEmptyProjectForProjectLessFiles();
|
registerEmptyProjectForProjectLessFiles();
|
||||||
registerCurrentProjectParts();
|
registerCurrentProjectParts();
|
||||||
registerCurrentUnsavedFiles();
|
registerCurrentCppEditorDocuments();
|
||||||
registerCurrrentCodeModelUiHeaders();
|
registerCurrrentCodeModelUiHeaders();
|
||||||
|
|
||||||
emit backendReinitialized();
|
emit backendReinitialized();
|
||||||
|
@@ -152,7 +152,7 @@ private:
|
|||||||
void initializeBackendWithCurrentData();
|
void initializeBackendWithCurrentData();
|
||||||
void registerEmptyProjectForProjectLessFiles();
|
void registerEmptyProjectForProjectLessFiles();
|
||||||
void registerCurrentProjectParts();
|
void registerCurrentProjectParts();
|
||||||
void registerCurrentUnsavedFiles();
|
void registerCurrentCppEditorDocuments();
|
||||||
void registerCurrrentCodeModelUiHeaders();
|
void registerCurrrentCodeModelUiHeaders();
|
||||||
|
|
||||||
void onBackendRestarted();
|
void onBackendRestarted();
|
||||||
|
Reference in New Issue
Block a user