0

如何从 cpplint 获得置信度值?

--verbose = 0 对我没有任何作用

谢谢!

4

1 回答 1

0

我正在使用cpplint 1.5.5. 我相信使用它时默认显示置信度值:

输入: cpplint memory_management.h

输出:两者的置信水平均为[5]

memory_management.h:0:  No copyright message found.  You should have a line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]
memory_management.h:0:  No #ifndef header guard found, suggested CPP variable is: _HOME_MEMORY_MANAGEMENT_H_  [build/header_guard] [5]
Done processing memory_management.h
Total errors found: 2
于 2021-10-25T16:06:12.753 回答