forked from qt-creator/qt-creator
Replace include guards with #pragma once
Change-Id: Icce9d191cc6cae89baf973e949dc0757d318d6ea Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3841d2fce2
commit
dc43b89172
@@ -1,9 +1,7 @@
|
||||
#ifndef CPLUSPLUS_OBJC_TYPEQUALIFIERS_H
|
||||
#define CPLUSPLUS_OBJC_TYPEQUALIFIERS_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
enum {
|
||||
@@ -27,6 +25,3 @@ enum {
|
||||
CPLUSPLUS_EXPORT int classifyObjectiveCContextKeyword(const char *s, int n);
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_OBJC_TYPEQUALIFIERS_H
|
||||
|
5
src/libs/3rdparty/cplusplus/SafeMatcher.h
vendored
5
src/libs/3rdparty/cplusplus/SafeMatcher.h
vendored
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPLUSPLUS_SAFETYPEMATCHER_H
|
||||
#define CPLUSPLUS_SAFETYPEMATCHER_H
|
||||
#pragma once
|
||||
|
||||
#include "Matcher.h"
|
||||
|
||||
@@ -56,5 +55,3 @@ private:
|
||||
};
|
||||
|
||||
} // CPlusPlus namespace
|
||||
|
||||
#endif // CPLUSPLUS_SAFETYPEMATCHER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DesignDocument_h
|
||||
#define DesignDocument_h
|
||||
#pragma once
|
||||
|
||||
#include <model.h>
|
||||
#include <rewriterview.h>
|
||||
@@ -155,6 +154,3 @@ private: // variables
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
|
||||
#endif // DesignDocument_h
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef StackedUtilityPanelController_h
|
||||
#define StackedUtilityPanelController_h
|
||||
#pragma once
|
||||
|
||||
#include "utilitypanelcontroller.h"
|
||||
|
||||
@@ -55,5 +54,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // StackedUtilityPanelController_h
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef UtilityPanelController_h
|
||||
#define UtilityPanelController_h
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -47,5 +46,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // UtilityPanelController_h
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QmlAnchorBindingProxy_h
|
||||
#define QmlAnchorBindingProxy_h
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <modelnode.h>
|
||||
@@ -248,6 +247,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
|
||||
#endif //QmlAnchorBindingProxy
|
||||
|
Reference in New Issue
Block a user