Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

C++: oclint

LCD 47 edited this page Aug 19, 2014 · 11 revisions

Maintainer: "UnCO" Lin [email protected]

OClint is a static code analysis tool. See the official page for details.

Checker options:

g:syntastic_oclint_config_file (string; default: '.syntastic_oclint_config')
file containing project-specific options to be passed to oclint (such as defines or include directories), one option per line

Notes:

By default, you can set oclint parameters in g:syntastic_cpp_oclint_args, and compilation parameters (defines, optimisation flags, etc.) in the config file.

If you want oclint to use Clang-style compilation databases (perhaps generated by CMake or Build EAR), rather than pass compilation flags explicitly, set g:syntastic_cpp_oclint_post_args to a space:

let g:syntastic_cpp_oclint_post_args = ' '

Config files pointed to by g:syntastic_oclint_config_file are then ignored.

Clone this wiki locally