#711 - Make the clang executables configurable

This commit is contained in:
w0rp
2017-07-16 21:37:10 +01:00
parent bd5ff5b1e5
commit 54ff573174
7 changed files with 134 additions and 28 deletions

View File

@@ -5,12 +5,20 @@ ALE C Integration *ale-c-options*
===============================================================================
clang *ale-c-clang*
g:ale_c_clang_executable *g:ale_c_clang_executable*
*b:ale_c_clang_executable*
Type: |String|
Default: `'clang'`
This variable can be changed to use a different executable for clang.
g:ale_c_clang_options *g:ale_c_clang_options*
*b:ale_c_clang_options*
Type: |String|
Default: `'-std=c11 -Wall'`
This variable can be change to modify flags given to clang.
This variable can be changed to modify flags given to clang.
===============================================================================

View File

@@ -36,6 +36,14 @@ g:ale_c_build_dir *g:ale_c_build_dir*
===============================================================================
clang *ale-cpp-clang*
g:ale_cpp_clang_executable *g:ale_cpp_clang_executable*
*b:ale_cpp_clang_executable*
Type: |String|
Default: `'clang++'`
This variable can be changed to use a different executable for clang.
g:ale_cpp_clang_options *g:ale_cpp_clang_options*
*b:ale_cpp_clang_options*
Type: |String|
@@ -45,7 +53,7 @@ g:ale_cpp_clang_options *g:ale_cpp_clang_options*
===============================================================================
clangcheck *ale-cpp-clangcheck*
clangcheck *ale-cpp-clangcheck*
`clang-check` 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
@@ -55,8 +63,8 @@ Therefore, `clang-check` linter reads the options |g:ale_c_build_dir| and
overrides |g:ale_c_build_dir_names|.
g:ale_cpp_clangcheck_options *g:ale_cpp_clangcheck_options*
*b:ale_cpp_clangcheck_options*
g:ale_cpp_clangcheck_options *g:ale_cpp_clangcheck_options*
*b:ale_cpp_clangcheck_options*
Type: |String|
Default: `''`