mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 22:53:40 +00:00
78942df284
When linting an header file in C or C++, `-x c-header` or `-x c++-header` should be used instead of `-x c` or `-x c++`. Using `-x c` or `-x c++` for headers files can lead to unused variables and functions marked as static inlined as seen in #4096. Using `-x c-header` or `-x c++-header` solve these issues. The list of file extensions that are considered as header files can be configured with the variables `g:ale_c_cc_header_exts` and `g:ale_cpp_cc_header_exts`. |
||
---|---|---|
.. | ||
cc.vim | ||
ccls.vim | ||
clangcheck.vim | ||
clangd.vim | ||
clangtidy.vim | ||
clazy.vim | ||
cppcheck.vim | ||
cpplint.vim | ||
cquery.vim | ||
cspell.vim | ||
flawfinder.vim |