aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/shared
diff options
context:
space:
mode:
authorhjk <[email protected]>2016-03-18 07:55:01 +0100
committerhjk <[email protected]>2016-03-30 15:20:19 +0000
commit39a38d5679084b515276285c044d8a27e671adb1 (patch)
tree8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/plugins/debugger/shared
parent6b805c217273b9d169aa7e8a78949e17179016bf (diff)
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/shared')
-rw-r--r--src/plugins/debugger/shared/backtrace.h5
-rw-r--r--src/plugins/debugger/shared/cdbsymbolpathlisteditor.h5
-rw-r--r--src/plugins/debugger/shared/hostutils.h5
-rw-r--r--src/plugins/debugger/shared/peutils.h5
-rw-r--r--src/plugins/debugger/shared/symbolpathsdialog.h5
5 files changed, 5 insertions, 20 deletions
diff --git a/src/plugins/debugger/shared/backtrace.h b/src/plugins/debugger/shared/backtrace.h
index 86daa5ca729..ea4ec142eb7 100644
--- a/src/plugins/debugger/shared/backtrace.h
+++ b/src/plugins/debugger/shared/backtrace.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef DEBUGGER_BACKTRACE_H
-#define DEBUGGER_BACKTRACE_H
+#pragma once
namespace Debugger {
namespace Internal {
@@ -33,5 +32,3 @@ void dumpBacktrace(int maxdepth = -1);
} // namespace Internal
} // namespace Debugger
-
-#endif // DEBUGGER_BACKTRACE_H
diff --git a/src/plugins/debugger/shared/cdbsymbolpathlisteditor.h b/src/plugins/debugger/shared/cdbsymbolpathlisteditor.h
index b246bcd6d05..8a760d11b15 100644
--- a/src/plugins/debugger/shared/cdbsymbolpathlisteditor.h
+++ b/src/plugins/debugger/shared/cdbsymbolpathlisteditor.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef SYMBOLPATHLISTEDITOR_H
-#define SYMBOLPATHLISTEDITOR_H
+#pragma once
#include <utils/pathlisteditor.h>
@@ -95,5 +94,3 @@ private:
} // namespace Internal
} // namespace Debugger
-
-#endif // SYMBOLPATHLISTEDITOR_H
diff --git a/src/plugins/debugger/shared/hostutils.h b/src/plugins/debugger/shared/hostutils.h
index 7c2a1d6f041..33485308670 100644
--- a/src/plugins/debugger/shared/hostutils.h
+++ b/src/plugins/debugger/shared/hostutils.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef DEBUGGER_HOSTUTILS_H
-#define DEBUGGER_HOSTUTILS_H
+#pragma once
#include <QList>
@@ -68,5 +67,3 @@ bool isDebuggerWinException(unsigned long code);
} // namespace Internal
} // namespace Debugger
-
-#endif // DEBUGGER_HOSTUTILS_H
diff --git a/src/plugins/debugger/shared/peutils.h b/src/plugins/debugger/shared/peutils.h
index 47f3ee0bf8e..0d25d8ace15 100644
--- a/src/plugins/debugger/shared/peutils.h
+++ b/src/plugins/debugger/shared/peutils.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef DEBUGGER_PEUTILS_H
-#define DEBUGGER_PEUTILS_H
+#pragma once
#include <qnamespace.h>
@@ -43,5 +42,3 @@ bool getPDBFiles(const QString &peExecutableFileName, QStringList *rc, QString *
} // namespace Internal
} // namespace Debugger
-
-#endif // DEBUGGER_PEUTILS_H
diff --git a/src/plugins/debugger/shared/symbolpathsdialog.h b/src/plugins/debugger/shared/symbolpathsdialog.h
index d6c0ad89bc9..304988e285b 100644
--- a/src/plugins/debugger/shared/symbolpathsdialog.h
+++ b/src/plugins/debugger/shared/symbolpathsdialog.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef SYMBOLPATHSDIALOG_H
-#define SYMBOLPATHSDIALOG_H
+#pragma once
#include <QDialog>
#include <QString>
@@ -60,5 +59,3 @@ private:
} // namespace Internal
} // namespace Debugger
-
-#endif // SYMBOLPATHSDIALOG_H