Update .clang-format fixing include order
This commit is contained in:
@@ -36,22 +36,34 @@ DerivePointerAlignment: false
|
|||||||
FixNamespaceComments: true
|
FixNamespaceComments: true
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^<ext/.*\.h>'
|
- Regex: '^".*\.hpp"'
|
||||||
Priority: 2
|
|
||||||
SortPriority: 0
|
|
||||||
CaseSensitive: false
|
|
||||||
- Regex: '^<.*\.h>'
|
|
||||||
Priority: 1
|
Priority: 1
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
CaseSensitive: false
|
CaseSensitive: false
|
||||||
- Regex: '^<.*'
|
- Regex: '^".*\.hh"'
|
||||||
|
Priority: 1
|
||||||
|
SortPriority: 1
|
||||||
|
CaseSensitive: false
|
||||||
|
- Regex: '^".*\.h"'
|
||||||
Priority: 2
|
Priority: 2
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
CaseSensitive: false
|
CaseSensitive: false
|
||||||
- Regex: '.*'
|
- Regex: '^<.*\.hpp>'
|
||||||
Priority: 3
|
Priority: 3
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
CaseSensitive: false
|
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))?$'
|
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
IndentPPDirectives: BeforeHash
|
IndentPPDirectives: BeforeHash
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
#include "drivers/linux/system_driver.h"
|
#include "drivers/linux/system_driver.h"
|
||||||
|
|
||||||
namespace Nova {
|
namespace Nova {
|
||||||
class WaylandSystemDriver final : public LinuxSystemDriver {
|
class WaylandSystemDriver final : public LinuxSystemDriver {
|
||||||
public:
|
public:
|
||||||
WaylandSystemDriver();
|
WaylandSystemDriver();
|
||||||
~WaylandSystemDriver() override;
|
~WaylandSystemDriver() override;
|
||||||
};
|
};
|
||||||
} // Nova
|
} // namespace Nova
|
||||||
|
|||||||
Reference in New Issue
Block a user