您能告诉我如何使用Clang-Tidy检查项目中超过'n‘行数的函数的CPP文件吗?
发布于 2020-10-02 04:12:26
您可以使用readability-function-size检查并将LineThreshold参数设置为您的n值。
readability-function-size
LineThreshold
n
https://stackoverflow.com/questions/64151864
相似问题