summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJonathan Vander Mey <jvandermey@evertz.com>2019-06-08 15:12:43 -0400
committerJonathan Vander Mey <jvandermey@evertz.com>2019-06-08 15:35:08 -0400
commit3c799abb44a4cc9a7b6c5bfcf583862946e57240 (patch)
treef3cb9d909f72712ab83eaa08fd48a557fa9cb541 /doc
parent7b78f2b846e2f3443dcb2ceacee54eb99e37f040 (diff)
downloadale-3c799abb44a4cc9a7b6c5bfcf583862946e57240.zip
Add additional option setting for clangtidy linter
The existing option setting handles setting additional compile flags to pass to clang-tidy. The new option setting added here allows setting additional clang-tidy specific flags to be passed as well. Fixes #2324
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-c.txt10
-rw-r--r--doc/ale-cpp.txt10
2 files changed, 18 insertions, 2 deletions
diff --git a/doc/ale-c.txt b/doc/ale-c.txt
index be0a3d77..ec7304f4 100644
--- a/doc/ale-c.txt
+++ b/doc/ale-c.txt
@@ -156,7 +156,7 @@ g:ale_c_clangtidy_options *g:ale_c_clangtidy_options*
Type: |String|
Default: `''`
- This variable can be changed to modify flags given to clang-tidy.
+ This variable can be changed to modify compiler flags given to clang-tidy.
- Setting this variable to a non-empty string,
- and working in a buffer where no compilation database is found using
@@ -169,6 +169,14 @@ g:ale_c_clangtidy_options *g:ale_c_clangtidy_options*
of the |g:ale_c_build_dir_names| directories of the project tree.
+g:ale_c_clangtidy_extra_options *g:ale_c_clangtidy_extra_options*
+ *b:ale_c_clangtidy_extra_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to modify flags given to clang-tidy.
+
+
===============================================================================
cppcheck *ale-c-cppcheck*
diff --git a/doc/ale-cpp.txt b/doc/ale-cpp.txt
index e1f64ab5..50855c10 100644
--- a/doc/ale-cpp.txt
+++ b/doc/ale-cpp.txt
@@ -125,7 +125,7 @@ g:ale_cpp_clangtidy_options *g:ale_cpp_clangtidy_options*
Type: |String|
Default: `''`
- This variable can be changed to modify flags given to clang-tidy.
+ This variable can be changed to modify compiler flags given to clang-tidy.
- Setting this variable to a non-empty string,
- and working in a buffer where no compilation database is found using
@@ -138,6 +138,14 @@ g:ale_cpp_clangtidy_options *g:ale_cpp_clangtidy_options*
of the |g:ale_c_build_dir_names| directories of the project tree.
+g:ale_cpp_clangtidy_extra_options *g:ale_cpp_clangtidy_extra_options*
+ *b:ale_cpp_clangtidy_extra_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to modify flags given to clang-tidy.
+
+
===============================================================================
clazy *ale-cpp-clazy*