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

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef CLANGCODECOMPLETIONTEST_H
#define CLANGCODECOMPLETIONTEST_H
#pragma once
#include <QObject>
@@ -65,5 +64,3 @@ private slots:
} // namespace Tests
} // namespace Internal
} // namespace ClangCodeModel
#endif // CLANGCODECOMPLETIONTEST_H

View File

@@ -1,2 +1 @@
int globalFromHeader;

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#pragma once
#include <QMainWindow>
@@ -43,5 +42,3 @@ public:
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H