forked from qt-creator/qt-creator
Clang: Remove unused functions
Change-Id: Id5bf1852b308ef84d8cfd575a60f084326729ac2 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -519,20 +519,6 @@ void BackendCommunicator::initializeBackendWithCurrentData()
|
||||
registerCurrentCodeModelUiHeaders();
|
||||
restoreCppEditorDocuments();
|
||||
updateTranslationUnitVisiblity();
|
||||
|
||||
emit backendReinitialized();
|
||||
}
|
||||
|
||||
BackendSender *BackendCommunicator::setBackendSender(BackendSender *sender)
|
||||
{
|
||||
BackendSender *previousSender = m_sender.take();
|
||||
m_sender.reset(sender);
|
||||
return previousSender;
|
||||
}
|
||||
|
||||
void BackendCommunicator::killBackendProcess()
|
||||
{
|
||||
m_connection.processForTestOnly()->kill();
|
||||
}
|
||||
|
||||
void BackendCommunicator::registerTranslationUnitsForEditor(const FileContainers &fileContainers)
|
||||
|
||||
@@ -113,13 +113,6 @@ public:
|
||||
|
||||
bool isNotWaitingForCompletion() const;
|
||||
|
||||
public: // for tests
|
||||
BackendSender *setBackendSender(BackendSender *sender);
|
||||
void killBackendProcess();
|
||||
|
||||
signals: // for tests
|
||||
void backendReinitialized();
|
||||
|
||||
private:
|
||||
void initializeBackend();
|
||||
void initializeBackendWithCurrentData();
|
||||
|
||||
@@ -141,10 +141,5 @@ void BackendSender::updateVisibleTranslationUnits(const UpdateVisibleTranslation
|
||||
m_connection->serverProxy().updateVisibleTranslationUnits(message);
|
||||
}
|
||||
|
||||
bool BackendSender::isConnected() const
|
||||
{
|
||||
return m_connection && m_connection->isConnected();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ClangCodeModel
|
||||
|
||||
@@ -52,9 +52,6 @@ public:
|
||||
void requestFollowSymbol(const ClangBackEnd::RequestFollowSymbolMessage &message) override;
|
||||
void updateVisibleTranslationUnits(const ClangBackEnd::UpdateVisibleTranslationUnitsMessage &message) override;
|
||||
|
||||
private:
|
||||
bool isConnected() const;
|
||||
|
||||
private:
|
||||
ClangBackEnd::ClangCodeModelConnectionClient *m_connection = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user