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>
This commit is contained in:
Tobias Hunger
2013-10-29 12:05:44 +01:00
parent ccce39e09c
commit b17bb91355
2 changed files with 1 additions and 7 deletions

View File

@@ -734,12 +734,6 @@ QString GccToolChain::detectVersion() const
return gccVersion(m_compilerCommand, env.toStringList()); return gccVersion(m_compilerCommand, env.toStringList());
} }
QStringList GccToolChain::reinterpretOptions(const QStringList &arg) const
{
// Nothing todo
return arg;
}
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// GccToolChainFactory // GccToolChainFactory
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

View File

@@ -111,7 +111,7 @@ protected:
// Reinterpret options for compiler drivers inheriting from GccToolChain (e.g qcc) to apply -Wp option // 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 // 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 QList<HeaderPath> gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env);
static const int PREDEFINED_MACROS_CACHE_SIZE; static const int PREDEFINED_MACROS_CACHE_SIZE;