2017-03-28 18:25:44 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE C++ Integration *ale-cpp-options*
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
clang *ale-cpp-clang*
|
|
|
|
|
|
|
|
g:ale_cpp_clang_options *g:ale_cpp_clang_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_cpp_clang_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `'-std=c++14 -Wall'`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to clang.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
clangtidy *ale-cpp-clangtidy*
|
|
|
|
|
2017-05-02 17:44:08 -04:00
|
|
|
`clang-tidy` will be run only when files are saved to disk, so that
|
|
|
|
`compile_commands.json` files can be used. It is recommended to use this
|
|
|
|
linter in combination with `compile_commands.json` files.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_cpp_clangtidy_checks *g:ale_cpp_clangtidy_checks*
|
|
|
|
*b:ale_cpp_clangtidy_checks*
|
|
|
|
Type: |List|
|
|
|
|
Default: `['*']`
|
|
|
|
|
|
|
|
The checks to enable for clang-tidy with the `-checks` argument.
|
|
|
|
|
|
|
|
All options will be joined with commas, and escaped appropriately for
|
|
|
|
the shell. The `-checks` flag can be removed entirely by setting this
|
|
|
|
option to an empty List.
|
|
|
|
|
|
|
|
|
2017-03-28 18:25:44 -04:00
|
|
|
g:ale_cpp_clangtidy_options *g:ale_cpp_clangtidy_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_cpp_clangtidy_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
2017-05-02 17:44:08 -04:00
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to clang-tidy.
|
2017-03-28 18:25:44 -04:00
|
|
|
|
2017-05-02 17:44:08 -04:00
|
|
|
Setting this variable to a non-empty string will cause the `--` argument
|
|
|
|
to be passed to `clang-tidy`, which will mean that detection of
|
|
|
|
`compile_commands.json` files for compile command databases will be
|
|
|
|
disabled. Only set this option if you want to control compiler flags
|
|
|
|
entirely manually.
|
2017-03-28 18:25:44 -04:00
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
cppcheck *ale-cpp-cppcheck*
|
|
|
|
|
|
|
|
g:ale_cpp_cppcheck_options *g:ale_cpp_cppcheck_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_cpp_cppcheck_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `'--enable=style'`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to cppcheck.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
gcc *ale-cpp-gcc*
|
|
|
|
|
|
|
|
g:ale_cpp_gcc_options *g:ale_cpp_gcc_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_cpp_gcc_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `'-std=c++14 -Wall'`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to gcc.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|