[PATCH] D31252: Clang-tidy: add readability-compound-statement-size check.

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 12:39:34 PDT 2017


lebedev.ri added a comment.

Do note that clang-tidy/readability/CompoundStatementSizeCheck.cpp is *very* similar to the clang-tidy/readability/FunctionSizeCheck.cpp
I'm not sure if it makes sense to have such duplication. But i'm also not sure yet how to deduplicate them.
But in the long run, i would like these two checks to be one, and much more configurable.


https://reviews.llvm.org/D31252





More information about the cfe-commits mailing list