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 ANDROID_GLOBAL_H
#define ANDROID_GLOBAL_H
#pragma once
#include <qglobal.h>
@@ -33,5 +32,3 @@
#else
# define ANDROID_EXPORT Q_DECL_IMPORT
#endif
#endif // ANDROID_GLOBAL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDANALYZESUPPORT_H
#define ANDROIDANALYZESUPPORT_H
#pragma once
#include "androidrunconfiguration.h"
#include <qmldebug/qmloutputparser.h>
@@ -55,5 +54,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDANALYZESUPPORT_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef ANDROIDBUILDAPKSTEP_H
#define ANDROIDBUILDAPKSTEP_H
#pragma once
#include "android_global.h"
#include <projectexplorer/abstractprocessstep.h>
@@ -114,5 +113,3 @@ protected:
};
} // namespace Android
#endif // ANDROIDBUILDAPKSTEP_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef ANDROIDBUILDAPKWIDGET_H
#define ANDROIDBUILDAPKWIDGET_H
#pragma once
#include "android_global.h"
@@ -76,5 +75,3 @@ private:
};
}
#endif // ANDROIDBUILDAPKWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDCONFIGURATIONS_H
#define ANDROIDCONFIGURATIONS_H
#pragma once
#include "android_global.h"
@@ -248,5 +247,3 @@ private:
};
} // namespace Android
#endif // ANDROIDCONFIGURATIONS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDCONSTANTS_H
#define ANDROIDCONSTANTS_H
#pragma once
#include <QtGlobal>
@@ -71,5 +70,3 @@ const char ANDROID_EXTRA_LIBS[] = "AndroidExtraLibs";
} // namespace Constants;
} // namespace Android
#endif // ANDROIDCONSTANTS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDCREATEKEYSTORECERTIFICATE_H
#define ANDROIDCREATEKEYSTORECERTIFICATE_H
#pragma once
#include <utils/fileutils.h>
@@ -73,5 +72,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDCREATEKEYSTORECERTIFICATE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEBUGSUPPORT_H
#define ANDROIDDEBUGSUPPORT_H
#pragma once
#include "androidrunconfiguration.h"
@@ -58,5 +57,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDDEBUGSUPPORT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEPLOYCONFIGURATION_H
#define ANDROIDDEPLOYCONFIGURATION_H
#pragma once
#include <projectexplorer/deployconfiguration.h>
@@ -65,5 +64,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // ANDROIDDEPLOYCONFIGURATION_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEPLOYQTSTEP_H
#define ANDROIDDEPLOYQTSTEP_H
#pragma once
#include "androidbuildapkstep.h"
#include "androidconfigurations.h"
@@ -143,5 +142,3 @@ private:
}
} // namespace Android
#endif // ANDROIDDEPLOYQTSTEP_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEPLOYQTWIDGET_H
#define ANDROIDDEPLOYQTWIDGET_H
#pragma once
#include <projectexplorer/buildstep.h>
@@ -62,4 +61,3 @@ private:
}
}
#endif // ANDROIDDEPLOYQTWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEVICE_H
#define ANDROIDDEVICE_H
#pragma once
#include <projectexplorer/devicesupport/idevice.h>
@@ -58,5 +57,3 @@ protected:
} // namespace Internal
} // namespace Android
#endif // ANDROIDDEVICE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDDEVICEDIALOG_H
#define ANDROIDDEVICEDIALOG_H
#pragma once
#include "androidconfigurations.h"
@@ -83,5 +82,3 @@ private:
}
}
#endif // ANDROIDDEVICEDIALOG_H

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDERRORMESSAGE_H
#define ANDROIDERRORMESSAGE_H
#pragma once
#include <QVariantList>
#include <QCoreApplication>
@@ -53,5 +52,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // ANDROIDERRORMESSAGE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDGDBSERVERKITINFORMATION_H
#define ANDROIDGDBSERVERKITINFORMATION_H
#pragma once
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitconfigwidget.h>
@@ -85,5 +84,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // ANDROIDGDBSERVERKITINFORMATION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDGLOBAL_H
#define ANDROIDGLOBAL_H
#pragma once
#include <utils/environment.h>
@@ -74,5 +73,3 @@ public:
};
} // namespace Android
#endif // ANDROIDGLOBAL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDMANAGER_H
#define ANDROIDMANAGER_H
#pragma once
#include "android_global.h"
@@ -90,5 +89,3 @@ public:
};
} // namespace Android
#endif // ANDROIDMANAGER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDMANIFESTDOCUMENT_H
#define ANDROIDMANIFESTDOCUMENT_H
#pragma once
#include <texteditor/textdocument.h>
@@ -49,5 +48,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDMANIFESTDOCUMENT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDMANIFESTEDITOR_H
#define ANDROIDMANIFESTEDITOR_H
#pragma once
#include "androidmanifestdocument.h"
#include "androidmanifesteditorwidget.h"
@@ -69,5 +68,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDMANIFESTEDITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDMANIFESTEDITORFACTORY_H
#define ANDROIDMANIFESTEDITORFACTORY_H
#pragma once
#include <coreplugin/editormanager/ieditorfactory.h>
@@ -43,5 +42,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // ANDROIDMANIFESTEDITORFACTORY_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDMANIFESTEDITORWIDGET_H
#define ANDROIDMANIFESTEDITORWIDGET_H
#pragma once
#include <texteditor/texteditor.h>
@@ -191,6 +190,3 @@ private:
};
} // namespace Internal
} // namespace Android
#endif // ANDROIDMANIFESTEDITORWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDPLUGIN_H
#define ANDROIDPLUGIN_H
#pragma once
#include <extensionsystem/iplugin.h>
@@ -47,5 +46,3 @@ private slots:
};
} // namespace Android
#endif // ANDROIDPLUGIN_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDPOTENTIALKIT_H
#define ANDROIDPOTENTIALKIT_H
#pragma once
#include <projectexplorer/ipotentialkit.h>
#include <utils/detailswidget.h>
@@ -56,5 +55,3 @@ private slots:
}
}
#endif // ANDROIDPOTENTIALKIT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDSUPPORT_H
#define ANDROIDSUPPORT_H
#pragma once
#include "android_global.h"
@@ -66,6 +65,3 @@ public:
};
} // namespace Android
#endif // ANDROIDSUPPORT_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDQTVERSION_H
#define ANDROIDQTVERSION_H
#pragma once
#include <qtsupport/baseqtversion.h>
@@ -64,5 +63,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDQTVERSION_H

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDRUNCONFIGURATION_H
#define ANDROIDRUNCONFIGURATION_H
#pragma once
#include "android_global.h"
@@ -47,5 +46,3 @@ protected:
};
} // namespace Android
#endif // ANDROIDRUNCONFIGURATION_H

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDRUNFACTORIES_H
#define ANDROIDRUNFACTORIES_H
#pragma once
#include "android_global.h"
#include <projectexplorer/runconfiguration.h>
@@ -55,5 +54,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // ANDROIDRUNFACTORIES_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDRUNNABLE_H
#define ANDROIDRUNNABLE_H
#pragma once
#include "android_global.h"
#include <projectexplorer/runnables.h>
@@ -54,5 +53,3 @@ inline bool operator==(const AndroidRunnable &r1, const AndroidRunnable &r2)
}
} // namespace Android
#endif // ANDROIDRUNNABLE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDRUNNER_H
#define ANDROIDRUNNER_H
#pragma once
#include "androidconfigurations.h"
#include "androidrunnable.h"
@@ -120,5 +119,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDRUNNER_H

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDSETTINGSWIDGET_H
#define ANDROIDSETTINGSWIDGET_H
#pragma once
#include "androidconfigurations.h"
@@ -124,5 +123,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDSETTINGSWIDGET_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDSIGNALOPERATION_H
#define ANDROIDSIGNALOPERATION_H
#pragma once
#include <projectexplorer/devicesupport/idevice.h>
@@ -74,5 +73,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDSIGNALOPERATION_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef ANDROIDTOOLCHAIN_H
#define ANDROIDTOOLCHAIN_H
#pragma once
#include <projectexplorer/gcctoolchain.h>
#include <projectexplorer/toolchainconfigwidget.h>
@@ -124,5 +123,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // ANDROIDTOOLCHAIN_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef AVDDIALOG_H
#define AVDDIALOG_H
#pragma once
#include "ui_addnewavddialog.h"
@@ -62,5 +61,3 @@ private:
};
}
}
#endif // AVDDIALOG_H

