forked from qt-creator/qt-creator
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:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITOR_H
|
||||
#define DIFFEDITOR_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditorcontroller.h"
|
||||
|
||||
@@ -111,5 +110,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITOR_GLOBAL_H
|
||||
#define DIFFEDITOR_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -33,5 +32,3 @@
|
||||
#else
|
||||
# define DIFFEDITOR_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // DIFFEDITOR_GLOBAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORCONSTANTS_H
|
||||
#define DIFFEDITORCONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -40,5 +39,3 @@ const char EXPAND_BRANCHES[] = "Branches: <Expand>";
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORCONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORCONTROLLER_H
|
||||
#define DIFFEDITORCONTROLLER_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditor_global.h"
|
||||
#include "diffutils.h"
|
||||
@@ -96,5 +95,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORCONTROLLER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORDOCUMENT_H
|
||||
#define DIFFEDITORDOCUMENT_H
|
||||
#pragma once
|
||||
|
||||
#include "diffutils.h"
|
||||
|
||||
@@ -107,5 +106,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORDOCUMENT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORFACTORY_H
|
||||
#define DIFFEDITORFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditor_global.h"
|
||||
|
||||
@@ -46,5 +45,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORFACTORY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORICONS_H
|
||||
#define DIFFEDITORICONS_H
|
||||
#pragma once
|
||||
|
||||
#include <utils/icon.h>
|
||||
|
||||
@@ -40,5 +39,3 @@ const Utils::Icon SIDEBYSIDE_DIFF({
|
||||
|
||||
} // namespace Icons
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORICONS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFEDITORPLUGIN_H
|
||||
#define DIFFEDITORPLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditor_global.h"
|
||||
|
||||
@@ -55,5 +54,3 @@ private slots:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFEDITORPLUGIN_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFER_H
|
||||
#define DIFFER_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditor_global.h"
|
||||
#include <QString>
|
||||
@@ -114,5 +113,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFF_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFUTILS_H
|
||||
#define DIFFUTILS_H
|
||||
#pragma once
|
||||
|
||||
#include "diffeditor_global.h"
|
||||
|
||||
@@ -149,5 +148,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFUTILS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DIFFVIEW_H
|
||||
#define DIFFVIEW_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
@@ -133,5 +132,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // DIFFVIEW_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SELECTABLETEXTEDITORWIDGET_H
|
||||
#define SELECTABLETEXTEDITORWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
@@ -66,5 +65,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // SELECTABLETEXTEDITORWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SIDEBYSIDEDIFFEDITORWIDGET_H
|
||||
#define SIDEBYSIDEDIFFEDITORWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include "diffutils.h"
|
||||
|
||||
@@ -119,5 +118,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // SIDEBYSIDEDIFFEDITORWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef UNIFIEDDIFFEDITORWIDGET_H
|
||||
#define UNIFIEDDIFFEDITORWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include "diffutils.h"
|
||||
#include "selectabletexteditorwidget.h"
|
||||
@@ -141,5 +140,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace DiffEditor
|
||||
|
||||
#endif // UNIFIEDDIFFEDITORWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user