use divided module

This commit is contained in:
ulic-youthlic 2025-04-28 13:58:27 +08:00
parent 0534572646
commit e0a242e12b
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 138 additions and 74 deletions

10
.clangd
View file

@ -1,22 +1,16 @@
CompileFlags:
Add:
- -std=c++26
- -Xclang
- -fno-validate-pch
- -fretain-comments-from-system-headers
Compiler: clang++
Index:
Background: true
Diagnostics:
ClangTidy:
Add:
- modernize-*
- performance-*
- cppcoreguidelines-*
ClangTidyChecks: true
Options:
UseChecks:
- "*"
WarningAsErrors: cppcoreguidelines-*
InlayHints:
Enabled: true
ParameterNames: true
@ -24,5 +18,3 @@ InlayHints:
Designators: true
Completion:
AllScopes: true
SemanticTokens:
Enabled: true