mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +00:00
Meta: Disable the misc-no-recursion check in clang-tidy
We use recursive algorithms all over the place, and this check makes it hard to read those algorithms in CLion, since it draws squiggles under everything.
This commit is contained in:
parent
8b177a6da5
commit
7d6bab2256
Notes:
sideshowbarker
2024-07-16 23:08:48 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7d6bab2256
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
# cert-dcl37-c: Alias for bugprone-reserved-identifier
|
||||
# cert-dcl51-cpp: Alias for bugprone-reserved-identifier
|
||||
# cert-dcl21-cpp: No reference to this rule exists on Carnegie Mellon's SEI CERT C++ Confluence. And the suggestion is unusual
|
||||
# misc-no-recursion: The project uses recursive algorithms in several places.
|
||||
# FIXME: misc-non-private-member-variables-in-classes: Audit uses of protected member variables to see if they really need to be protected
|
||||
# performance-noexcept-move-constructor: The project does not use exceptions, so there are no such optimizations available
|
||||
# performance-no-int-to-ptr: This rule flags every pointer to integer cast, which gets quite noisy. Should only be enabled on a case-by-case basis
|
||||
|
@ -29,6 +30,7 @@ Checks: >
|
|||
-bugprone-macro-parentheses,
|
||||
-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp,
|
||||
-cert-dcl21-cpp,
|
||||
-misc-no-recursion,
|
||||
-misc-non-private-member-variables-in-classes,
|
||||
-performance-noexcept-move-constructor,
|
||||
-performance-no-int-to-ptr,
|
||||
|
|
Loading…
Reference in a new issue