init cpp repo

This commit is contained in:
ulic-youthlic 2025-04-16 13:09:54 +08:00
commit 88b32bd3f0
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
8 changed files with 273 additions and 0 deletions

28
.clangd Normal file
View file

@ -0,0 +1,28 @@
CompileFlags:
Add:
- -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
DeducedTypes: true
Designators: true
Completion:
AllScopes: true
SemanticTokens:
Enabled: true