Code quality: Fix header guards consistency

Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
This commit is contained in:
Rémi Verschelde
2022-07-23 23:41:51 +02:00
parent 3084a48ace
commit 90019676b0
491 changed files with 1009 additions and 863 deletions

View File

@ -74,4 +74,4 @@ public:
~LightmapRaycasterEmbree();
};
#endif
#endif // LIGHTMAP_RAYCASTER_H

View File

@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef OCCLUSION_CULL_RAYCASTER_H
#define OCCLUSION_CULL_RAYCASTER_H
#ifndef RAYCAST_OCCLUSION_CULL_H
#define RAYCAST_OCCLUSION_CULL_H
#include "core/io/image.h"
#include "core/math/projection.h"
@ -192,4 +192,4 @@ public:
~RaycastOcclusionCull();
};
#endif // OCCLUSION_CULL_RAYCASTER_H
#endif // RAYCAST_OCCLUSION_CULL_H

View File

@ -61,4 +61,4 @@ public:
~StaticRaycasterEmbree();
};
#endif
#endif // STATIC_RAYCASTER_H