From 7036bc4e994688f07425527822947d46d6b41bd6 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Fri, 6 May 2022 12:05:48 +0200 Subject: [PATCH] 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. --- .clang-tidy | 1 - 1 file changed, 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 04eb498e983..f0862810891 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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,