diff --git a/.clang-format b/.clang-format index 437dc09..4ce967e 100644 --- a/.clang-format +++ b/.clang-format @@ -121,19 +121,49 @@ SpaceInEmptyBlock: true PenaltyBreakAssignment: 200 KeepEmptyLinesAtTheStartOfBlocks: false IncludeCategories: - - Regex: '^$' + Priority: 16 + - Regex: '^$' + Priority: 17 + - Regex: '^$' + Priority: 18 + - Regex: '^$' + Priority: 19 + - Regex: '^$' + Priority: 20 + - Regex: '^$' + Priority: 21 + - Regex: '^$' + Priority: 22 + - Regex: '^$' + Priority: 23 + - Regex: '^$' + Priority: 24 + - Regex: '^$' + Priority: 25 + - Regex: '^$' + Priority: 26 + - Regex: '^$' + Priority: 27 + - Regex: '^$' + Priority: 28 + - Regex: '^$' + Priority: 29 + - Regex: '^$' + Priority: 30 - Regex: '^' - Priority: 16 + Priority: 31 - Regex: '^<[a-zA-Z0-9_/]+\.hpp>' - Priority: 16 + Priority: 31 - Regex: '^<[a-zA-Z0-9_/]+>' - Priority: 17 + Priority: 32 MainIncludeChar: AngleBracket Macros: - 'BIGFOOT_OPTIMIZED_ONLY(x)=x' diff --git a/Bigfoot/Benchmarks/Engine/BigFile/BigFile.cpp b/Bigfoot/Benchmarks/Engine/BigFile/BigFile.cpp index db46a6f..bac9c56 100644 --- a/Bigfoot/Benchmarks/Engine/BigFile/BigFile.cpp +++ b/Bigfoot/Benchmarks/Engine/BigFile/BigFile.cpp @@ -9,11 +9,11 @@ #include #include -#include - #include #include +#include + #include #include #include diff --git a/Bigfoot/Benchmarks/Engine/Sasquatch/Sasquatch.cpp b/Bigfoot/Benchmarks/Engine/Sasquatch/Sasquatch.cpp index ec5be5e..feba45d 100644 --- a/Bigfoot/Benchmarks/Engine/Sasquatch/Sasquatch.cpp +++ b/Bigfoot/Benchmarks/Engine/Sasquatch/Sasquatch.cpp @@ -9,11 +9,11 @@ #include #include -#include - #include #include +#include + #include #include #include diff --git a/Bigfoot/Libs/Engine/Include/Engine/Asset/Asset.hpp b/Bigfoot/Libs/Engine/Include/Engine/Asset/Asset.hpp index 44c0161..861ae64 100644 --- a/Bigfoot/Libs/Engine/Include/Engine/Asset/Asset.hpp +++ b/Bigfoot/Libs/Engine/Include/Engine/Asset/Asset.hpp @@ -10,9 +10,10 @@ #include #include #include -#include #include +#include + #include #include #include diff --git a/Bigfoot/Libs/Engine/Include/Engine/Asset/AssetBase.hpp b/Bigfoot/Libs/Engine/Include/Engine/Asset/AssetBase.hpp index 661bb86..4cb4096 100644 --- a/Bigfoot/Libs/Engine/Include/Engine/Asset/AssetBase.hpp +++ b/Bigfoot/Libs/Engine/Include/Engine/Asset/AssetBase.hpp @@ -6,10 +6,10 @@ *********************************************************************/ #ifndef BIGFOOT_ENGINE_ASSET_ASSETBASE_HPP #define BIGFOOT_ENGINE_ASSET_ASSETBASE_HPP -#include - #include +#include + #include #include #include diff --git a/Bigfoot/Libs/Engine/Include/Engine/EngineAssertHandler.hpp b/Bigfoot/Libs/Engine/Include/Engine/EngineAssertHandler.hpp index f16a3a3..bba716e 100644 --- a/Bigfoot/Libs/Engine/Include/Engine/EngineAssertHandler.hpp +++ b/Bigfoot/Libs/Engine/Include/Engine/EngineAssertHandler.hpp @@ -6,10 +6,10 @@ *********************************************************************/ #ifndef BIGFOOT_ENGINE_ENGINEASSERTHANDLER_HPP #define BIGFOOT_ENGINE_ENGINEASSERTHANDLER_HPP -#include - #include +#include + #ifdef BIGFOOT_NOT_OPTIMIZED namespace Bigfoot diff --git a/Bigfoot/Libs/System/Include/System/SystemAssertHandler.hpp b/Bigfoot/Libs/System/Include/System/SystemAssertHandler.hpp index d10732d..f2711e5 100644 --- a/Bigfoot/Libs/System/Include/System/SystemAssertHandler.hpp +++ b/Bigfoot/Libs/System/Include/System/SystemAssertHandler.hpp @@ -6,10 +6,10 @@ *********************************************************************/ #ifndef BIGFOOT_SYSTEM_SYSTEMASSERTHANDLER_HPP #define BIGFOOT_SYSTEM_SYSTEMASSERTHANDLER_HPP -#include - #include +#include + #ifdef BIGFOOT_NOT_OPTIMIZED namespace Bigfoot diff --git a/Bigfoot/Libs/System/Include/System/UUID/FlatUUID.hpp b/Bigfoot/Libs/System/Include/System/UUID/FlatUUID.hpp index 7635d32..b2fa9c8 100644 --- a/Bigfoot/Libs/System/Include/System/UUID/FlatUUID.hpp +++ b/Bigfoot/Libs/System/Include/System/UUID/FlatUUID.hpp @@ -7,6 +7,7 @@ #ifndef BIGFOOT_SYSTEM_FLATUUID_HPP #define BIGFOOT_SYSTEM_FLATUUID_HPP #include + #include namespace flatbuffers diff --git a/Bigfoot/Libs/System/Time/Time.cpp b/Bigfoot/Libs/System/Time/Time.cpp index a04c40a..366f2d4 100644 --- a/Bigfoot/Libs/System/Time/Time.cpp +++ b/Bigfoot/Libs/System/Time/Time.cpp @@ -7,6 +7,7 @@ #include #include + #include namespace diff --git a/Bigfoot/Libs/Utils/Include/Utils/UtilsAssertHandler.hpp b/Bigfoot/Libs/Utils/Include/Utils/UtilsAssertHandler.hpp index 05825f4..d3fad67 100644 --- a/Bigfoot/Libs/Utils/Include/Utils/UtilsAssertHandler.hpp +++ b/Bigfoot/Libs/Utils/Include/Utils/UtilsAssertHandler.hpp @@ -7,6 +7,7 @@ #ifndef BIGFOOT_UTILS_UTILSASSERTHANDLER_HPP #define BIGFOOT_UTILS_UTILSASSERTHANDLER_HPP #include + #include #ifdef BIGFOOT_NOT_OPTIMIZED diff --git a/Bigfoot/Tests/Engine/BigFile/BigFile.cpp b/Bigfoot/Tests/Engine/BigFile/BigFile.cpp index c23362d..2080042 100644 --- a/Bigfoot/Tests/Engine/BigFile/BigFile.cpp +++ b/Bigfoot/Tests/Engine/BigFile/BigFile.cpp @@ -8,12 +8,12 @@ #include -#include - #include #include #include +#include + #include #include #include diff --git a/Bigfoot/Tests/Engine/Sasquatch/Sasquatch.cpp b/Bigfoot/Tests/Engine/Sasquatch/Sasquatch.cpp index 23d0bb9..9ce355e 100644 --- a/Bigfoot/Tests/Engine/Sasquatch/Sasquatch.cpp +++ b/Bigfoot/Tests/Engine/Sasquatch/Sasquatch.cpp @@ -8,11 +8,11 @@ #include -#include - #include #include +#include + #include #include diff --git a/Bigfoot/Tests/System/UUID/UUID.cpp b/Bigfoot/Tests/System/UUID/UUID.cpp index c5fbd17..fc4e4b6 100644 --- a/Bigfoot/Tests/System/UUID/UUID.cpp +++ b/Bigfoot/Tests/System/UUID/UUID.cpp @@ -6,10 +6,10 @@ *********************************************************************/ #include -#include - #include +#include + #include #include #include