aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/msvctoolchain.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-05-19 09:54:07 +0200
committerEike Ziller <eike.ziller@qt.io>2021-05-19 09:54:07 +0200
commitf83be6debe8fcf4a635fae0e755776fd12f85dae (patch)
treefbf56dfee3c9142c0d1f3c7ad0718a8697d2d1b6 /src/plugins/projectexplorer/msvctoolchain.h
parentc49a0af5046157039da2194723e0fc4dd48956f5 (diff)
parent801dbdf9324a67462eb6756f4ea49b31ae2074bb (diff)
Merge remote-tracking branch 'origin/4.15'
Diffstat (limited to 'src/plugins/projectexplorer/msvctoolchain.h')
-rw-r--r--src/plugins/projectexplorer/msvctoolchain.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/msvctoolchain.h b/src/plugins/projectexplorer/msvctoolchain.h
index 7dce6712e1..c5269b1646 100644
--- a/src/plugins/projectexplorer/msvctoolchain.h
+++ b/src/plugins/projectexplorer/msvctoolchain.h
@@ -164,18 +164,28 @@ public:
bool isValid() const override;
QStringList suggestedMkspecList() const override;
void addToEnvironment(Utils::Environment &env) const override;
+ Utils::FilePath compilerCommand() const override; // FIXME: Remove
QList<Utils::OutputLineParser *> createOutputParsers() const override;
+ QVariantMap toMap() const override;
+ bool fromMap(const QVariantMap &data) override;
std::unique_ptr<ToolChainConfigWidget> createConfigurationWidget() override;
BuiltInHeaderPathsRunner createBuiltInHeaderPathsRunner(
const Utils::Environment &env) const override;
const QList<MsvcToolChain *> &msvcToolchains() const;
+ QString clangPath() const { return m_clangPath; }
+ void setClangPath(const QString &path) { m_clangPath = path; }
Macros msvcPredefinedMacros(const QStringList &cxxflags,
const Utils::Environment &env) const override;
Utils::LanguageVersion msvcLanguageVersion(const QStringList &cxxflags,
const Utils::Id &language,
const Macros &macros) const override;
+
+ bool operator==(const ToolChain &) const override;
+
+private:
+ QString m_clangPath;
};
// --------------------------------------------------------------------------