Wholesale conversion to #pragma once

Kudos to cgmb and https://github.com/cgmb/guardonce

Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
hjk
2016-03-18 07:55:01 +01:00
parent 6b805c2172
commit 39a38d5679
2252 changed files with 2240 additions and 9056 deletions

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSANALYZESUPPORT_H
#define IOSANALYZESUPPORT_H
#pragma once
#include "iosrunconfiguration.h"
@@ -67,5 +66,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSANALYZESUPPORT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSBUILDSTEP_H
#define IOSBUILDSTEP_H
#pragma once
#include <projectexplorer/abstractprocessstep.h>
@@ -125,5 +124,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSBUILDSTEP_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSCONFIGURATIONS_H
#define IOSCONFIGURATIONS_H
#pragma once
#include <projectexplorer/abi.h>
#include <projectexplorer/toolchain.h>
@@ -81,5 +80,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSCONFIGURATIONS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSCONSTANTS_H
#define IOSCONSTANTS_H
#pragma once
#include <QtGlobal>
#include <QLoggingCategory>
@@ -56,5 +55,3 @@ const char EXTRA_INFO_KEY[] = "extraInfo";
} // namespace Constants;
} // namespace Ios
#endif // IOSCONSTANTS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEBUGSUPPORT_H
#define IOSDEBUGSUPPORT_H
#pragma once
#include "iosrunconfiguration.h"
#include <QProcess>
@@ -65,5 +64,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSDEBUGSUPPORT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEPLOYCONFIGURATION_H
#define IOSDEPLOYCONFIGURATION_H
#pragma once
#include <projectexplorer/deployconfiguration.h>
@@ -69,5 +68,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSDEPLOYCONFIGURATION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEPLOYSTEP_H
#define IOSDEPLOYSTEP_H
#pragma once
#include "iosconfigurations.h"
#include "iosdevice.h"
@@ -110,5 +109,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSDEPLOYSTEP_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEPLOYSTEPFACTORY_H
#define IOSDEPLOYSTEPFACTORY_H
#pragma once
#include <projectexplorer/buildstep.h>
@@ -55,5 +54,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSDEPLOYSTEPFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEPLOYSTEPWIDGET_H
#define IOSDEPLOYSTEPWIDGET_H
#pragma once
#include <projectexplorer/buildstep.h>
@@ -54,5 +53,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSDEPLOYSTEPWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEVICE_H
#define IOSDEVICE_H
#pragma once
#include "iostoolhandler.h"
@@ -116,5 +115,3 @@ IosDevice::ConstPtr device(ProjectExplorer::Kit *);
} // namespace Internal
} // namespace Ios
#endif // IOSDEVICE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDEVICEFACTORY_H
#define IOSDEVICEFACTORY_H
#pragma once
#include <projectexplorer/devicesupport/idevicefactory.h>
@@ -52,5 +51,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSDEVICEFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSDSYMBUILDSTEP_H
#define IOSDSYMBUILDSTEP_H
#pragma once
#include <projectexplorer/abstractprocessstep.h>
@@ -138,5 +137,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSDSYMBUILDSTEP_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSMANAGER_H
#define IOSMANAGER_H
#pragma once
#include <utils/fileutils.h>
@@ -48,5 +47,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSMANAGER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSPLUGIN_H
#define IOSPLUGIN_H
#pragma once
#include <extensionsystem/iplugin.h>
@@ -45,5 +44,3 @@ private slots:
};
} // namespace Ios
#endif // IOSPLUGIN_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSPROBE_H
#define IOSPROBE_H
#pragma once
#include <QSettings>
#include <QSharedPointer>
#include <QString>
@@ -76,5 +75,3 @@ private:
QStringList m_developerPaths;
};
} // namespace Ios
#endif // IOSPROBE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSQTVERSION_H
#define IOSQTVERSION_H
#pragma once
#include <qtsupport/baseqtversion.h>
@@ -59,5 +58,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSQTVERSION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSQTVERSIONFACTORY_H
#define IOSQTVERSIONFACTORY_H
#pragma once
#include <qtsupport/qtversionfactory.h>
@@ -47,5 +46,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSQTVERSIONFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSRUNCONFIGURATION_H
#define IOSRUNCONFIGURATION_H
#pragma once
#include "iosconstants.h"
#include "iosconfigurations.h"
@@ -93,5 +92,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSRUNCONFIGURATION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSRUNCONTROL_H
#define IOSRUNCONTROL_H
#pragma once
#include <projectexplorer/runconfiguration.h>
@@ -60,5 +59,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSRUNCONTROL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSRUNFACTORIES_H
#define IOSRUNFACTORIES_H
#pragma once
#include <projectexplorer/runconfiguration.h>
#include <qmakeprojectmanager/qmakerunconfigurationfactory.h>
@@ -87,5 +86,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSRUNFACTORIES_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSRUNNER_H
#define IOSRUNNER_H
#pragma once
#include "iosconfigurations.h"
#include "iostoolhandler.h"
@@ -100,5 +99,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSRUNNER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSSETTINGSPAGE_H
#define IOSSETTINGSPAGE_H
#pragma once
#include <coreplugin/dialogs/ioptionspage.h>
@@ -52,5 +51,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSSETTINGSPAGE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSSETTINGSWIDGET_H
#define IOSSETTINGSWIDGET_H
#pragma once
#include "iosconfigurations.h"
@@ -61,5 +60,3 @@ private:
} // namespace Internal
} // namespace Ios
#endif // IOSSETTINGSWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSSIMULATOR_H
#define IOSSIMULATOR_H
#pragma once
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/fileutils.h>
@@ -103,5 +102,3 @@ IosSimulator::ConstPtr simulator(ProjectExplorer::Kit *kit);
} // namespace Ios
Q_DECLARE_METATYPE(Ios::Internal::IosDeviceType)
#endif // IOSSIMULATOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSSIMULATORFACTORY_H
#define IOSSIMULATORFACTORY_H
#pragma once
#include <projectexplorer/devicesupport/idevicefactory.h>
@@ -48,5 +47,3 @@ public:
} // namespace Internal
} // namespace Ios
#endif // IOSSIMULATORFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef IOSTOOLHANDLER_H
#define IOSTOOLHANDLER_H
#pragma once
#include <QObject>
#include <QMap>
@@ -95,5 +94,3 @@ private:
};
} // namespace Ios
#endif // IOSTOOLHANDLER_H