diff --git a/.clang-format b/.clang-format index f25bfbe..54383de 100644 --- a/.clang-format +++ b/.clang-format @@ -36,22 +36,34 @@ DerivePointerAlignment: false FixNamespaceComments: true IncludeBlocks: Regroup IncludeCategories: - - Regex: '^' - Priority: 2 - SortPriority: 0 - CaseSensitive: false - - Regex: '^<.*\.h>' + - Regex: '^".*\.hpp"' Priority: 1 SortPriority: 0 CaseSensitive: false - - Regex: '^<.*' + - Regex: '^".*\.hh"' + Priority: 1 + SortPriority: 1 + CaseSensitive: false + - Regex: '^".*\.h"' Priority: 2 SortPriority: 0 CaseSensitive: false - - Regex: '.*' + - Regex: '^<.*\.hpp>' Priority: 3 SortPriority: 0 CaseSensitive: false + - Regex: '^<.*\.hh>' + Priority: 3 + SortPriority: 1 + CaseSensitive: false + - Regex: '^<.*\.h>' + Priority: 4 + SortPriority: 0 + CaseSensitive: false + - Regex: '^<.*>' + Priority: 5 + SortPriority: 0 + CaseSensitive: false IncludeIsMainRegex: '([-_](test|unittest))?$' IndentCaseLabels: true IndentPPDirectives: BeforeHash diff --git a/engine/src/drivers/linux/wayland/system_driver.h b/engine/src/drivers/linux/wayland/system_driver.h index c49a79c..d228631 100644 --- a/engine/src/drivers/linux/wayland/system_driver.h +++ b/engine/src/drivers/linux/wayland/system_driver.h @@ -9,9 +9,9 @@ #include "drivers/linux/system_driver.h" namespace Nova { -class WaylandSystemDriver final : public LinuxSystemDriver { - public: - WaylandSystemDriver(); - ~WaylandSystemDriver() override; -}; -} // Nova + class WaylandSystemDriver final : public LinuxSystemDriver { + public: + WaylandSystemDriver(); + ~WaylandSystemDriver() override; + }; +} // namespace Nova