Imported Upstream version 1.33.1
[platform/upstream/grpc.git] / .clang-tidy
index 4d5509f..d217441 100644 (file)
@@ -1,48 +1,6 @@
 ---
-Checks: '-*,
-  abseil-*,
-  bugprone-*,
-  -bugprone-integer-division,
-  -bugprone-narrowing-conversions,
-  -bugprone-too-small-loop-variable,
-  performance-*,
-  -performance-unnecessary-copy-initialization,
-  -performance-unnecessary-value-param,
-  google-*,
-  -google-build-using-namespace,
-  -google-default-arguments,
-  -google-explicit-constructor,
-  -google-global-names-in-headers,
-  -google-readability-braces-around-statements,
-  -google-readability-casting,
-  -google-readability-todo,
-  -google-runtime-int,
-  -google-runtime-references,
-  -misc-definitions-in-headers,
-  misc-static-assert,
-  misc-unconventional-assign-operator,
-  misc-uniqueptr-reset-release,
-  misc-unused-alias-decls,
-  -misc-unused-using-decls,
-  modernize-make-unique,
-  -modernize-redundant-void-arg,
-  modernize-replace-auto-ptr,
-  modernize-shrink-to-fit,
-  modernize-use-bool-literals,
-  modernize-use-nullptr,
-  modernize-use-override,
-  readability-container-size-empty,
-  readability-deleted-default,
-  readability-function-size,
-  -readability-inconsistent-declaration-parameter-name,
-  -readability-redundant-control-flow,
-  readability-redundant-smartptr-get,
-  -readability-string-compare'
-WarningsAsErrors: '*'
+Checks: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size,performance-*,bugprone-*'
+WarningsAsErrors: 'modernize-use-nullptr,google-build-namespaces,google-build-explicit-make-pair,readability-function-size,performance-*,bugprone-*'
 CheckOptions:
   - key:    readability-function-size.StatementThreshold
     value:  '450'
-  - key:    modernize-make-unique.MakeSmartPtrFunction
-    value:  'absl::make_unique'
-  - key:    modernize-make-unique.MakeSmartPtrFunctionHeader
-    value:  'absl/memory/memory.h'