View File

@@ -24,8 +24,7 @@
**
****************************************************************************/
#ifndef CERTIFICATESMODEL_H
#define CERTIFICATESMODEL_H
#pragma once
#include <QAbstractListModel>
#include <QVector>
@@ -50,5 +49,3 @@ private:
}
}
#endif // CERTIFICATESMODEL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef JAVAAUTOCOMPLETER_H
#define JAVAAUTOCOMPLETER_H
#pragma once
#include <texteditor/autocompleter.h>
@@ -42,6 +41,3 @@ public:
};
}
}
#endif // JAVAAUTOCOMPLETER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef JAVACOMPLETIONASSISTPROVIDER_H
#define JAVACOMPLETIONASSISTPROVIDER_H
#pragma once
#include <texteditor/codeassist/completionassistprovider.h>
@@ -52,5 +51,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // JAVACOMPLETIONASSISTPROVIDER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef JAVAEDITOR_H
#define JAVAEDITOR_H
#pragma once
#include <texteditor/texteditor.h>
@@ -41,5 +40,3 @@ public:
} // namespace Internal
} // namespace Android
#endif // JAVAEDITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef JAVAINDENTER_H
#define JAVAINDENTER_H
#pragma once
#include <texteditor/indenter.h>
@@ -47,5 +46,3 @@ public:
};
} // namespace Internal
} // namespace Android
#endif // JAVAINDENTER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef JAVAPARSER_H
#define JAVAPARSER_H
#pragma once
#include <projectexplorer/ioutputparser.h>
#include <utils/fileutils.h>
@@ -56,5 +55,3 @@ private:
} // namespace Internal
} // namespace Android
#endif // JAVAPARSER_H