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:
hjk
2016-03-18 07:55:01 +01:00
parent 6b805c2172
commit 39a38d5679
2252 changed files with 2240 additions and 9056 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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