From dfb0f391dd8bb86c10e97a97618c81af764b1d85 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Wed, 8 May 2019 13:49:19 +0300 Subject: 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 --- src/plugins/baremetal/sdccparser.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/baremetal/sdccparser.cpp') diff --git a/src/plugins/baremetal/sdccparser.cpp b/src/plugins/baremetal/sdccparser.cpp index 7f11896d42..24531ab7e1 100644 --- a/src/plugins/baremetal/sdccparser.cpp +++ b/src/plugins/baremetal/sdccparser.cpp @@ -38,6 +38,8 @@ using namespace ProjectExplorer; namespace BareMetal { namespace Internal { +// Helpers: + static Task::TaskType taskType(const QString &msgType) { if (msgType == "warning" || msgType == "Warning") { @@ -49,6 +51,8 @@ static Task::TaskType taskType(const QString &msgType) return Task::TaskType::Unknown; } +// SdccParser + SdccParser::SdccParser() { setObjectName("SdccParser"); -- cgit v1.2.1