是否列出了所有编译器规则(不是OCLint rules)oclint
使用已启用选项-enable-clang-static-analyzer
生成的规则?
我正在寻找的是例如下面xml片段中的rule="clang static analyzer"
或rule="compiler warning"
。
<violation begincolumn="1" endcolumn="0" beginline="27" endline="0" priority="2" rule="clang static analyzer" ruleset="clang" >
Potential leak of memory pointed to by 'xxx'
</violation>
</file>
<violation begincolumn="11" endcolumn="0" beginline="26" endline="0" priority="2" rule="compiler warning" ruleset="clang" >
unused variable 'xxx'
</violation>
</file>