diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 07:55:01 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-30 15:20:19 +0000 |
commit | 39a38d5679084b515276285c044d8a27e671adb1 (patch) | |
tree | 8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /tests/auto/extensionsystem | |
parent | 6b805c217273b9d169aa7e8a78949e17179016bf (diff) | |
download | qt-creator-39a38d5679084b515276285c044d8a27e671adb1.tar.gz |
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>
Diffstat (limited to 'tests/auto/extensionsystem')
8 files changed, 8 insertions, 32 deletions
diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.h b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.h index 82e515b946..556fc0ba6f 100644 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.h +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN1_H -#define PLUGIN1_H +#pragma once #include <extensionsystem/iplugin.h> @@ -52,5 +51,3 @@ public: }; } // namespace Plugin1 - -#endif // PLUGIN1_H diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.h b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.h index 04c3644900..e5e38e3300 100644 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.h +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN2_H -#define PLUGIN2_H +#pragma once #include <extensionsystem/iplugin.h> @@ -52,5 +51,3 @@ public: }; } // Plugin2 - -#endif // PLUGIN2_H diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.h b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.h index 36e743d87b..c1ba2d3c93 100644 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.h +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN3_H -#define PLUGIN3_H +#pragma once #include <extensionsystem/iplugin.h> @@ -52,5 +51,3 @@ public: }; } // namespace Plugin3 - -#endif // PLUGIN3_H diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.h b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.h index e911f3d420..6a0d4c7f09 100644 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.h +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN1_H -#define PLUGIN1_H +#pragma once #include <extensionsystem/iplugin.h> @@ -55,5 +54,3 @@ private: }; } // namespace Plugin1 - -#endif // PLUGIN1_H diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.h b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.h index 2068170b6a..1a5ff1eb5c 100644 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.h +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN2_H -#define PLUGIN2_H +#pragma once #include <extensionsystem/iplugin.h> @@ -55,5 +54,3 @@ private: }; } // namespace Plugin2 - -#endif // PLUGIN2_H diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.h b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.h index 4739ebb997..a8bfb4e7b6 100644 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.h +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PLUGIN3_H -#define PLUGIN3_H +#pragma once #include <extensionsystem/iplugin.h> @@ -55,5 +54,3 @@ private: }; } // namespace Plugin3 - -#endif // PLUGIN3_H diff --git a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.h b/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.h index 9a5913edba..cc88e8a8d0 100644 --- a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.h +++ b/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef TESTPLUGIN_H -#define TESTPLUGIN_H +#pragma once #include "testplugin_global.h" #include <extensionsystem/iplugin.h> @@ -54,5 +53,3 @@ private: }; } // namespace - -#endif // TESTPLUGIN_H diff --git a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin_global.h b/tests/auto/extensionsystem/pluginspec/testplugin/testplugin_global.h index 0bd78078b6..c693b51975 100644 --- a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin_global.h +++ b/tests/auto/extensionsystem/pluginspec/testplugin/testplugin_global.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef TESTPLUGIN_GLOBAL_H -#define TESTPLUGIN_GLOBAL_H +#pragma once #include <qglobal.h> @@ -33,5 +32,3 @@ #else # define MYPLUGIN_EXPORT Q_DECL_IMPORT #endif - -#endif // TESTPLUGIN_GLOBAL_H |