diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-06-24 11:33:31 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-06-24 16:16:38 +0200 |
commit | 6090ba03c031f7126f0acd5bd89fb895b73eb50f (patch) | |
tree | 91af24e14d02574c50699f6f0869bcc50ca350cc | |
parent | 9a4c2d306c1981df3684bd0a3bb42a53dd9ce7ed (diff) | |
download | justbuild-6090ba03c031f7126f0acd5bd89fb895b73eb50f.tar.gz |
clang-tidy config: Add additional comment
...for skipped individual check.
-rw-r--r-- | .clang-tidy | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy index a8040be0..bf138c62 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,19 +1,19 @@ # Here is an explanation for why some of the checks are disabled: -# bugprone-easily-swappable-parameters: This check would require significant +# bugprone-easily-swappable-parameters: This check would require significant # refactoring effort. -# bugprone-unchecked-optional-access: Too many false positives. For example, +# bugprone-unchecked-optional-access: Too many false positives. For example, # an explicit comparison with std::nullopt isn't considered a check. -# cppcoreguidelines-avoid-const-or-ref-data-members: We believe, ref data +# cppcoreguidelines-avoid-const-or-ref-data-members: We believe, ref data # members are a good way to express ownership, and const data members improve # readability. # cppcoreguidelines-rvalue-reference-param-not-moved: Too many false positives, # especially with partial moves from STL containers. -# misc-const-correctness: Too many false positives, especially with STL +# misc-const-correctness: Too many false positives, especially with STL # containers. # misc-include-cleaner: There is no way for symbol mapping. For example, this @@ -32,6 +32,9 @@ # performance-avoid-endl: There are too many legitimate uses of std::endl for # us. +# readability-function-cognitive-complexity: This check would get triggered by +# most uses of the catch2 test library. + # readability-identifier-length: We would like to enable this check, but it # would require significant refactoring effort. |