[PATCH] D159045: [clang-tidy] Improved documentation for readability-function-size

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 31 09:04:25 PDT 2023


PiotrZSL added a comment.

In D159045#4631650 <https://reviews.llvm.org/D159045#4631650>, @felix642 wrote:

> We can already disable those options if we don't define them in the config. Adding the possibility to provide optional values seems redundant to me. Do you see any reason why we would absolutely need to add this option to the config if we want to disable it?

a) If you use config file inheritance, when one config file define it, and other that inherit it (or command line) want to disable such option.
b) When we use --dump-config then it will be printed anyway.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159045/new/

https://reviews.llvm.org/D159045



More information about the cfe-commits mailing list