summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/gcctoolchain.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-11-10 14:05:58 +0100
committerhjk <hjk@qt.io>2020-11-11 15:40:34 +0000
commitba2262a870b51c3e1956d12e908cce43af23b7e8 (patch)
treef51a86e333b8d1bacd2713121b5af87630eef4db /src/plugins/projectexplorer/gcctoolchain.h
parent2d561f86035a5b570bf5f6723ef76766ee7c4fa5 (diff)
downloadqt-creator-ba2262a870b51c3e1956d12e908cce43af23b7e8.tar.gz
ProjectExplorer: Consolidate *ToolChain::target() implementations
All ToolChains had an Abi member one way or the other, so have one in the base class and drop all others. Change-Id: Ic4ed47b77f51c2c53d5692c66e6103c6bb23277e Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/gcctoolchain.h')
-rw-r--r--src/plugins/projectexplorer/gcctoolchain.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/gcctoolchain.h b/src/plugins/projectexplorer/gcctoolchain.h
index 2e99022148..82e29ea8ee 100644
--- a/src/plugins/projectexplorer/gcctoolchain.h
+++ b/src/plugins/projectexplorer/gcctoolchain.h
@@ -71,13 +71,10 @@ class PROJECTEXPLORER_EXPORT GccToolChain : public ToolChain
public:
GccToolChain(Utils::Id typeId);
- Abi targetAbi() const override;
QString originalTargetTriple() const override;
Utils::FilePath installDir() const override;
QString version() const;
Abis supportedAbis() const override;
- void setTargetAbi(const Abi &);
-
bool isValid() const override;
Utils::LanguageExtensions languageExtensions(const QStringList &cxxflags) const override;
@@ -198,7 +195,6 @@ protected:
mutable ExtraHeaderPathsFunction m_extraHeaderPathsFunction = [](HeaderPaths &) {};
private:
- Abi m_targetAbi;
mutable Abis m_supportedAbis;
mutable QString m_originalTargetTriple;
mutable HeaderPaths m_headerPaths;