summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-10-29 12:05:44 +0100
committerTobias Hunger <tobias.hunger@digia.com>2013-10-29 15:41:54 +0100
commitb17bb91355a428ecd89504ba7968e272e854ceb5 (patch)
tree00efdcfa5dc237ea15bd84b59c1d1ef5182b0cd8 /src/plugins
parentccce39e09c4a31b85654d275456d95d32ef082da (diff)
downloadqt-creator-b17bb91355a428ecd89504ba7968e272e854ceb5.tar.gz
GccToolchain: Move reinterpretOptions into the header
Considering that this is a Noop by default we want that inlined. Change-Id: Iefd822ad9e5fc576fb538d9b891f6e3ed3b914aa Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/projectexplorer/gcctoolchain.cpp6
-rw-r--r--src/plugins/projectexplorer/gcctoolchain.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp
index 957837ec37..48a05ed271 100644
--- a/src/plugins/projectexplorer/gcctoolchain.cpp
+++ b/src/plugins/projectexplorer/gcctoolchain.cpp
@@ -734,12 +734,6 @@ QString GccToolChain::detectVersion() const
return gccVersion(m_compilerCommand, env.toStringList());
}
-QStringList GccToolChain::reinterpretOptions(const QStringList &arg) const
-{
- // Nothing todo
- return arg;
-}
-
// --------------------------------------------------------------------------
// GccToolChainFactory
// --------------------------------------------------------------------------
diff --git a/src/plugins/projectexplorer/gcctoolchain.h b/src/plugins/projectexplorer/gcctoolchain.h
index a4f79dd01b..2bcf3f0002 100644
--- a/src/plugins/projectexplorer/gcctoolchain.h
+++ b/src/plugins/projectexplorer/gcctoolchain.h
@@ -111,7 +111,7 @@ protected:
// Reinterpret options for compiler drivers inheriting from GccToolChain (e.g qcc) to apply -Wp option
// that passes the initial options directly down to the gcc compiler
- virtual QStringList reinterpretOptions(const QStringList &argument) const;
+ virtual QStringList reinterpretOptions(const QStringList &argument) const { return argument; }
static QList<HeaderPath> gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env);
static const int PREDEFINED_MACROS_CACHE_SIZE;