restructure into smaller files & add IWYU/clang-tidy

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
Folling 2023-08-29 14:12:08 +02:00 committed by Folling
parent d33190b204
commit 0a583b6591
No known key found for this signature in database
28 changed files with 845 additions and 556 deletions

View file

@ -81,72 +81,31 @@ FixNamespaceComments: false
IncludeBlocks: Regroup
IncludeCategories:
# Relative Includes
# "blubb.h" / "blubb/blubber.h"
- Regex: '^".+\.(h|hpp)"$'
Priority: 1
# C Includes
# <string.h>
- Regex: '^<[a-z0-9_]+\.h>$'
Priority: 2
# C++ Includes
# <string>
- Regex: '^<[a-z0-9_]+>$'
Priority: 3
# expected
# <expected/ranges.hpp>
- Regex: '^<expected/.*>$'
Priority: 4
# libfmt
# <fmt/core.hpp>
- Regex: '^<fmt/.*>$'
Priority: 5
# nlohmann::json
# <nlohmann/json.hpp>
- Regex: '^<nlohmann/.*>$'
Priority: 6
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<range-v3/.*>$'
Priority: 7
# ICU
# <unicode/ranges.hpp>
- Regex: '^<unicode/.*>$'
- Regex: '^<catch2/.*>$'
Priority: 8
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<cppbase/.*>$'
- Regex: '^<unicode/.*>$'
Priority: 9
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<sqlitecpp/.*>$'
- Regex: '^<cppbase/.*>$'
Priority: 10
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<ikarus/.*>$'
- Regex: '^<sqlitecpp/.*>$'
Priority: 11
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<generated/.*>$'
- Regex: '^<ikarus/.*>$'
Priority: 12
# ranges
# ranges
# <range-v3/ranges.hpp>
- Regex: '^<impl/.*>$'
Priority: 13
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false