forked from vim-syntastic/syntastic
-
Notifications
You must be signed in to change notification settings - Fork 0
(v3.7.0) C: oclint
LCD 47 edited this page Oct 6, 2015
·
1 revision
Maintainer: "UnCO" Lin [email protected]
OClint is a static code analysis tool. See the official page for details.
- g:syntastic_oclint_config_file (string; default: '.syntastic_oclint_config')
- file containing compilation flags (such as defines or include directories), one option per line
By default you can set oclint
parameters in g:syntastic_c_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_c_oclint_post_args
to an empty string:
let g:syntastic_c_oclint_post_args = ""
Config files pointed to by g:syntastic_oclint_config_file
are then ignored.
[Syntastic Wiki][0] [0]: https://github.com/scrooloose/syntastic/wiki/