1--- 2Checks: > 3 bugprone-argument-comment, 4 bugprone-assert-side-effect, 5 bugprone-bool-pointer-implicit-conversion, 6 bugprone-dangling-handle, 7 bugprone-fold-init-type, 8 bugprone-forward-declaration-namespace, 9 bugprone-inaccurate-erase, 10 bugprone-macro-repeated-side-effects, 11 bugprone-move-forwarding-reference, 12 bugprone-multiple-statement-macro, 13 bugprone-string-constructor, 14 bugprone-suspicious-memset-usage, 15 bugprone-swapped-arguments, 16 bugprone-undefined-memory-manipulation, 17 bugprone-undelegated-constructor, 18 bugprone-unused-raii, 19 bugprone-use-after-move, 20 clang-diagnostic-*, 21 -clang-analyzer-*, 22 darwin-avoid-spinlock, 23 google-build-explicit-make-pair, 24 google-build-namespaces, 25 google-default-arguments, 26 google-global-names-in-headers, 27 google-readability-function-size, 28 google-readability-namespace-comments, 29 google-runtime-operator, 30 misc-static-assert, 31 misc-unconventional-assign-operator, 32 misc-unused-using-decls, 33 modernize-avoid-bind, 34 modernize-deprecated-ios-base-aliases, 35 modernize-make-shared, 36 modernize-make-unique, 37 modernize-replace-auto-ptr, 38 modernize-replace-disallow-copy-and-assign-macro, 39 modernize-replace-random-shuffle, 40 modernize-shrink-to-fit, 41 modernize-use-bool-literals, 42 modernize-use-equals-delete, 43 modernize-use-noexcept, 44 modernize-use-nullptr, 45 modernize-use-transparent-functors, 46 modernize-use-uncaught-exceptions, 47 performance-faster-string-find, 48 performance-for-range-copy, 49 performance-implicit-conversion-in-loop, 50 performance-inefficient-algorithm, 51 performance-inefficient-vector-operation, 52 performance-move-constructor-init, 53 readability-container-size-empty, 54 readability-inconsistent-declaration-parameter-name, 55 readability-misleading-indentation, 56 readability-redundant-control-flow, 57 readability-redundant-smartptr-get, 58 readability-string-compare, 59WarningsAsErrors: > 60 *, 61 -clang-diagnostic-unused-command-line-argument 62HeaderFilterRegex: '.*' 63... 64 65# Disabled checks: 66# 67# clang-analyzer-*: 68# 69# performance-* 70# bugprone-* 71# cert-* 72# misc-* 73# readability-* 74# 75# Checks marked with @ should be reenabled first 76# (the effort is minimal). 77# 78# modernize-avoid-c-arrays: 79# @ modernize-concat-nested-namespaces: 80# Note: added in c++17 81# modernize-deprecated-headers: 82# Advises to use <cheader> instead of <header.h> for 83# legacy headers 84# modernize-loop-convert: 85# @ modernize-pass-by-value: 86# @ modernize-raw-string-literal: 87# Note: added in c++11 88# @ modernize-redundant-void-arg: 89# modernize-return-braced-init-list: 90# @ modernize-unary-static-assert: 91# Note: added in c++17 92# The message argument can be omitted when it is empty 93# @ modernize-use-auto: 94# Advises to use auto when initializing with a cast to 95# avoid duplicating the type name 96# modernize-use-default-member-init: 97# Note: added in c++11 98# Advises to use a default initializer in 99# member declarations 100# @ modernize-use-emplace: 101# @ modernize-use-equals-default: 102# Note: added in c++11 103# Advises to use '= default' for empty constructors or 104# destructors '{}' 105# modernize-use-nodiscard: 106# Note: added in c++17 107# @ modernize-use-override: 108# modernize-use-trailing-return-type: 109# Note: added in c++11 110# Used to delay the writing of the return type 111# to after the function parameters; does not make 112# sense to generalise its use. 113# modernize-use-using: 114# Note: added in c++11 115# Advises to use 'using' instead of 'typedef' 116