Enable clang-tidy modernize-unary-static-assert

Official docs:

  The check diagnoses any static_assert declaration with an empty string
  literal and provides a fix-it to replace the declaration with a
  single-argument static_assert declaration.
This commit is contained in:
Robert Schulze 2022-05-06 12:05:48 +02:00
parent 7d1ac7fa7f
commit 7036bc4e99
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -100,7 +100,6 @@ Checks: '*,
-modernize-replace-auto-ptr,
-modernize-replace-disallow-copy-and-assign-macro,
-modernize-return-braced-init-list,
-modernize-unary-static-assert,
-modernize-use-auto,
-modernize-use-default-member-init,
-modernize-use-emplace,