.clang-tidy (1460B)
1 # A YAML format of https://clang.llvm.org/extra/clang-tidy/. 2 3 # Prefix check with "-" to ignore. 4 Checks: >- 5 bugprone-argument-comment, 6 bugprone-use-after-move, 7 bugprone-unchecked-optional-access, 8 clang-analyzer-*, 9 clang-diagnostic-*, 10 darwin-*, 11 google-*, 12 modernize-use-default-member-init, 13 readability-identifier-naming, 14 -google-build-using-namespace, 15 -google-default-arguments, 16 -google-objc-function-naming, 17 -google-readability-casting, 18 -clang-analyzer-nullability.NullPassedToNonnull, 19 -clang-analyzer-nullability.NullablePassedToNonnull, 20 -clang-analyzer-nullability.NullReturnedFromNonnull, 21 -clang-analyzer-nullability.NullableReturnedFromNonnull, 22 performance-for-range-copy, 23 performance-inefficient-vector-operation, 24 performance-move-const-arg, 25 performance-move-constructor-init, 26 performance-unnecessary-copy-initialization, 27 performance-unnecessary-value-param 28 29 CheckOptions: 30 - key: modernize-use-default-member-init.UseAssignment 31 value: true 32 - key: readability-identifier-naming.EnumConstantCase 33 value: "CamelCase" 34 - key: readability-identifier-naming.EnumConstantPrefix 35 value: "k" 36 - key: readability-identifier-naming.GlobalConstantCase 37 value: "CamelCase" 38 - key: readability-identifier-naming.GlobalConstantPrefix 39 value: "k" 40 - key: readability-identifier-naming.PrivateMemberCase 41 value: "lower_case" 42 - key: readability-identifier-naming.PrivateMemberSuffix 43 value: "_"