Skip to content

Commit

Permalink
Clang format everything again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Jul 16, 2024
1 parent 8181808 commit f9507dc
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 84 deletions.
4 changes: 1 addition & 3 deletions core/locales.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef LOCALES_H
#define LOCALES_H

/*************************************************************************/
/* locales.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




// Windows has some weird locale identifiers which do not honor the ISO 639-1
// standardized nomenclature. Whenever those don't conflict with existing ISO
// identifiers, we override them.
Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/rasterizer_canvas_base_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef RASTERIZER_CANVAS_BASE_GLES3_H
#define RASTERIZER_CANVAS_BASE_GLES3_H

/*************************************************************************/
/* rasterizer_canvas_base_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "rasterizer_storage_gles3.h"
#include "servers/rendering/rasterizer.h"

Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/rasterizer_canvas_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef RASTERIZER_CANVAS_GLES3_H
#define RASTERIZER_CANVAS_GLES3_H

/*************************************************************************/
/* rasterizer_canvas_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "drivers/gles_common/rasterizer_canvas_batcher.h"
#include "rasterizer_canvas_base_gles3.h"

Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/rasterizer_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef RASTERIZER_GLES3_H
#define RASTERIZER_GLES3_H

/*************************************************************************/
/* rasterizer_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "rasterizer_canvas_gles3.h"
#include "rasterizer_scene_gles3.h"
#include "rasterizer_storage_gles3.h"
Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/rasterizer_scene_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef RASTERIZER_SCENE_GLES3_H
#define RASTERIZER_SCENE_GLES3_H

/*************************************************************************/
/* rasterizer_scene_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




/* Must come before shaders or the Windows build fails... */
#include "rasterizer_storage_gles3.h"

Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/rasterizer_storage_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef RASTERIZER_STORAGE_GLES3_H
#define RASTERIZER_STORAGE_GLES3_H

