LLVM/Clang Static Analyzer

The LLVM/Clang static analyzer is a standalone tool that find bugs in C and Objective-C programs. Currently the analyzer is invoked as a command-line tool. It is intended to run in tandem with a build of a project or code base.

Here are some important points we ask you to consider when using the static analyzer:

If you encounter a false positive, please let us know about it by filing a bug report. False positives cannot be addressed unless we know about them.

Further, if there are specific kinds of bugs you would like the tool to find, please feel free to file feature requests.

Using the Analyzer