Commit 65d6a5aa authored by Eike Ziller's avatar Eike Ziller

ClangPchManagerBackend: Fix build warnings

Change-Id: Ic5159ba09b6ce3d7d64dadc454268a34dd85f2a4
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent f1a27250
......@@ -65,7 +65,7 @@ public:
return QString(CLANG_COMPILER_PATH);
}
uint hardwareConcurrency() const
uint hardwareConcurrency() const override
{
return std::thread::hardware_concurrency();
}
......
......@@ -13,6 +13,7 @@ SOURCES += \
$$PWD/pchgeneratorinterface.cpp
HEADERS += \
$$PWD/pchmanagerserver.h \
$$PWD/clangpchmanagerbackend_global.h \
$$PWD/pchnotcreatederror.h \
$$PWD/environment.h \
......
......@@ -58,7 +58,7 @@ public:
diagnosticConsumer);
}
clang::FrontendAction *create()
clang::FrontendAction *create() override
{
return new CollectIncludesAction(m_includeIds,
m_filePathCache,
......
......@@ -32,6 +32,7 @@ namespace ClangBackEnd {
class Environment
{
public:
virtual ~Environment() = default;
virtual QString pchBuildDirectory() const = 0;
virtual QString clangCompilerPath() const = 0;
virtual uint hardwareConcurrency() const = 0;
......
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