Checks:
'-*,
  clang-analyzer-*,
  -clang-analyzer-optin.core.EnumCastOutOfRange,
  cert-*,
  modernize-*,
  -modernize-avoid-c-arrays,
  -modernize-use-trailing-return-type,
  -modernize-macro-to-enum,
  -modernize-use-designated-initializers,
  -modernize-use-constraints,
  -modernize-use-ranges,
  -modernize-loop-convert,
  -modernize-use-starts-ends-with,
  performance-*,
  -performance-avoid-endl,
  -performance-enum-size,
  -performance-inefficient-string-concatenation,
'
WarningsAsErrors:  '*'
HeaderFilterRegex: '.*'
ExcludeHeaderFilterRegex: 'include/lmdb.h|include/python*/*|Grammar.h|dbus/*'
UseColor: true
FormatStyle: 'file'
CheckOptions:
  modernize-use-nullptr.NullMacros: 'NULL'
  # std::exception_ptr is a cheap to copy, pointer-like type; we pass it by value all the time.
  performance-unnecessary-value-param.AllowedTypes: 'exception_ptr$;'
