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());
|
||||
}
|
||||
|
||||
void IpcCommunicator::registerCurrentUnsavedFiles()
|
||||
void IpcCommunicator::registerCurrentCppEditorDocuments()
|
||||
{
|
||||
using namespace CppTools;
|
||||
|
||||
@@ -324,7 +324,6 @@ void IpcCommunicator::registerCurrentUnsavedFiles()
|
||||
if (cppEditorDocument->processor()->baseTextDocument()->isModified())
|
||||
updateTranslationUnitFromCppEditorDocument(cppEditorDocument->filePath());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void IpcCommunicator::registerCurrrentCodeModelUiHeaders()
|
||||
@@ -455,7 +454,7 @@ void IpcCommunicator::initializeBackendWithCurrentData()
|
||||
{
|
||||
registerEmptyProjectForProjectLessFiles();
|
||||
registerCurrentProjectParts();
|
||||
registerCurrentUnsavedFiles();
|
||||
registerCurrentCppEditorDocuments();
|
||||
registerCurrrentCodeModelUiHeaders();
|
||||
|
||||
emit backendReinitialized();
|
||||
|
@@ -152,7 +152,7 @@ private:
|
||||
void initializeBackendWithCurrentData();
|
||||
void registerEmptyProjectForProjectLessFiles();
|
||||
void registerCurrentProjectParts();
|
||||
void registerCurrentUnsavedFiles();
|
||||
void registerCurrentCppEditorDocuments();
|
||||
void registerCurrrentCodeModelUiHeaders();
|
||||
|
||||
void onBackendRestarted();
|
||||
|
Reference in New Issue
Block a user