Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_SHADER_PREPROCESSOR_H
#define TEST_SHADER_PREPROCESSOR_H
#pragma once
#include "servers/rendering/shader_preprocessor.h"
@@ -329,5 +328,3 @@ TEST_CASE("[ShaderPreprocessor] Invalid concatenations") {
}
} // namespace TestShaderPreprocessor
#endif // TEST_SHADER_PREPROCESSOR_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_NAVIGATION_SERVER_2D_H
#define TEST_NAVIGATION_SERVER_2D_H
#pragma once
#include "servers/navigation_server_2d.h"
@@ -43,5 +42,3 @@ TEST_SUITE("[Navigation]") {
}
}
} //namespace TestNavigationServer2D
#endif // TEST_NAVIGATION_SERVER_2D_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_NAVIGATION_SERVER_3D_H
#define TEST_NAVIGATION_SERVER_3D_H
#pragma once
#include "scene/3d/mesh_instance_3d.h"
#include "scene/resources/3d/primitive_meshes.h"
@@ -969,5 +968,3 @@ TEST_SUITE("[Navigation]") {
}
}
} //namespace TestNavigationServer3D
#endif // TEST_NAVIGATION_SERVER_3D_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_TEXT_SERVER_H
#define TEST_TEXT_SERVER_H
#pragma once
#ifdef TOOLS_ENABLED
@@ -977,5 +976,3 @@ TEST_SUITE("[TextServer]") {
}; // namespace TestTextServer
#endif // TOOLS_ENABLED
#endif // TEST_TEXT_SERVER_H