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 GLSL_H
#define GLSL_H
#pragma once
#include <qglobal.h>
#include <cstdlib>
@@ -75,5 +74,3 @@ class AST;
class TranslationUnitAST;
template <typename T> class List;
}
#endif // GLSL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLAST_H
#define GLSLAST_H
#pragma once
#include "glsl.h"
#include "glslmemorypool.h"
@@ -992,5 +991,3 @@ public: // attributes
};
} // namespace GLSL
#endif // GLSLAST_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLASTDUMP_H
#define GLSLASTDUMP_H
#pragma once
#include "glslastvisitor.h"
@@ -49,5 +48,3 @@ private:
};
} // namespace GLSL
#endif // GLSLASTDUMP_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLASTVISITOR_H
#define GLSLASTVISITOR_H
#pragma once
#include "glslast.h"
@@ -154,5 +153,3 @@ public:
};
} // namespace GLSL
#endif // GLSLASTVISITOR_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLENGINE_H
#define GLSLENGINE_H
#pragma once
#include "glsl.h"
#include "glslmemorypool.h"
@@ -142,5 +141,3 @@ private:
};
} // namespace GLSL
#endif // GLSLENGINE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLLEXER_H
#define GLSLLEXER_H
#pragma once
#include "glsl.h"
#include <qstring.h>
@@ -129,5 +128,3 @@ private:
};
} // namespace GLSL
#endif // GLSLLEXER_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLMEMORYPOOL_H
#define GLSLMEMORYPOOL_H
#pragma once
#include "glsl.h"
#include <new>
@@ -87,6 +86,3 @@ public:
};
} // namespace GLSL
#endif // GLSLMEMORYPOOL_H

View File

@@ -35,8 +35,7 @@
//
// This file was generated by qlalr - DO NOT EDIT!
#ifndef GLSLPARSERTABLE_P_H
#define GLSLPARSERTABLE_P_H
#pragma once
#include <qglobal.h>
@@ -264,5 +263,3 @@ public:
QT_END_NAMESPACE
#endif // GLSLPARSERTABLE_P_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLSEMANTIC_H
#define GLSLSEMANTIC_H
#pragma once
#include "glslastvisitor.h"
#include "glsltype.h"
@@ -127,5 +126,3 @@ private:
};
} // namespace GLSL
#endif // GLSLSEMANTIC_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLSYMBOL_H
#define GLSLSYMBOL_H
#pragma once
#include "glsl.h"
#include <QString>
@@ -77,5 +76,3 @@ public:
};
} // namespace GLSL
#endif // GLSLSYMBOL_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLSYMBOLS_H
#define GLSLSYMBOLS_H
#pragma once
#include "glsltype.h"
#include "glslsymbol.h"
@@ -103,5 +102,3 @@ private:
};
} // namespace GLSL
#endif // GLSLSYMBOLS_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLTYPE_H
#define GLSLTYPE_H
#pragma once
#include "glsl.h"
@@ -60,5 +59,3 @@ public:
};
} // namespace GLSL
#endif // GLSLTYPE_H

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GLSLTYPES_H
#define GLSLTYPES_H
#pragma once
#include "glsltype.h"
#include "glslsymbol.h"
@@ -290,5 +289,3 @@ private:
};
} // namespace GLSL
#endif // GLSLTYPES_H