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:
Denis Shienkov
2019-05-08 13:49:19 +03:00
parent d0839bc1de
commit dfb0f391dd
46 changed files with 468 additions and 343 deletions

View File

@@ -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");