web-stack-project/.clangd
2023-01-17 01:21:19 +01:00

46 lines
1.9 KiB
Plaintext

CompileFlags:
CompilationDatabase: ./builddir
Diagnostics:
ClangTidy:
Add:
- bugprone-*
- clang-analyzer-*
- cppcoreguidelines-*
- modernize-*
- readability-*
Remove:
- readability-braces-around-statements
- cppcoreguidelines-avoid-magic-numbers
- readability-magic-numbers
- readability-identifier-length
- bugprone-easily-swappable-parameters
- readability-convert-member-functions-to-static
- bugprone-exception-escape
- modernize-use-nodiscard
- readability-else-after-return
CheckOptions:
UnusedIncludes: Strict
cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor: true
# typecase rules
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ConstantCase: lower_case
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.EnumConstantCase: CamelCase
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.InlineNamespaceCase: lower_case
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.MethodCase: lower_case
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ScopedEnumConstantCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateParameterCase: CamelCase
readability-identifier-naming.TemplateTemplateParameterCase: CamelCase
readability-identifier-naming.TypeAliasCase: CamelCase
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.UnionCase: CamelCase
readability-identifier-naming.ValueTemplateParameterCase: lower_case
readability-identifier-naming.VariableCase: lower_case