Checks: >
-*,
readability-braces-around-statements,
google-runtime-int,
readability-identifier-naming,
readability-simplify-boolean-expr,
readability-else-after-return,
readability-avoid-nested-conditional-operator,
bugprone-sizeof-expression,
bugprone-unused-raii,
performance-no-int-to-ptr,
cert-err33-c,
clang-analyzer-core,
clang-analyzer-security,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-security.insecureAPI.gets
CheckOptions:
- { key: "google-runtime-int.UnsignedTypePrefix", value: "u" }
- { key: "google-runtime-int.SignedTypePrefix", value: "i" }
- { key: "readability-identifier-naming.VariableCase", value: "lower_case" }
- { key: "readability-identifier-naming.FunctionCase", value: "lower_case" }
- {
key: "readability-identifier-naming.GlobalVariableCase",
value: "UPPER_CASE",
}
- { key: "readability-identifier-naming.MacroCase", value: "UPPER_CASE" }
- { key: "readability-identifier-naming.EnumCase", value: "CamelCase" }
- { key: "readability-identifier-naming.StructCase", value: "CamelCase" }
- { key: "readability-identifier-naming.TypedefCase", value: "lower_case" }
WarningsAsErrors: "*"
HeaderFilterRegex: ".*/src/.*"