Remove size checks from .clang-tidy

These two checks around cognative complexity and function size were put
in this file aspirationally.  To date no repositories have been able to
successfully enable these two checks.  This maintainer has personally
tried and we'd either have to bypass so many functions that the check
became more cumbersome to maintain, or we'd have to raise the limits to
where they were not useful.  While I'm hopeful that these checks could
be enabled in the future, they don't match the reality of where tidy is
at.

As a side note, one thing asio-based repos suffer from is overly large
inline lambdas.  cognative complexity and length checks do not take
those into account when measuring line count, and in some cases seem to
actively disable the checks, so even if we were able to enable these
checks, as implemented in clang they're not useful in a lot of scenarios
today.

To ensure that the content is not lost, these two checks are moved into
documentation (tidy-desired.md) that can track the desire to enable
these checks, even if we're not able to do so today.

Change-Id: Ic86066f21f0c01a4d7b27a02829564f693f8b00b
Signed-off-by: Ed Tanous <etanous@nvidia.com>
2 files changed
tree: 98975f4fdccc3a32bdab56a7ef2158e99bd7648a
  1. architecture/
  2. designs/
  3. development/
  4. logo/
  5. process/
  6. release/
  7. security/
  8. style/
  9. testing/
  10. tof/
  11. userguide/
  12. .markdownlint.yaml
  13. .prettierrc.yaml
  14. anti-patterns.md
  15. cheatsheet.md
  16. code-of-conduct.md
  17. community-membership.md
  18. console.md
  19. CONTRIBUTING.md
  20. cpp-style-and-conventions.md
  21. discord-rules.md
  22. features.md
  23. glossary.md
  24. host-management.md
  25. hw-vendor-repos-policy.md
  26. IPMITOOL-cheatsheet.md
  27. kernel-development.md
  28. LICENSE
  29. maintainer-workflow.md
  30. Makefile
  31. meta-layer-guidelines.md
  32. openbmc-conversion.md
  33. OWNERS
  34. README.md
  35. REDFISH-cheatsheet.md
  36. rest-api.md
  37. REST-cheatsheet.md
  38. SECURITY.md
  39. subtree.md
  40. yocto-development.md
README.md

OpenBMC documentation

The OpenBMC project is a Linux Foundation project whose goal is to produce a customizable, open-source firmware stack for Baseboard Management Controllers (BMCs). This repository contains documentation for OpenBMC as a whole. There may be component-specific documentation in the repository for each component.

The features document lists the project's major features with links to more information.

Contact

OpenBMC Development

These documents contain details on developing OpenBMC code itself

OpenBMC Usage

These documents describe how to use OpenBMC, including using the programmatic interfaces to an OpenBMC system.