Commit a272d93f authored by Marco Bubke's avatar Marco Bubke

Clang: Change name to registerCurrentCppDocuments

registerCurrentUnsavedFiles was misleading.

Change-Id: I5a2444d81d141ced4b8a0fae7236484c9e919d8d
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 3f1b622f
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment