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 JSONCHECK_H
|
||||
#define JSONCHECK_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
|
||||
@@ -83,5 +82,3 @@ private:
|
||||
};
|
||||
|
||||
} // QmlJs
|
||||
|
||||
#endif // JSONCHECK_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QQMLDIRPARSER_P_H
|
||||
#define QQMLDIRPARSER_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -146,5 +145,3 @@ QDebug &operator<< (QDebug &, const QmlDirParser::Component &);
|
||||
QDebug &operator<< (QDebug &, const QmlDirParser::Script &);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QQMLDIRPARSER_P_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QQMLERROR_H
|
||||
#define QQMLERROR_H
|
||||
#pragma once
|
||||
|
||||
|
||||
|
||||
@@ -66,5 +65,3 @@ QDebug operator<<(QDebug debug, const QmlError &error);
|
||||
Q_DECLARE_TYPEINFO(QmlError, Q_MOVABLE_TYPE);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QQMLERROR_H
|
||||
|
||||
@@ -201,8 +201,7 @@
|
||||
// qlalr --no-debug --no-lines --qt qmljs.g
|
||||
//
|
||||
|
||||
#ifndef QMLJSPARSER_P_H
|
||||
#define QMLJSPARSER_P_H
|
||||
#prama once
|
||||
|
||||
#include "qmljsglobal_p.h"
|
||||
#include "qmljsgrammar_p.h"
|
||||
@@ -3114,6 +3113,4 @@ QT_QML_END_NAMESPACE
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
|
||||
|
||||
#endif // QMLJSPARSER_P_H
|
||||
:/
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSAST_P_H
|
||||
#define QMLJSAST_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -2759,5 +2758,3 @@ public:
|
||||
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSAST_FWD_P_H
|
||||
#define QMLJSAST_FWD_P_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljsglobal_p.h"
|
||||
|
||||
@@ -171,5 +170,3 @@ class UiHeaderItemList;
|
||||
} } // namespace AST
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSASTVISITOR_P_H
|
||||
#define QMLJSASTVISITOR_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -321,5 +320,3 @@ public:
|
||||
} } // namespace AST
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif // QMLJSASTVISITOR_P_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSENGINE_P_H
|
||||
#define QMLJSENGINE_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -111,5 +110,3 @@ double integerFromString(const char *buf, int size, int radix);
|
||||
} // end of namespace QmlJS
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif // QMLJSENGINE_P_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSGLOBAL_P_H
|
||||
#define QMLJSGLOBAL_P_H
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
@@ -52,5 +51,3 @@
|
||||
# define QML_PARSER_EXPORT
|
||||
# endif
|
||||
#endif // QT_CREATOR
|
||||
|
||||
#endif // QMLJSGLOBAL_P_H
|
||||
|
||||
@@ -35,8 +35,7 @@
|
||||
//
|
||||
|
||||
// This file was generated by qlalr - DO NOT EDIT!
|
||||
#ifndef QMLJSGRAMMAR_P_H
|
||||
#define QMLJSGRAMMAR_P_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljsglobal_p.h"
|
||||
#include <QtCore/qglobal.h>
|
||||
@@ -196,5 +195,3 @@ public:
|
||||
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif // QMLJSGRAMMAR_P_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSKEYWORDS_P_H
|
||||
#define QMLJSKEYWORDS_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -875,5 +874,3 @@ int Lexer::classify(const QChar *s, int n, bool qmlMode) {
|
||||
} // namespace QmlJS
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif // QMLJSKEYWORDS_P_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSLEXER_P_H
|
||||
#define QMLJSLEXER_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -233,5 +232,3 @@ private:
|
||||
} // end of namespace QmlJS
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif // LEXER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSMEMORYPOOL_P_H
|
||||
#define QMLJSMEMORYPOOL_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@@ -153,5 +152,3 @@ public:
|
||||
} // namespace QmlJS
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
||||
@@ -46,8 +46,7 @@
|
||||
// qlalr --no-debug --no-lines --qt qmljs.g
|
||||
//
|
||||
|
||||
#ifndef QMLJSPARSER_P_H
|
||||
#define QMLJSPARSER_P_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljsglobal_p.h"
|
||||
#include "qmljsgrammar_p.h"
|
||||
@@ -236,7 +235,3 @@ protected:
|
||||
#define J_SCRIPT_REGEXPLITERAL_RULE2 88
|
||||
|
||||
QT_QML_END_NAMESPACE
|
||||
|
||||
|
||||
|
||||
#endif // QMLJSPARSER_P_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PERSISTENTTRIE_H
|
||||
#define PERSISTENTTRIE_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
|
||||
@@ -128,5 +127,3 @@ QMLJS_EXPORT QDebug &operator<<(QDebug &dbg, const Trie &trie);
|
||||
|
||||
} // end namespace PersistentTrie
|
||||
} // end namespace QmlJS
|
||||
|
||||
#endif // PERSISTENTTRIE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_GLOBAL_H
|
||||
#define QMLJS_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <qglobal.h>
|
||||
|
||||
@@ -35,5 +34,3 @@
|
||||
#else
|
||||
# define QMLJS_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // QMLJS_GLOBAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSBIND_H
|
||||
#define QMLJSBIND_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/parser/qmljsastvisitor_p.h>
|
||||
#include <qmljs/qmljsvalueowner.h>
|
||||
@@ -104,5 +103,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Qml
|
||||
|
||||
#endif // QMLJSBIND_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSBUNDLE_H
|
||||
#define QMLJSBUNDLE_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/persistenttrie.h>
|
||||
@@ -104,5 +103,3 @@ private:
|
||||
QHash<Dialect,QmlBundle> m_bundles;
|
||||
};
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSBUNDLE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCHECK_H
|
||||
#define QMLJSCHECK_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljsscopebuilder.h>
|
||||
#include <qmljs/qmljsscopechain.h>
|
||||
@@ -155,5 +154,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSCHECK_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCODEFORMATTER_H
|
||||
#define QMLJSCODEFORMATTER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
|
||||
@@ -328,5 +327,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSCODEFORMATTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCOMPLETIONCONTEXTFINDER_H
|
||||
#define QMLJSCOMPLETIONCONTEXTFINDER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include <qmljs/qmljslineinfo.h>
|
||||
@@ -70,5 +69,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSCOMPLETIONCONTEXTFINDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSCONSTANTS_H
|
||||
#define QMLJSCONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
|
||||
@@ -91,4 +90,3 @@ const char TASK_IMPORT_SCAN[] = "QmlJSEditor.TaskImportScan";
|
||||
QMLJS_EXPORT Q_DECLARE_LOGGING_CATEGORY(qmljsLog)
|
||||
|
||||
} // namespace QmlJS
|
||||
#endif // QMLJSCONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_CONTEXT_H
|
||||
#define QMLJS_CONTEXT_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsdocument.h"
|
||||
@@ -97,5 +96,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_CONTEXT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSDESCRIBEVALUE_H
|
||||
#define QMLJSDESCRIBEVALUE_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsinterpreter.h"
|
||||
@@ -73,4 +72,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
#endif // QMLJSDESCRIBEVALUE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSDIALECT_H
|
||||
#define QMLJSDIALECT_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
|
||||
@@ -168,4 +167,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
#endif // QMLJSDIALECT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSDOCUMENT_H
|
||||
#define QMLJSDOCUMENT_H
|
||||
#pragma once
|
||||
|
||||
#include <QList>
|
||||
#include <QSharedPointer>
|
||||
@@ -246,5 +245,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSDOCUMENT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSEVALUATE_H
|
||||
#define QMLJSEVALUATE_H
|
||||
#pragma once
|
||||
|
||||
#include "parser/qmljsastvisitor_p.h"
|
||||
#include "qmljsdocument.h"
|
||||
@@ -164,5 +163,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Qml
|
||||
|
||||
#endif // QMLJSEVALUATE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_QMLJSFINDEXPORTEDCPPTYPES_H
|
||||
#define QMLJS_QMLJSFINDEXPORTEDCPPTYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include <cplusplus/CppDocument.h>
|
||||
@@ -56,5 +55,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_QMLJSFINDEXPORTEDCPPTYPES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSICONS_H
|
||||
#define QMLJSICONS_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/parser/qmljsast_p.h>
|
||||
@@ -59,5 +58,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSICONS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSICONTEXTPANE_H
|
||||
#define QMLJSICONTEXTPANE_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -55,5 +54,3 @@ signals:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSICONTEXTPANE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSIMPORTCACHE_H
|
||||
#define QMLJSIMPORTCACHE_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljsconstants.h"
|
||||
#include "qmljsdialect.h"
|
||||
@@ -232,5 +231,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSIMPORTCACHE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSINDENTER_H
|
||||
#define QMLJSINDENTER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/qmljslineinfo.h>
|
||||
@@ -72,6 +71,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSINDENTER_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_INTERPRETER_H
|
||||
#define QMLJS_INTERPRETER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/qmljsconstants.h>
|
||||
@@ -1129,5 +1128,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_INTERPRETER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSLINEINFO_H
|
||||
#define QMLJSLINEINFO_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
|
||||
@@ -117,6 +116,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSLINEINFO_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSLINK_H
|
||||
#define QMLJSLINK_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljscontext.h>
|
||||
|
||||
@@ -61,5 +60,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSLINK_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSMODELMANAGERINTERFACE_H
|
||||
#define QMLJSMODELMANAGERINTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsbundle.h"
|
||||
@@ -284,5 +283,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSMODELMANAGERINTERFACE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSPLUGINDUMPER_H
|
||||
#define QMLJSPLUGINDUMPER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljsmodelmanagerinterface.h>
|
||||
|
||||
@@ -97,5 +96,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSPLUGINDUMPER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSPROPERTYREADER_H
|
||||
#define QMLJSPROPERTYREADER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljsdocument.h>
|
||||
|
||||
@@ -71,5 +70,3 @@ private:
|
||||
};
|
||||
|
||||
} //QmlJS
|
||||
|
||||
#endif // QMLJSPROPERTYREADER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSQRCPARSER_H
|
||||
#define QMLJSQRCPARSER_H
|
||||
#pragma once
|
||||
#include "qmljs_global.h"
|
||||
|
||||
#include <QMap>
|
||||
@@ -80,4 +79,3 @@ private:
|
||||
Internal::QrcCachePrivate *d;
|
||||
};
|
||||
}
|
||||
#endif // QMLJSQRCPARSER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSREFORMATTER_H
|
||||
#define QMLJSREFORMATTER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
|
||||
@@ -33,5 +32,3 @@
|
||||
namespace QmlJS {
|
||||
QMLJS_EXPORT QString reformat(const Document::Ptr &doc);
|
||||
}
|
||||
|
||||
#endif // QMLJSREFORMATTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSREWRITER_H
|
||||
#define QMLJSREWRITER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/parser/qmljsastfwd_p.h>
|
||||
@@ -112,5 +111,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSREWRITER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSSCANNER_H
|
||||
#define QMLJSSCANNER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
|
||||
@@ -100,5 +99,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSSCANNER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSSCOPEASTPATH_H
|
||||
#define QMLJSSCOPEASTPATH_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "parser/qmljsastvisitor_p.h"
|
||||
@@ -61,5 +60,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSSCOPEASTPATH_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSSCOPEBUILDER_H
|
||||
#define QMLJSSCOPEBUILDER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljsdocument.h>
|
||||
|
||||
@@ -64,5 +63,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSSCOPEBUILDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_SCOPECHAIN_H
|
||||
#define QMLJS_SCOPECHAIN_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsdocument.h"
|
||||
@@ -123,5 +122,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_SCOPECHAIN_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_SIMPLEREADER_H
|
||||
#define QMLJS_SIMPLEREADER_H
|
||||
#pragma once
|
||||
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/parser/qmljsastfwd_p.h>
|
||||
@@ -127,5 +126,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_SIMPLEREADER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_STATICANALYSIS_QMLJSSTATICANALYSISMESSAGE_H
|
||||
#define QMLJS_STATICANALYSIS_QMLJSSTATICANALYSISMESSAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsconstants.h"
|
||||
@@ -166,5 +165,3 @@ public:
|
||||
|
||||
} // namespace StaticAnalysis
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_STATICANALYSIS_QMLJSSTATICANALYSISMESSAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJSTYPEDESCRIPTIONREADER_H
|
||||
#define QMLJSTYPEDESCRIPTIONREADER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include <qmljs/parser/qmljsastfwd_p.h>
|
||||
@@ -94,5 +93,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSTYPEDESCRIPTIONREADER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_QMLJSUTILS_H
|
||||
#define QMLJS_QMLJSUTILS_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsconstants.h"
|
||||
@@ -70,5 +69,3 @@ DiagnosticMessage errorMessage(const T *node, const QString &message)
|
||||
}
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_QMLJSUTILS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLJS_VALUEOWNER_H
|
||||
#define QMLJS_VALUEOWNER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsinterpreter.h"
|
||||
@@ -155,5 +154,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJS_VALUEOWNER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef VIEWERCONTEXT_H
|
||||
#define VIEWERCONTEXT_H
|
||||
#pragma once
|
||||
|
||||
#include "qmljs_global.h"
|
||||
#include "qmljsdialect.h"
|
||||
@@ -59,4 +58,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
#endif // VIEWERCONTEXT_H
|
||||
|
||||
Reference in New Issue
Block a user