<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>oclint custom rule on adolsai's echo</title><link>https://adolsai.com/tag/oclint-custom-rule/</link><description>Recent content in oclint custom rule on adolsai's echo</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 02 Apr 2021 17:02:06 +0800</lastBuildDate><atom:link href="https://adolsai.com/tag/oclint-custom-rule/index.xml" rel="self" type="application/rss+xml"/><item><title>OCLint自定义规则</title><link>https://adolsai.com/archives/oclint-custom-rules.html</link><pubDate>Fri, 02 Apr 2021 17:02:06 +0800</pubDate><guid>https://adolsai.com/archives/oclint-custom-rules.html</guid><description>&lt;h2 id="oclint"&gt;OCLint&lt;/h2&gt;&#10;&lt;p&gt;Clang本身自带AST树遍历，可以实现静态代码检查。&lt;/p&gt;&#10;&lt;p&gt;OCLint是基于Clang tool 的静态代码分析工具，换句话说相当于做了一层针对Objective-C的封装。它的核心能力是对 Clang AST 进行分析，最后输出违反规则的代码信息，并且导出指定格式的报告。&lt;/p&gt;</description></item></channel></rss>