Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2022-05-06 15:41:58 +0300
committerSebastian Parborg <darkdefende@gmail.com>2022-05-06 16:26:54 +0300
commitdd2df5ceb0bfe5db7d6ee2c4865310672d7d9c9c (patch)
tree5595b13547c5fa28bc7fdf431abb46fe424c6c22 /.clang-tidy
parent2ba081f59bc62f1fc7f59a6391c001c5a9281c53 (diff)
Fix: Comments in clang-tidy checks list is not allowed
Clang-tidy will not parse any options after the comment.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy4
1 files 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