Fix include style

Change-Id: I64cb77f8d39dac35821fe96d735bc5dda35738e7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Jarek Kobus
2023-03-21 19:20:55 +01:00
parent 5996e58ffa
commit b5af4501df
19 changed files with 41 additions and 35 deletions

View File

@@ -4,7 +4,8 @@
#pragma once
#include "utils_global.h"
#include "utils/filepath.h"
#include "filepath.h"
#include <QSharedPointer>
#include <QString>

View File

@@ -7,7 +7,7 @@
#include "qdbtr.h"
#include <projectexplorer/deploymentdataview.h>
#include "projectexplorer/devicesupport/idevice.h"
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>

View File

@@ -3,7 +3,8 @@
#pragma once
#include "utils/filepath.h"
#include <utils/filepath.h>
#include <clang/Format/Format.h>
namespace CppEditor { class CppCodeStyleSettings; }

View File

@@ -4,10 +4,11 @@
#pragma once
#include "presetsparser.h"
#include "utils/temporarydirectory.h"
#include <qtsupport/qtprojectimporter.h>
#include <utils/temporarydirectory.h>
namespace CMakeProjectManager {
class CMakeTool;

View File

@@ -9,8 +9,8 @@
#include "documentmodel.h"
#include "ieditor.h"
#include "utils/link.h"
#include "utils/textfileformat.h"
#include <utils/link.h>
#include <utils/textfileformat.h>
#include <QFileDialog>
#include <QList>

View File

@@ -3,12 +3,12 @@
#pragma once
#include "utils/tasktree.h"
#include <coreplugin/core_global.h>
#include <utils/filepath.h>
#include <utils/id.h>
#include <utils/link.h>
#include <utils/tasktree.h>
#include <QFutureInterface>
#include <QIcon>

View File

@@ -2,7 +2,9 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "coreplugin/dialogs/ioptionspage.h"
#include <coreplugin/dialogs/ioptionspage.h>
#include <QPointer>
namespace CppEditor {

View File

@@ -13,15 +13,16 @@
#include "debuggertr.h"
#include "breakhandler.h"
#include "debuggermainwindow.h"
#include "disassembleragent.h"
#include "enginemanager.h"
#include "localsandexpressionswindow.h"
#include "logwindow.h"
#include "debuggermainwindow.h"
#include "enginemanager.h"
#include "memoryagent.h"
#include "moduleshandler.h"
#include "registerhandler.h"
#include "peripheralregisterhandler.h"
#include "shared/peutils.h"
#include "sourcefileshandler.h"
#include "sourceutils.h"
#include "stackhandler.h"
@@ -31,7 +32,6 @@
#include "watchhandler.h"
#include "watchutils.h"
#include "watchwindow.h"
#include "debugger/shared/peutils.h"
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/editormanager/editormanager.h>

View File

@@ -7,12 +7,14 @@
#include "debuggerconstants.h"
#include "debuggerprotocol.h"
#include "breakhandler.h"
#include "projectexplorer/abi.h"
#include "threadshandler.h"
#include <coreplugin/icontext.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/devicesupport/idevicefwd.h>
#include <projectexplorer/runcontrol.h>
#include <texteditor/textmark.h>
#include <utils/filepath.h>

View File

@@ -5,13 +5,13 @@
#include "dockerconstants.h"
#include "dockertr.h"
#include "utils/hostosinfo.h"
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/filepath.h>
#include <utils/hostosinfo.h>
#include <utils/layoutbuilder.h>
using namespace Utils;

View File

@@ -8,11 +8,11 @@
#include "imageviewerfile.h"
#include "imageviewertr.h"
#include "multiexportdialog.h"
#include "utils/mimeutils.h"
#include <coreplugin/messagemanager.h>
#include <utils/fileutils.h>
#include <utils/mimeutils.h>
#include <utils/qtcassert.h>
#include <utils/qtcsettings.h>

View File

@@ -2,8 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "projectexplorer/buildconfiguration.h"
#include "projectexplorer/target.h"
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/target.h>
namespace MesonProjectManager {
namespace Internal {

View File

@@ -359,11 +359,12 @@ void MakeFileParse::parseCommandLine(const QString &command, const QString &proj
// Unit tests:
#ifdef WITH_TESTS
# include <QTest>
# include "qmakeprojectmanagerplugin.h"
#include "qmakeprojectmanagerplugin.h"
# include "projectexplorer/outputparser_test.h"
#include <projectexplorer/outputparser_test.h>
#include <QTest>
using namespace QmakeProjectManager::Internal;
using namespace ProjectExplorer;

View File

@@ -71,11 +71,12 @@ OutputLineParser::Result QMakeParser::handleLine(const QString &line, OutputForm
// Unit tests:
#ifdef WITH_TESTS
# include <QTest>
# include "qmakeprojectmanagerplugin.h"
#include "qmakeprojectmanagerplugin.h"
# include "projectexplorer/outputparser_test.h"
#include <projectexplorer/outputparser_test.h>
#include <QTest>
using namespace QmakeProjectManager::Internal;

View File

@@ -8,10 +8,12 @@
#include "qnxtoolchain.h"
#include "qnxtr.h"
#include "debugger/debuggeritem.h"
#include <coreplugin/icore.h>
#include <debugger/debuggeritem.h>
#include <debugger/debuggeritemmanager.h>
#include <debugger/debuggerkitinformation.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/kit.h>
@@ -23,10 +25,6 @@
#include <qmakeprojectmanager/qmakeprojectmanagerconstants.h>
#include <debugger/debuggeritem.h>
#include <debugger/debuggeritemmanager.h>
#include <debugger/debuggerkitinformation.h>
#include <utils/algorithm.h>
#include <QDebug>

View File

@@ -3,8 +3,8 @@
#include "stylemodel.h"
#include "utils/algorithm.h"
#include "utils/qtcassert.h"
#include <utils/algorithm.h>
#include <utils/qtcassert.h>
#include <QRegularExpression>

View File

@@ -11,8 +11,8 @@
#include <projectexplorer/jsonwizard/jsonprojectpage.h>
#include "utils/wizard.h"
#include <utils/qtcassert.h>
#include <utils/wizard.h>
using namespace StudioWelcome;

View File

@@ -1,9 +1,8 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "utils/asynctask.h"
#include "utils/algorithm.h"
#include <utils/algorithm.h>
#include <utils/asynctask.h>
#include <QtTest>

View File

@@ -1,7 +1,7 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "utils/mathutils.h"
#include <utils/mathutils.h>
#include <QtTest>