/*************************************************************************/
/* rasterizer_storage_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/bitfield_dynamic.h"
#include "core/containers/self_list.h"
#include "drivers/gles_common/rasterizer_asserts.h"
Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/shader_cache_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef SHADER_CACHE_GLES3_H
#define SHADER_CACHE_GLES3_H

/*************************************************************************/
/* shader_cache_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/local_vector.h"
#include "core/object/reference.h"

Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/shader_compiler_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef SHADER_COMPILER_GLES3_H
#define SHADER_COMPILER_GLES3_H

/*************************************************************************/
/* shader_compiler_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/pair.h"
#include "servers/rendering/shader_language.h"
#include "servers/rendering/shader_types.h"
Expand Down
4 changes: 1 addition & 3 deletions drivers/gles3/shader_gles3.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef SHADER_GLES3_H
#define SHADER_GLES3_H

/*************************************************************************/
/* shader_gles3.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/hash_map.h"
#include "core/containers/local_vector.h"
#include "core/containers/og_hash_map.h"
Expand Down
4 changes: 1 addition & 3 deletions editor/editor_locale_dialog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef EDITOR_LOCALE_DIALOG_H
#define EDITOR_LOCALE_DIALOG_H

/*************************************************************************/
/* editor_locale_dialog.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/string/translation.h"
#include "scene/gui/dialogs.h"

Expand Down
4 changes: 1 addition & 3 deletions editor/plugins/baked_lightmap_editor_plugin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef BAKED_LIGHTMAP_EDITOR_PLUGIN_H
#define BAKED_LIGHTMAP_EDITOR_PLUGIN_H

/*************************************************************************/
/* baked_lightmap_editor_plugin.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "editor/editor_node.h"
#include "editor/editor_plugin.h"
#include "scene/3d/baked_lightmap.h"
Expand Down
4 changes: 1 addition & 3 deletions editor/plugins/gi_probe_editor_plugin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef GI_PROBE_EDITOR_PLUGIN_H
#define GI_PROBE_EDITOR_PLUGIN_H

/*************************************************************************/
/* gi_probe_editor_plugin.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "editor/editor_plugin.h"

class ToolBoutton;
Expand Down
4 changes: 1 addition & 3 deletions editor/plugins/gpu_particles_2d_editor_plugin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef PARTICLES_2D_EDITOR_PLUGIN_H
#define PARTICLES_2D_EDITOR_PLUGIN_H

/*************************************************************************/
/* gpu_particles_2d_editor_plugin.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "editor/editor_node.h"
#include "editor/editor_plugin.h"
#include "scene/2d/collision_polygon_2d.h"
Expand Down
4 changes: 1 addition & 3 deletions editor_modules/denoise/denoise_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef DENOISE_WRAPPER_H
#define DENOISE_WRAPPER_H

/*************************************************************************/
/* denoise_wrapper.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




void *oidn_denoiser_init();
bool oidn_denoise(void *device, float *p_floats, int p_width, int p_height);
void oidn_denoiser_finish(void *device);
Expand Down
4 changes: 1 addition & 3 deletions editor_modules/denoise/lightmap_denoiser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef LIGHTMAP_DENOISER_H
#define LIGHTMAP_DENOISER_H

/*************************************************************************/
/* lightmap_denoiser.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/object/class_db.h"
#include "scene/3d/lightmapper.h"

Expand Down
4 changes: 1 addition & 3 deletions editor_modules/denoise/register_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef DENOISE_REGISTER_TYPES_H
#define DENOISE_REGISTER_TYPES_H

/*************************************************************************/
/* register_types.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "modules/register_module_types.h"

void register_denoise_types(ModuleRegistrationLevel p_level);
Expand Down
4 changes: 1 addition & 3 deletions editor_modules/lightmapper_cpu/lightmapper_cpu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef LIGHTMAPPER_CPU_H
#define LIGHTMAPPER_CPU_H

/*************************************************************************/
/* lightmapper_cpu.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/local_vector.h"
#include "scene/3d/lightmapper.h"
#include "scene/resources/mesh/mesh.h"
Expand Down
4 changes: 1 addition & 3 deletions editor_modules/lightmapper_cpu/register_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef LIGHTMAPPER_CPU_REGISTER_TYPES_H
#define LIGHTMAPPER_CPU_REGISTER_TYPES_H

/*************************************************************************/
/* register_types.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "modules/register_module_types.h"

void register_lightmapper_cpu_types(ModuleRegistrationLevel p_level);
Expand Down
4 changes: 1 addition & 3 deletions modules/xatlas_unwrap/register_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef XATLAS_UNWRAP_REGISTER_TYPES_H
#define XATLAS_UNWRAP_REGISTER_TYPES_H

/*************************************************************************/
/* register_types.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "modules/register_module_types.h"

void register_xatlas_unwrap_types(ModuleRegistrationLevel p_level);
Expand Down
4 changes: 1 addition & 3 deletions platform/uwp/export_off/export.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef UWP_EXPORT_H
#define UWP_EXPORT_H

/*************************************************************************/
/* export.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




void register_uwp_exporter();

#endif // UWP_EXPORT_H
4 changes: 1 addition & 3 deletions scene/2d/gpu_particles_2d.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef PARTICLES_2D_H
#define PARTICLES_2D_H

/*************************************************************************/
/* gpu_particles_2d.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/rid.h"
#include "scene/main/node_2d.h"
#include "scene/resources/texture.h"
Expand Down
4 changes: 1 addition & 3 deletions scene/3d/baked_lightmap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef BAKED_LIGHTMAP_H
#define BAKED_LIGHTMAP_H

/*************************************************************************/
/* baked_lightmap.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "core/containers/local_vector.h"
#include "multimesh_instance.h"
#include "scene/3d/light.h"
Expand Down
4 changes: 1 addition & 3 deletions scene/3d/gi_probe.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef GI_PROBE_H
#define GI_PROBE_H

/*************************************************************************/
/* gi_probe.h */
/*************************************************************************/
Expand Down Expand Up @@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/




#include "multimesh_instance.h"
#include "scene/3d/visual_instance.h"

Expand Down
Loading

0 comments on commit f9507dc

Please sign in to comment.