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:
@@ -1,5 +1,4 @@
|
||||
#ifndef EXAMPLE_GLOBAL_H
|
||||
#define EXAMPLE_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -8,6 +7,3 @@
|
||||
#else
|
||||
# define EXAMPLESHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // EXAMPLE_GLOBAL_H
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#ifndef EXAMPLECONSTANTS_H
|
||||
#define EXAMPLECONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
namespace Example {
|
||||
namespace Constants {
|
||||
@@ -9,6 +8,3 @@ const char MENU_ID[] = "Example.Menu";
|
||||
|
||||
} // namespace Example
|
||||
} // namespace Constants
|
||||
|
||||
#endif // EXAMPLECONSTANTS_H
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#ifndef EXAMPLE_H
|
||||
#define EXAMPLE_H
|
||||
#pragma once
|
||||
|
||||
#include "example_global.h"
|
||||
|
||||
@@ -35,6 +34,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Example
|
||||
|
||||
#endif // EXAMPLE_H
|
||||
|
||||
|
@@ -48,8 +48,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef TEXTFINDER_H
|
||||
#define TEXTFINDER_H
|
||||
#pragma once
|
||||
|
||||
#include "ui_textfinder.h"
|
||||
|
||||
@@ -77,5 +76,3 @@ private:
|
||||
void loadTextFile();
|
||||
//! [0]
|
||||
};
|
||||
|
||||
#endif // TEXTFINDER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGEAUXILIARYCOMMAND_H
|
||||
#define CHANGEAUXILIARYCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeAuxiliaryCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeAuxiliaryCommand)
|
||||
|
||||
#endif // CHANGEAUXILIARYCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGEBINDINGSCOMMAND_H
|
||||
#define CHANGEBINDINGSCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeBindingsCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeBindingsCommand)
|
||||
|
||||
#endif // CHANGEBINDINGSCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGEFILEURLCOMMAND_H
|
||||
#define CHANGEFILEURLCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
#include <QUrl>
|
||||
@@ -53,5 +52,3 @@ QDebug operator <<(QDebug debug, const ChangeFileUrlCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeFileUrlCommand)
|
||||
|
||||
#endif // CHANGEFILEURLCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGEIDSCOMMAND_H
|
||||
#define CHANGEIDSCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const ChangeIdsCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeIdsCommand)
|
||||
|
||||
#endif // CHANGEIDSCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGENODESOURCECOMMAND_H
|
||||
#define CHANGENODESOURCECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeNodeSourceCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeNodeSourceCommand)
|
||||
|
||||
#endif // CHANGENODESOURCECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGESTATECOMMAND_H
|
||||
#define CHANGESTATECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeStateCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeStateCommand)
|
||||
|
||||
#endif // CHANGESTATECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHANGEVALUESCOMMAND_H
|
||||
#define CHANGEVALUESCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeValuesCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChangeValuesCommand)
|
||||
|
||||
#endif // CHANGEVALUESCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHILDRENCHANGEDCOMMAND_H
|
||||
#define CHILDRENCHANGEDCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -62,5 +61,3 @@ QDebug operator <<(QDebug debug, const ChildrenChangedCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ChildrenChangedCommand)
|
||||
|
||||
#endif // CHILDRENCHANGEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CLEARSCENECOMMAND_H
|
||||
#define CLEARSCENECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
|
||||
@@ -44,5 +43,3 @@ QDebug operator <<(QDebug debug, const ClearSceneCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ClearSceneCommand)
|
||||
|
||||
#endif // CLEARSCENECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMPLETECOMPONENT_H
|
||||
#define COMPLETECOMPONENT_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -55,5 +54,3 @@ QDebug operator <<(QDebug debug, const CompleteComponentCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::CompleteComponentCommand)
|
||||
|
||||
#endif // COMPLETECOMPONENT_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMPONENTCOMPLETEDCOMMAND_H
|
||||
#define COMPONENTCOMPLETEDCOMMAND_H
|
||||
#pragma once
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
#include <QDataStream>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const ComponentCompletedCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ComponentCompletedCommand)
|
||||
|
||||
#endif // COMPONENTCOMPLETEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CREATEINSTANCESCOMMAND_H
|
||||
#define CREATEINSTANCESCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -55,5 +54,3 @@ QDebug operator <<(QDebug debug, const CreateInstancesCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::CreateInstancesCommand)
|
||||
|
||||
#endif // CREATEINSTANCESCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CREATESCENECOMMAND_H
|
||||
#define CREATESCENECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
#include <QUrl>
|
||||
@@ -81,5 +80,3 @@ QDebug operator <<(QDebug debug, const CreateSceneCommand &command);
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::CreateSceneCommand)
|
||||
|
||||
#endif // CREATESCENECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_DEBUGOUTPUTCOMMAND_H
|
||||
#define QMLDESIGNER_DEBUGOUTPUTCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
@@ -68,5 +67,3 @@ QDebug operator <<(QDebug debug, const DebugOutputCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::DebugOutputCommand)
|
||||
|
||||
#endif // QMLDESIGNER_DEBUGOUTPUTCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_ENDPUPPETCOMMAND_H
|
||||
#define QMLDESIGNER_ENDPUPPETCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
|
||||
@@ -44,5 +43,3 @@ QDebug operator <<(QDebug debug, const EndPuppetCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::EndPuppetCommand)
|
||||
|
||||
#endif // QMLDESIGNER_ENDPUPPETCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef INFORMATIONCHANGEDCOMMAND_H
|
||||
#define INFORMATIONCHANGEDCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -59,5 +58,3 @@ QDebug operator <<(QDebug debug, const InformationChangedCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::InformationChangedCommand)
|
||||
|
||||
#endif // INFORMATIONCHANGEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PIXMAPCHANGEDCOMMAND_H
|
||||
#define PIXMAPCHANGEDCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include "imagecontainer.h"
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const PixmapChangedCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::PixmapChangedCommand)
|
||||
|
||||
#endif // PIXMAPCHANGEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PUPPETALIVECOMMAND_H
|
||||
#define PUPPETALIVECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QDebug>
|
||||
@@ -48,5 +47,3 @@ QDebug operator <<(QDebug debug, const PuppetAliveCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::PuppetAliveCommand)
|
||||
|
||||
#endif // PUPPETALIVECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REMOVEINSTANCESCOMMAND_H
|
||||
#define REMOVEINSTANCESCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const RemoveInstancesCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::RemoveInstancesCommand)
|
||||
|
||||
#endif // REMOVEINSTANCESCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REMOVEPROPERTIESCOMMAND_H
|
||||
#define REMOVEPROPERTIESCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const RemovePropertiesCommand &command);
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::RemovePropertiesCommand)
|
||||
|
||||
#endif // REMOVEPROPERTIESCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H
|
||||
#define QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const RemoveSharedMemoryCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::RemoveSharedMemoryCommand)
|
||||
|
||||
#endif // QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REPARENTINSTANCESCOMMAND_H
|
||||
#define REPARENTINSTANCESCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ReparentInstancesCommand &command);
|
||||
} //
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ReparentInstancesCommand)
|
||||
|
||||
#endif // REPARENTINSTANCESCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef STATEPREVIEWIMAGECHANGEDCOMMAND_H
|
||||
#define STATEPREVIEWIMAGECHANGEDCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
@@ -58,5 +57,3 @@ QDebug operator <<(QDebug debug, const StatePreviewImageChangedCommand &command)
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::StatePreviewImageChangedCommand)
|
||||
|
||||
#endif // STATEPREVIEWIMAGECHANGEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SYNCHRONIZECOMMAND_H
|
||||
#define SYNCHRONIZECOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const SynchronizeCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::SynchronizeCommand)
|
||||
|
||||
#endif // SYNCHRONIZECOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_TOKENCOMMAND_H
|
||||
#define QMLDESIGNER_TOKENCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <QMetaType>
|
||||
@@ -64,6 +63,3 @@ QDebug operator <<(QDebug debug, const TokenCommand &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::TokenCommand)
|
||||
|
||||
|
||||
#endif // QMLDESIGNER_TOKENCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef VALUESCHANGEDCOMMAND_H
|
||||
#define VALUESCHANGEDCOMMAND_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
@@ -63,6 +62,3 @@ QDebug operator <<(QDebug debug, const ValuesChangedCommand &instance);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ValuesChangedCommand)
|
||||
|
||||
|
||||
#endif // VALUESCHANGEDCOMMAND_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef ADDIMPORTCONTAINER_H
|
||||
#define ADDIMPORTCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QUrl>
|
||||
@@ -62,5 +61,3 @@ QDebug operator <<(QDebug debug, const AddImportContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::AddImportContainer)
|
||||
|
||||
#endif // ADDIMPORTCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef IDCONTAINER_H
|
||||
#define IDCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
#include <qmetatype.h>
|
||||
@@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const IdContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::IdContainer)
|
||||
|
||||
#endif // IDCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef IMAGECONTAINER_H
|
||||
#define IMAGECONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QImage>
|
||||
@@ -65,5 +64,3 @@ QDebug operator <<(QDebug debug, const ImageContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ImageContainer)
|
||||
|
||||
#endif // IMAGECONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef INFORMATIONCONTAINER_H
|
||||
#define INFORMATIONCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
#include <QMetaType>
|
||||
@@ -74,5 +73,3 @@ QDebug operator <<(QDebug debug, const InformationContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::InformationContainer)
|
||||
|
||||
#endif // INFORMATIONCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef INSTANCECONTAINER_H
|
||||
#define INSTANCECONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
#include <QString>
|
||||
@@ -83,4 +82,3 @@ QDebug operator <<(QDebug debug, const InstanceContainer &command);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::InstanceContainer)
|
||||
#endif // INSTANCECONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PROPERTYABSTRACTCONTAINER_H
|
||||
#define PROPERTYABSTRACTCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
#include <qmetatype.h>
|
||||
@@ -65,4 +64,3 @@ QDebug operator <<(QDebug debug, const PropertyAbstractContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::PropertyAbstractContainer)
|
||||
#endif // PROPERTYABSTRACTCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PROPERTYBINDINGCONTAINER_H
|
||||
#define PROPERTYBINDINGCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
#include <qmetatype.h>
|
||||
@@ -63,4 +62,3 @@ QDebug operator <<(QDebug debug, const PropertyBindingContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::PropertyBindingContainer)
|
||||
#endif // PROPERTYBINDINGCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PROPERTYVALUECONTAINER_H
|
||||
#define PROPERTYVALUECONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
#include <QMetaType>
|
||||
@@ -68,5 +67,3 @@ QDebug operator <<(QDebug debug, const PropertyValueContainer &container);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::PropertyValueContainer)
|
||||
|
||||
#endif // PROPERTYVALUECONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REPARENTCONTAINER_H
|
||||
#define REPARENTCONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmetatype.h>
|
||||
#include <QString>
|
||||
@@ -65,5 +64,3 @@ QDataStream &operator>>(QDataStream &in, ReparentContainer &container);
|
||||
QDebug operator <<(QDebug debug, const ReparentContainer &container);
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // REPARENTCONTAINER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_SHAREDMEMORY_H
|
||||
#define QMLDESIGNER_SHAREDMEMORY_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedMemory>
|
||||
#include <QSystemSemaphore>
|
||||
@@ -88,5 +87,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_SHAREDMEMORY_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCECLIENTPROXY_H
|
||||
#define NODEINSTANCECLIENTPROXY_H
|
||||
#pragma once
|
||||
|
||||
#include "nodeinstanceclientinterface.h"
|
||||
|
||||
@@ -123,5 +122,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // NODEINSTANCECLIENTPROXY_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMMONDEFINES_H
|
||||
#define COMMONDEFINES_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QPair>
|
||||
@@ -57,5 +56,3 @@ enum InformationName
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // COMMONDEFINES_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCECLIENTINTERFACE_H
|
||||
#define NODEINSTANCECLIENTINTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -59,5 +58,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // NODEINSTANCECLIENTINTERFACE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCEGLOBAL_H
|
||||
#define NODEINSTANCEGLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QList>
|
||||
@@ -36,5 +35,3 @@ typedef QList<PropertyName> PropertyNameList;
|
||||
typedef QByteArray TypeName;
|
||||
|
||||
}
|
||||
|
||||
#endif // NODEINSTANCEGLOBAL_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCESERVERINTERFACE_H
|
||||
#define NODEINSTANCESERVERINTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -83,4 +82,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif // NODEINSTANCESERVERINTERFACE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_ANCHORCHANGESNODEINSTANCE_H
|
||||
#define QMLDESIGNER_ANCHORCHANGESNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -64,5 +63,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_ANCHORCHANGESNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BEHAVIORNODEINSTANCE_H
|
||||
#define BEHAVIORNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -52,5 +51,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // BEHAVIORNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CHILDRENCHANGEEVENTFILTER_H
|
||||
#define CHILDRENCHANGEEVENTFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -48,5 +47,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // CHILDRENCHANGEEVENTFILTER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMPONENTNODEINSTANCE_H
|
||||
#define COMPONENTNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -54,5 +53,3 @@ private: //function
|
||||
|
||||
} // Internal
|
||||
} // QmlDesigner
|
||||
|
||||
#endif // COMPONENTNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DUMMYCONTEXTOBJECT_H
|
||||
#define DUMMYCONTEXTOBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
@@ -53,4 +52,3 @@ private:
|
||||
} // namespace QmlDesigner
|
||||
|
||||
QML_DECLARE_TYPE(QmlDesigner::DummyContextObject)
|
||||
#endif // DUMMYCONTEXTOBJECT_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DUMMYNODEINSTANCE_H
|
||||
#define DUMMYNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include <QWeakPointer>
|
||||
|
||||
@@ -61,4 +60,3 @@ protected:
|
||||
|
||||
}
|
||||
}
|
||||
#endif // DUMMYNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LAYOUTNODEINSTANCE_H
|
||||
#define LAYOUTNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "quickitemnodeinstance.h"
|
||||
|
||||
@@ -54,5 +53,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // LAYOUTNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCESERVER_H
|
||||
#define NODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include <QUrl>
|
||||
#include <QVector>
|
||||
@@ -225,5 +224,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // NODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCESIGNALSPY_H
|
||||
#define NODEINSTANCESIGNALSPY_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QHash>
|
||||
@@ -63,5 +62,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // NODEINSTANCESIGNALSPY_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OBJECTNODEINSTANCE_H
|
||||
#define OBJECTNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "nodeinstanceserver.h"
|
||||
#include "nodeinstancesignalspy.h"
|
||||
@@ -221,5 +220,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // OBJECTNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef POSITIONERNODEINSTANCE_H
|
||||
#define POSITIONERNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "quickitemnodeinstance.h"
|
||||
|
||||
@@ -58,5 +57,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // POSITIONERNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROPERTYCHANGESNODEINSTANCE_H
|
||||
#define QMLPROPERTYCHANGESNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -60,5 +59,3 @@ protected:
|
||||
} // namespace QmlDesigner
|
||||
|
||||
//QML_DECLARE_TYPE(QmlDesigner::Internal::QmlPropertyChangesObject)
|
||||
|
||||
#endif // QMLPROPERTYCHANGESNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLSTATENODEINSTANCE_H
|
||||
#define QMLSTATENODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -57,5 +56,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLSTATENODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLTRANSITIONNODEINSTANCE_H
|
||||
#define QMLTRANSITIONNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include "objectnodeinstance.h"
|
||||
|
||||
@@ -48,4 +47,3 @@ private:
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // QMLTRANSITIONNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_QT5INFORMATIONNODEINSTANCESERVER_H
|
||||
#define QMLDESIGNER_QT5INFORMATIONNODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "qt5nodeinstanceserver.h"
|
||||
#include "tokencommand.h"
|
||||
@@ -58,5 +57,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_QT5INFORMATIONNODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_QT5NODEINSTANCECLIENTPROXY_H
|
||||
#define QMLDESIGNER_QT5NODEINSTANCECLIENTPROXY_H
|
||||
#pragma once
|
||||
|
||||
#include "nodeinstanceclientproxy.h"
|
||||
|
||||
@@ -38,5 +37,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_QT5NODEINSTANCECLIENTPROXY_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QT5NODEINSTANCESERVER_H
|
||||
#define QT5NODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
};
|
||||
|
||||
} // QmlDesigner
|
||||
|
||||
#endif // QT5NODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_QT5PREVIEWNODEINSTANCESERVER_H
|
||||
#define QMLDESIGNER_QT5PREVIEWNODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "qt5nodeinstanceserver.h"
|
||||
|
||||
@@ -51,5 +50,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_QT5PREVIEWNODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_QT5RENDERNODEINSTANCESERVER_H
|
||||
#define QMLDESIGNER_QT5RENDERNODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "qt5nodeinstanceserver.h"
|
||||
|
||||
@@ -50,5 +49,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_QT5RENDERNODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_QT5TESTNODEINSTANCESERVER_H
|
||||
#define QMLDESIGNER_QT5TESTNODEINSTANCESERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "qt5nodeinstanceserver.h"
|
||||
|
||||
@@ -61,5 +60,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLDESIGNER_QT5TESTNODEINSTANCESERVER_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QuickITEMNODEINSTANCE_H
|
||||
#define QuickITEMNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -134,6 +133,3 @@ private: //variables
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QuickITEMNODEINSTANCE_H
|
||||
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SERVERNODEINSTANCE_H
|
||||
#define SERVERNODEINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedPointer>
|
||||
#include <QHash>
|
||||
@@ -214,5 +213,3 @@ QDebug operator <<(QDebug debug, const ServerNodeInstance &instance);
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::ServerNodeInstance)
|
||||
|
||||
#endif // SERVERNODEINSTANCE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DESIGNERCUSTOMOBJECTDATA_H
|
||||
#define DESIGNERCUSTOMOBJECTDATA_H
|
||||
#pragma once
|
||||
|
||||
#include "nodeinstanceglobal.h"
|
||||
|
||||
@@ -81,5 +80,3 @@ private:
|
||||
} // namespace QmlPrivateGate
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // DESIGNERCUSTOMOBJECTDATA_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef NODEINSTANCEMETAOBJECT_H
|
||||
#define NODEINSTANCEMETAOBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include <QQmlContext>
|
||||
#include <QScopedPointer>
|
||||
@@ -94,5 +93,3 @@ private:
|
||||
} // namespace QmlPrivateGate
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // NODEINSTANCEMETAOBJECT_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPRIVATEGATE_H
|
||||
#define QMLPRIVATEGATE_H
|
||||
#pragma once
|
||||
|
||||
#include "nodeinstanceglobal.h"
|
||||
|
||||
@@ -131,5 +130,3 @@ public:
|
||||
} // namespace QmlPrivateGate
|
||||
} // namespace Internal
|
||||
} // namespace QmlDesigner
|
||||
|
||||
#endif // QMLPRIVATEGATE_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLDESIGNER_ENUMERATION_H
|
||||
#define QMLDESIGNER_ENUMERATION_H
|
||||
#pragma once
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QDataStream>
|
||||
@@ -69,5 +68,3 @@ QDebug operator <<(QDebug debug, const Enumeration &enumeration);
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Q_DECLARE_METATYPE(QmlDesigner::Enumeration)
|
||||
|
||||
#endif // QMLDESIGNER_ENUMERATION_H
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#ifndef %ProjectName:h%_PLUGIN_H
|
||||
#define %ProjectName:h%_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include <QDeclarativeExtensionPlugin>
|
||||
|
||||
@@ -13,5 +12,3 @@ class %ProjectName:s%Plugin : public QDeclarativeExtensionPlugin
|
||||
public:
|
||||
void registerTypes(const char *uri);
|
||||
};
|
||||
|
||||
#endif // %ProjectName:h%_PLUGIN_H
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#ifndef %ProjectName:h%_PLUGIN_H
|
||||
#define %ProjectName:h%_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include <QQmlExtensionPlugin>
|
||||
|
||||
@@ -11,5 +10,3 @@ class %ProjectName:s%Plugin : public QQmlExtensionPlugin
|
||||
public:
|
||||
void registerTypes(const char *uri);
|
||||
};
|
||||
|
||||
#endif // %ProjectName:h%_PLUGIN_H
|
||||
|
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef APP_VERSION_H
|
||||
#define APP_VERSION_H
|
||||
#pragma once
|
||||
|
||||
namespace Core {
|
||||
namespace Constants {
|
||||
@@ -76,5 +75,3 @@ const char * const IDE_COPY_SETTINGS_FROM_VARIANT_STR = \"Nokia\";
|
||||
|
||||
} // Constants
|
||||
} // Core
|
||||
|
||||
#endif //APP_VERSION_H
|
||||
|
5
src/libs/3rdparty/cplusplus/AST.h
vendored
5
src/libs/3rdparty/cplusplus/AST.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_AST_H
|
||||
#define CPLUSPLUS_AST_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "ASTfwd.h"
|
||||
@@ -4688,5 +4687,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_AST_H
|
||||
|
5
src/libs/3rdparty/cplusplus/ASTMatcher.h
vendored
5
src/libs/3rdparty/cplusplus/ASTMatcher.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef ASTMATCHER_H
|
||||
#define ASTMATCHER_H
|
||||
#pragma once
|
||||
|
||||
#include "ASTfwd.h"
|
||||
|
||||
@@ -184,5 +183,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_ASTMATCHER_H
|
||||
|
5
src/libs/3rdparty/cplusplus/ASTVisitor.h
vendored
5
src/libs/3rdparty/cplusplus/ASTVisitor.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_ASTVISITOR_H
|
||||
#define CPLUSPLUS_ASTVISITOR_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "ASTfwd.h"
|
||||
@@ -380,5 +379,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_ASTVISITOR_H
|
||||
|
6
src/libs/3rdparty/cplusplus/ASTfwd.h
vendored
6
src/libs/3rdparty/cplusplus/ASTfwd.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_ASTFWD_H
|
||||
#define CPLUSPLUS_ASTFWD_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -225,6 +224,3 @@ typedef List<ObjCSynthesizedPropertyAST *> ObjCSynthesizedPropertyListAST;
|
||||
typedef List<DesignatorAST *> DesignatorListAST;
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_ASTFWD_H
|
||||
|
5
src/libs/3rdparty/cplusplus/Bind.h
vendored
5
src/libs/3rdparty/cplusplus/Bind.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_BIND_H
|
||||
#define CPLUSPLUS_BIND_H
|
||||
#pragma once
|
||||
|
||||
#include "ASTVisitor.h"
|
||||
#include "FullySpecifiedType.h"
|
||||
@@ -291,5 +290,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_BIND_H
|
||||
|
5
src/libs/3rdparty/cplusplus/CPlusPlus.h
vendored
5
src/libs/3rdparty/cplusplus/CPlusPlus.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_CPLUSPLUS_H
|
||||
#define CPLUSPLUS_CPLUSPLUS_H
|
||||
#pragma once
|
||||
|
||||
#include "AST.h"
|
||||
#include "ASTMatcher.h"
|
||||
@@ -52,5 +51,3 @@
|
||||
#include "Matcher.h"
|
||||
#include "TypeVisitor.h"
|
||||
#include "Templates.h"
|
||||
|
||||
#endif // CPLUSPLUS_CPLUSPLUS_H
|
||||
|
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_CPLUSPLUSFORWARDDECLARATIONS_H
|
||||
#define CPLUSPLUS_CPLUSPLUSFORWARDDECLARATIONS_H
|
||||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstddef>
|
||||
@@ -136,5 +135,3 @@ class ObjCMethod;
|
||||
class ObjCPropertyDeclaration;
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_CPLUSPLUSFORWARDDECLARATIONS_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Control.h
vendored
6
src/libs/3rdparty/cplusplus/Control.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_CONTROL_H
|
||||
#define CPLUSPLUS_CONTROL_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "ASTfwd.h"
|
||||
@@ -227,6 +226,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_CONTROL_H
|
||||
|
5
src/libs/3rdparty/cplusplus/CoreTypes.h
vendored
5
src/libs/3rdparty/cplusplus/CoreTypes.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_CORETYPES_H
|
||||
#define CPLUSPLUS_CORETYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Type.h"
|
||||
@@ -242,5 +241,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_CORETYPES_H
|
||||
|
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_DIAGNOSTICCLIENT_H
|
||||
#define CPLUSPLUS_DIAGNOSTICCLIENT_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include <cstdarg>
|
||||
@@ -48,6 +47,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_DIAGNOSTICCLIENT_H
|
||||
|
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_FULLYSPECIFIEDTYPE_H
|
||||
#define CPLUSPLUS_FULLYSPECIFIEDTYPE_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -149,5 +148,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_FULLYSPECIFIEDTYPE_H
|
||||
|
5
src/libs/3rdparty/cplusplus/Lexer.h
vendored
5
src/libs/3rdparty/cplusplus/Lexer.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_LEXER_H
|
||||
#define CPLUSPLUS_LEXER_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Token.h"
|
||||
@@ -158,5 +157,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_LEXER_H
|
||||
|
6
src/libs/3rdparty/cplusplus/LiteralTable.h
vendored
6
src/libs/3rdparty/cplusplus/LiteralTable.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_LITERALTABLE_H
|
||||
#define CPLUSPLUS_LITERALTABLE_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include <cstring>
|
||||
@@ -164,6 +163,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_LITERALTABLE_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Literals.h
vendored
6
src/libs/3rdparty/cplusplus/Literals.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_LITERALS_H
|
||||
#define CPLUSPLUS_LITERALS_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Token.h"
|
||||
@@ -124,6 +123,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_LITERALS_H
|
||||
|
5
src/libs/3rdparty/cplusplus/Matcher.h
vendored
5
src/libs/3rdparty/cplusplus/Matcher.h
vendored
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef TYPEMATCHER_H
|
||||
#define TYPEMATCHER_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -75,5 +74,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // TYPEMATCHER_H
|
||||
|
5
src/libs/3rdparty/cplusplus/MemoryPool.h
vendored
5
src/libs/3rdparty/cplusplus/MemoryPool.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_MEMORYPOOL_H
|
||||
#define CPLUSPLUS_MEMORYPOOL_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include <new>
|
||||
@@ -82,5 +81,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_MEMORYPOOL_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Name.h
vendored
6
src/libs/3rdparty/cplusplus/Name.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_NAME_H
|
||||
#define CPLUSPLUS_NAME_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Matcher.h"
|
||||
@@ -73,6 +72,3 @@ protected: // for Matcher
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_NAME_H
|
||||
|
6
src/libs/3rdparty/cplusplus/NameVisitor.h
vendored
6
src/libs/3rdparty/cplusplus/NameVisitor.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_NAMEVISITOR_H
|
||||
#define CPLUSPLUS_NAMEVISITOR_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -51,6 +50,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_NAMEVISITOR_H
|
||||
|
5
src/libs/3rdparty/cplusplus/Names.h
vendored
5
src/libs/3rdparty/cplusplus/Names.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_NAMES_H
|
||||
#define CPLUSPLUS_NAMES_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Name.h"
|
||||
@@ -273,5 +272,3 @@ private:
|
||||
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_NAMES_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Parser.h
vendored
6
src/libs/3rdparty/cplusplus/Parser.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_PARSER_H
|
||||
#define CPLUSPLUS_PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "ASTfwd.h"
|
||||
@@ -336,6 +335,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_PARSER_H
|
||||
|
@@ -1,6 +1,5 @@
|
||||
|
||||
#ifndef QTCONTEXTKEYWORDS_H
|
||||
#define QTCONTEXTKEYWORDS_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -24,5 +23,3 @@ enum {
|
||||
|
||||
CPLUSPLUS_EXPORT int classifyQtContextKeyword(const char *s, int n);
|
||||
} // namespace CPlusPlus;
|
||||
|
||||
#endif // QTCONTEXTKEYWORDS_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Scope.h
vendored
6
src/libs/3rdparty/cplusplus/Scope.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_SCOPE_H
|
||||
#define CPLUSPLUS_SCOPE_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Symbol.h"
|
||||
@@ -78,6 +77,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_SCOPE_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Symbol.h
vendored
6
src/libs/3rdparty/cplusplus/Symbol.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_SYMBOL_H
|
||||
#define CPLUSPLUS_SYMBOL_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
@@ -325,6 +324,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_SYMBOL_H
|
||||
|
6
src/libs/3rdparty/cplusplus/SymbolVisitor.h
vendored
6
src/libs/3rdparty/cplusplus/SymbolVisitor.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef SYMBOLVISITOR_H
|
||||
#define SYMBOLVISITOR_H
|
||||
#pragma once
|
||||
|
||||
#include "Symbol.h"
|
||||
|
||||
@@ -71,6 +70,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // SYMBOLVISITOR_H
|
||||
|
6
src/libs/3rdparty/cplusplus/Symbols.h
vendored
6
src/libs/3rdparty/cplusplus/Symbols.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_SYMBOLS_H
|
||||
#define CPLUSPLUS_SYMBOLS_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "Symbol.h"
|
||||
@@ -911,6 +910,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_SYMBOLS_H
|
||||
|
5
src/libs/3rdparty/cplusplus/Templates.h
vendored
5
src/libs/3rdparty/cplusplus/Templates.h
vendored
@@ -18,8 +18,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
#ifndef CPLUSPLUS_TEMPLATES_H
|
||||
#define CPLUSPLUS_TEMPLATES_H
|
||||
#pragma once
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
#include "TypeVisitor.h"
|
||||
@@ -207,5 +206,3 @@ private:
|
||||
};
|
||||
|
||||
} // end of namespace CPlusPlus
|
||||
|
||||
#endif // CPLUSPLUS_TEMPLATES_H
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user