summaryrefslogtreecommitdiff
path: root/tests/genericprojectmanager
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-03-18 07:55:01 +0100
committerhjk <hjk@theqtcompany.com>2016-03-30 15:20:19 +0000
commit39a38d5679084b515276285c044d8a27e671adb1 (patch)
tree8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /tests/genericprojectmanager
parent6b805c217273b9d169aa7e8a78949e17179016bf (diff)
downloadqt-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/genericprojectmanager')
-rw-r--r--tests/genericprojectmanager/testdata_mixedproject1/Glue.h5
-rw-r--r--tests/genericprojectmanager/testdata_mixedproject1/header.h5
-rw-r--r--tests/genericprojectmanager/testdata_mixedproject2/header.hpp4
3 files changed, 3 insertions, 11 deletions
diff --git a/tests/genericprojectmanager/testdata_mixedproject1/Glue.h b/tests/genericprojectmanager/testdata_mixedproject1/Glue.h
index dd39049add..08570566f9 100644
--- a/tests/genericprojectmanager/testdata_mixedproject1/Glue.h
+++ b/tests/genericprojectmanager/testdata_mixedproject1/Glue.h
@@ -1,10 +1,7 @@
-#ifndef GLUE_H
-#define GLUE_H
+#pragma once
struct Glue {
struct it {
static void together();
};
};
-
-#endif // GLUE_H
diff --git a/tests/genericprojectmanager/testdata_mixedproject1/header.h b/tests/genericprojectmanager/testdata_mixedproject1/header.h
index 689ec03871..6f70f09bee 100644
--- a/tests/genericprojectmanager/testdata_mixedproject1/header.h
+++ b/tests/genericprojectmanager/testdata_mixedproject1/header.h
@@ -1,4 +1 @@
-#ifndef HEADER_H
-#define HEADER_H
-
-#endif // HEADER_H
+#pragma once
diff --git a/tests/genericprojectmanager/testdata_mixedproject2/header.hpp b/tests/genericprojectmanager/testdata_mixedproject2/header.hpp
index ebc2cf627a..f2acb3bef7 100644
--- a/tests/genericprojectmanager/testdata_mixedproject2/header.hpp
+++ b/tests/genericprojectmanager/testdata_mixedproject2/header.hpp
@@ -1,6 +1,4 @@
-#ifndef HEADER_HPP
-#define HEADER_HPP
+#pragma once
extern "C" void impl();
-#endif // HEADER_HPP