From dd2df5ceb0bfe5db7d6ee2c4865310672d7d9c9c Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Fri, 6 May 2022 14:41:58 +0200 Subject: Fix: Comments in clang-tidy checks list is not allowed Clang-tidy will not parse any options after the comment. --- .clang-tidy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 1cc0e6e7f4a..bbd51291918 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,8 @@ # The warnings below are disabled because they are too pedantic and not worth fixing. # Some of them will be enabled as part of the Clang-Tidy task, see T78535. +# NOTE: No comments in the list below is allowed. Clang-tidy will ignore items after comments in the lists flag list. +# This is because the comment is not a valid list item and it will stop parsing flags if a list item is a comment. Checks: > -*, readability-*, @@ -42,8 +44,6 @@ Checks: > -modernize-use-nodiscard, -modernize-loop-convert, -modernize-pass-by-value, - # Cannot be enabled yet, because using raw string literals in tests breaks - # the windows compiler currently. -modernize-raw-string-literal, -modernize-return-braced-init-list -- cgit v1.2.3