Apply header guard check
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERASTCLONER_HPP
|
||||
#define NAZARA_SHADERASTCLONER_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTCLONER_HPP
|
||||
#define NAZARA_SHADER_AST_ASTCLONER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -88,4 +88,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstCloner.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTCLONER_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_AST_EXPRESSIONVISITOR_HPP
|
||||
#define NAZARA_SHADER_AST_EXPRESSIONVISITOR_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTEXPRESSIONVISITOR_HPP
|
||||
#define NAZARA_SHADER_AST_ASTEXPRESSIONVISITOR_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -29,4 +29,4 @@ namespace Nz::ShaderAst
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTEXPRESSIONVISITOR_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERASTEXPRESSIONVISITOREXCEPT_HPP
|
||||
#define NAZARA_SHADERASTEXPRESSIONVISITOREXCEPT_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTEXPRESSIONVISITOREXCEPT_HPP
|
||||
#define NAZARA_SHADER_AST_ASTEXPRESSIONVISITOREXCEPT_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -23,4 +23,4 @@ namespace Nz::ShaderAst
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTEXPRESSIONVISITOREXCEPT_HPP
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Shader module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// no header guards
|
||||
|
||||
#if !defined(NAZARA_SHADERAST_NODE) && !defined(NAZARA_SHADERAST_EXPRESSION) && !defined(NAZARA_SHADERAST_STATEMENT)
|
||||
#error You must define NAZARA_SHADERAST_NODE or NAZARA_SHADERAST_EXPRESSION or NAZARA_SHADERAST_STATEMENT before including this file
|
||||
#endif
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERASTOPTIMISER_HPP
|
||||
#define NAZARA_SHADERASTOPTIMISER_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTOPTIMIZER_HPP
|
||||
#define NAZARA_SHADER_AST_ASTOPTIMIZER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -67,4 +67,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstOptimizer.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTOPTIMIZER_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_RECURSIVE_VISITOR_HPP
|
||||
#define NAZARA_SHADER_RECURSIVE_VISITOR_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTRECURSIVEVISITOR_HPP
|
||||
#define NAZARA_SHADER_AST_ASTRECURSIVEVISITOR_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -54,4 +54,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstRecursiveVisitor.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTRECURSIVEVISITOR_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_AST_REFLECT_HPP
|
||||
#define NAZARA_SHADER_AST_REFLECT_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTREFLECT_HPP
|
||||
#define NAZARA_SHADER_AST_ASTREFLECT_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -45,4 +45,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstReflect.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTREFLECT_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERSERIALIZER_HPP
|
||||
#define NAZARA_SHADERSERIALIZER_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTSERIALIZER_HPP
|
||||
#define NAZARA_SHADER_AST_ASTSERIALIZER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/ByteArray.hpp>
|
||||
@@ -153,4 +153,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstSerializer.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTSERIALIZER_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERASTSTATEMENTVISITOR_HPP
|
||||
#define NAZARA_SHADERASTSTATEMENTVISITOR_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTSTATEMENTVISITOR_HPP
|
||||
#define NAZARA_SHADER_AST_ASTSTATEMENTVISITOR_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -29,4 +29,4 @@ namespace Nz::ShaderAst
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTSTATEMENTVISITOR_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERASTSTATEMENTVISITOREXCEPT_HPP
|
||||
#define NAZARA_SHADERASTSTATEMENTVISITOREXCEPT_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTSTATEMENTVISITOREXCEPT_HPP
|
||||
#define NAZARA_SHADER_AST_ASTSTATEMENTVISITOREXCEPT_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -23,4 +23,4 @@ namespace Nz::ShaderAst
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTSTATEMENTVISITOREXCEPT_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_AST_UTILS_HPP
|
||||
#define NAZARA_SHADER_AST_UTILS_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ASTUTILS_HPP
|
||||
#define NAZARA_SHADER_AST_ASTUTILS_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Config.hpp>
|
||||
@@ -55,4 +55,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/AstUtils.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ASTUTILS_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERAST_ATTRIBUTES_HPP
|
||||
#define NAZARA_SHADERAST_ATTRIBUTES_HPP
|
||||
#ifndef NAZARA_SHADER_AST_ATTRIBUTE_HPP
|
||||
#define NAZARA_SHADER_AST_ATTRIBUTE_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Shader/Ast/Enums.hpp>
|
||||
@@ -57,4 +57,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/Attribute.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_ATTRIBUTE_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADER_CONSTANTVALUE_HPP
|
||||
#define NAZARA_SHADER_CONSTANTVALUE_HPP
|
||||
#ifndef NAZARA_SHADER_AST_CONSTANTVALUE_HPP
|
||||
#define NAZARA_SHADER_AST_CONSTANTVALUE_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/TypeList.hpp>
|
||||
@@ -39,4 +39,4 @@ namespace Nz::ShaderAst
|
||||
NAZARA_SHADER_API ExpressionType GetExpressionType(const ConstantValue& constant);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_CONSTANTVALUE_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SHADERAST_TRANSFORMVISITOR_HPP
|
||||
#define NAZARA_SHADERAST_TRANSFORMVISITOR_HPP
|
||||
#ifndef NAZARA_SHADER_AST_SANITIZEVISITOR_HPP
|
||||
#define NAZARA_SHADER_AST_SANITIZEVISITOR_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Bitset.hpp>
|
||||
@@ -149,4 +149,4 @@ namespace Nz::ShaderAst
|
||||
|
||||
#include <Nazara/Shader/Ast/SanitizeVisitor.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_SHADER_AST_SANITIZEVISITOR_HPP
|
||||
|
||||
Reference in New Issue
Block a user