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 PYTHONEDITOR_EDITOR_H
#define PYTHONEDITOR_EDITOR_H
#pragma once
#include <texteditor/texteditor.h>
@@ -41,5 +40,3 @@ public:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONEDITOR_EDITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_CONSTANTS_H
#define PYTHONEDITOR_CONSTANTS_H
#pragma once
#include <QtGlobal>
@@ -43,5 +42,3 @@ const char C_PY_MIME_ICON[] = "text-x-python";
} // namespace Constants
} // namespace PythonEditor
#endif // PYTHONEDITOR_CONSTANTS_H

View File

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

View File

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

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PYTHONSCANNER_H
#define PYTHONSCANNER_H
#pragma once
#include "pythonformattoken.h"
#include "sourcecodestream.h"
@@ -85,5 +84,3 @@ private:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONSCANNER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_SOURCECODESTREAM_H
#define PYTHONEDITOR_SOURCECODESTREAM_H
#pragma once
#include <QString>
@@ -94,5 +93,3 @@ private:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONEDITOR_SOURCECODESTREAM_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PYTHONHIGHLIGHTER_H
#define PYTHONHIGHLIGHTER_H
#pragma once
#include <texteditor/syntaxhighlighter.h>
@@ -48,5 +47,3 @@ private:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONHIGHLIGHTER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef PYTHONINDENTER_H
#define PYTHONINDENTER_H
#pragma once
#include <texteditor/indenter.h>
#include <QStringList>
@@ -51,5 +50,3 @@ private:
};
} // namespace PythonEditor
#endif // PYTHONINDENTER_H