Can you please help me with how to check CPP files in a project for functions exceeding 'n' number of lines using Clang-Tidy?
Can you please help me with how to check CPP files in a project for functions exceeding 'n' number of lines using Clang-Tidy?
You can use the
readability-function-size
check and set theLineThreshold
parameter to yourn
value.