forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user