diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 17:22:50 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 17:23:17 +0300 |
commit | 6414da03817c48393d341be088616d754465a44b (patch) | |
tree | a51e9ae46b3d927540acad16093ad46a329e03ed /.clang-tidy | |
parent | 2a0bc4d23ee2b5a782ce0d5c367619ab29ef7ae2 (diff) |
Cleanup: enable and silence Clang-Tidy readability-function-size
Enable Clang-Tidy's `readability-function-size` rule and add a few
`NOLINT` markers to explicitly silence warnings for three functions.
These functions are huge and would IMO benefit from splitting up, but
are hard to without intimate knowledge of the code.
At least by enabling the rule, we can start tweaking the values and
refactoring other functions that bubble up as being too long/complex.
No functional changes.
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index 63be71502b7..acf2ae086f6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -14,8 +14,6 @@ Checks: > -readability-inconsistent-declaration-parameter-name, -readability-redundant-preprocessor, - -readability-function-size, - -readability-function-size, -readability-redundant-member-init, -readability-const-return-type, -readability-static-accessed-through-instance, |