forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user