add Chapter13
This commit is contained in:
27
Chapter13/uart_c_hal_wrapper/.clang-tidy
Normal file
27
Chapter13/uart_c_hal_wrapper/.clang-tidy
Normal file
@@ -0,0 +1,27 @@
|
||||
Checks: >
|
||||
-*,
|
||||
bugprone-*,
|
||||
misc-*,
|
||||
clang-analyzer-*,
|
||||
modernize-*,
|
||||
-modernize-use-trailing-return-type,
|
||||
performance-*,
|
||||
-performance-no-int-to-ptr,
|
||||
portability-*,
|
||||
readability-*,
|
||||
-readability-identifier-length
|
||||
readability-identifier-naming
|
||||
|
||||
CheckOptions:
|
||||
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.ClassCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.MethodCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
|
||||
- { key: readability-identifier-naming.ConstexprVariablePrefix, value: c_ }
|
||||
|
||||
ExtraArgs:
|
||||
- -std=c++20
|
||||
Reference in New Issue
Block a user