forked from qt-creator/qt-creator
bare-metal: Refactor the plugin code a bit more
* An include files and forward declarations are sorted in an alphabetical order. * Used the 'final' keywords for the methods and classes which not should be overridden. * Used the 'auto' and 'explicit' keywords more. * A class members are initialized in an initializier list. Change-Id: Ia74783e47aff92467d696d471760b5a97bca3d7a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -38,6 +38,8 @@ using namespace ProjectExplorer;
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
static Task::TaskType taskType(const QString &msgType)
|
||||
{
|
||||
if (msgType == "Warning")
|
||||
@@ -47,6 +49,8 @@ static Task::TaskType taskType(const QString &msgType)
|
||||
return Task::TaskType::Unknown;
|
||||
}
|
||||
|
||||
// IarParser
|
||||
|
||||
IarParser::IarParser()
|
||||
{
|
||||
setObjectName("IarParser");
|
||||
|
||||
Reference in New Issue
Block a user