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:
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_ANNOUNCETHREAD_H
|
||||
#define LIBVALGRIND_PROTOCOL_ANNOUNCETHREAD_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
|
||||
@@ -60,5 +59,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_ANNOUNCETHREAD_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_ERROR_H
|
||||
#define LIBVALGRIND_PROTOCOL_ERROR_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QSharedDataPointer>
|
||||
@@ -138,5 +137,3 @@ private:
|
||||
} // namespace Valgrind
|
||||
|
||||
Q_DECLARE_METATYPE(Valgrind::XmlProtocol::Error)
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_ERROR_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_ERRORLISTMODEL_H
|
||||
#define LIBVALGRIND_PROTOCOL_ERRORLISTMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include <debugger/analyzer/detailederrorview.h>
|
||||
#include <utils/treemodel.h>
|
||||
@@ -70,5 +69,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_ERRORLISTMODEL_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_FRAME_H
|
||||
#define LIBVALGRIND_PROTOCOL_FRAME_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
|
||||
@@ -72,5 +71,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_MODELHELPERS_H
|
||||
#define LIBVALGRIND_PROTOCOL_MODELHELPERS_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -42,5 +41,3 @@ QString toolTipForFrame(const Frame &frame);
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_MODELHELPERS_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_PARSER_H
|
||||
#define LIBVALGRIND_PROTOCOL_PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -79,5 +78,3 @@ private:
|
||||
|
||||
} // XmlProtocol
|
||||
} // Valgrind
|
||||
|
||||
#endif //LIBVALGRIND_PROTOCOL_PARSER_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef VALGRIND_PROTOCOL_STACK_H
|
||||
#define VALGRIND_PROTOCOL_STACK_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
|
||||
@@ -75,5 +74,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Stack
|
||||
|
||||
#endif // VALGRIND_PROTOCOL_STACK_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_STACKMODEL_H
|
||||
#define LIBVALGRIND_PROTOCOL_STACKMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
|
||||
@@ -79,5 +78,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_STACKMODEL_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_STATUS_H
|
||||
#define LIBVALGRIND_PROTOCOL_STATUS_H
|
||||
#pragma once
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QSharedDataPointer>
|
||||
@@ -63,5 +62,3 @@ private:
|
||||
} // namespace Valgrind
|
||||
|
||||
Q_DECLARE_METATYPE(Valgrind::XmlProtocol::Status)
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_STATUS_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_SUPPRESSION_H
|
||||
#define LIBVALGRIND_PROTOCOL_SUPPRESSION_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
|
||||
@@ -103,5 +102,3 @@ private:
|
||||
|
||||
} // namespace XmlProtocol
|
||||
} // namespace Valgrind
|
||||
|
||||
#endif // LIBVALGRIND_PROTOCOL_SUPPRESSION_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LIBVALGRIND_PROTOCOL_THREADEDPARSER_H
|
||||
#define LIBVALGRIND_PROTOCOL_THREADEDPARSER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -79,5 +78,3 @@ private:
|
||||
|
||||
} // XmlProtocol
|
||||
} // Valgrind
|
||||
|
||||
#endif //LIBVALGRIND_PROTOCOL_THREADEDPARSER_H
|
||||
|
||||
Reference in New Issue
Block a user