forked from qt-creator/qt-creator
BareMetal: More inlining of simple functions
Change-Id: I88413413a4db9a599ed673a818fb8947224605ae Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -301,7 +301,7 @@ public:
|
||||
|
||||
BuiltInHeaderPathsRunner createBuiltInHeaderPathsRunner(const Environment &) const final;
|
||||
void addToEnvironment(Environment &env) const final;
|
||||
QList<OutputLineParser *> createOutputParsers() const final;
|
||||
QList<OutputLineParser *> createOutputParsers() const final { return {new IarParser()}; }
|
||||
|
||||
std::unique_ptr<ToolChainConfigWidget> createConfigurationWidget() final;
|
||||
|
||||
@@ -389,11 +389,6 @@ void IarToolChain::addToEnvironment(Environment &env) const
|
||||
env.prependOrSetPath(compilerCommand().parentDir());
|
||||
}
|
||||
|
||||
QList<Utils::OutputLineParser *> IarToolChain::createOutputParsers() const
|
||||
{
|
||||
return {new IarParser()};
|
||||
}
|
||||
|
||||
std::unique_ptr<ToolChainConfigWidget> IarToolChain::createConfigurationWidget()
|
||||
{
|
||||
return std::make_unique<IarToolChainConfigWidget>(this);
|
||||
|
@@ -216,13 +216,13 @@ public:
|
||||
|
||||
BuiltInHeaderPathsRunner createBuiltInHeaderPathsRunner(const Environment &) const final;
|
||||
void addToEnvironment(Environment &env) const final;
|
||||
QList<OutputLineParser *> createOutputParsers() const final;
|
||||
QList<OutputLineParser *> createOutputParsers() const final { return {new SdccParser}; }
|
||||
|
||||
std::unique_ptr<ToolChainConfigWidget> createConfigurationWidget() final;
|
||||
|
||||
bool operator==(const ToolChain &other) const final;
|
||||
|
||||
FilePath makeCommand(const Environment &env) const final;
|
||||
FilePath makeCommand(const Environment &) const final { return {}; }
|
||||
|
||||
private:
|
||||
friend class SdccToolChainFactory;
|
||||
@@ -283,11 +283,6 @@ void SdccToolChain::addToEnvironment(Environment &env) const
|
||||
env.prependOrSetPath(compilerCommand().parentDir());
|
||||
}
|
||||
|
||||
QList<Utils::OutputLineParser *> SdccToolChain::createOutputParsers() const
|
||||
{
|
||||
return {new SdccParser};
|
||||
}
|
||||
|
||||
std::unique_ptr<ToolChainConfigWidget> SdccToolChain::createConfigurationWidget()
|
||||
{
|
||||
return std::make_unique<SdccToolChainConfigWidget>(this);
|
||||
@@ -303,12 +298,6 @@ bool SdccToolChain::operator==(const ToolChain &other) const
|
||||
&& targetAbi() == customTc->targetAbi();
|
||||
}
|
||||
|
||||
FilePath SdccToolChain::makeCommand(const Environment &env) const
|
||||
{
|
||||
Q_UNUSED(env)
|
||||
return {};
|
||||
}
|
||||
|
||||
// SdccToolChainFactory
|
||||
|
||||
SdccToolChainFactory::SdccToolChainFactory()
|
||||
|
Reference in New Issue
Block a user