]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Disable some clang-tidy checks that don’t contribute much
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 27 Mar 2022 10:57:24 +0000 (12:57 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 27 Mar 2022 10:58:05 +0000 (12:58 +0200)
src/third_party/.clang-tidy
unittest/.clang-tidy

index d2f78e17f049d835b339904eee878988959cfcea..f29196582c0cc9b5fed314520020c12b34e72299 100644 (file)
@@ -2,8 +2,7 @@
 # config file... So just pick a fast check that will never fail.
 ---
 Checks:          '-*,readability-function-size'
-CheckOptions:    
+CheckOptions:
   - key:             readability-function-size.LineThreshold
     value:           99999999
 ...
-
index d311fb572201e43c33ed0b6174c7054810d9fb1e..06d78c32924f61bf27c6b1bd6dedec1c7ba32cb5 100644 (file)
@@ -8,11 +8,9 @@ CheckOptions:
   - key:             readability-braces-around-statements.ShortStatementLines
     value:           0
 
-  # If you hit the limits, please change the code and not the limits!!
-  # Note: some limits "disabled" due to TEST_SUITE macro.
-  # The macro generates hundreds of statements, branches and variables.
+  # If you hit a limit, please consider changing the code instead of the limit.
   - key:             readability-function-size.LineThreshold
-    value:           130
+    value:           999999
   - key:             readability-function-size.StatementThreshold
     value:           999999
   - key:             readability-function-size.ParameterThreshold