Fix warnings about unused members in some clang-related classes

Change-Id: I564ac810ed8ae950e9ced54358929358379bfffb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2020-04-23 14:52:19 +02:00
parent 3f9e517754
commit 5ea2557125
3 changed files with 7 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ RefactoringEngine::RefactoringEngine(ClangBackEnd::RefactoringServerInterface &s
m_filePathCache(filePathCache),
m_symbolQuery(symbolQuery)
{
Q_UNUSED(m_client)
}
RefactoringEngine::~RefactoringEngine() = default;

View File

@@ -55,7 +55,9 @@ public:
, m_transactionsInterface(transactionsInterface)
, m_progressCounter(progressCounter)
, m_environment(environment)
{}
{
Q_UNUSED(m_transactionsInterface)
}
void addSystemPchTasks(PchTasks &&pchTasks) override;
void addProjectPchTasks(PchTasks &&pchTasks) override;

View File

@@ -57,7 +57,9 @@ public:
, m_filePathCache(filePathCache)
, m_clangPathwatcher(clangPathwatcher)
, m_generatedFiles(generatedFiles)
{}
{
Q_UNUSED(m_filePathCache)
}
UpToDataProjectParts update(ProjectPartContainers &&projectsParts) override;
void remove(const ProjectPartIds &projectPartIds) override;