Files
ale/ale_linters
Nicolas Pauss 78942df284 cc: use '-x c*-header' for header files for C and C++ linters. (#4318)
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`.
2022-09-25 09:02:43 +09:00
..
2021-11-19 07:41:05 +09:00
2021-11-19 07:41:05 +09:00
2021-11-15 19:41:03 +09:00
2022-02-06 14:08:10 +09:00
2022-07-22 13:05:08 +09:00
2022-02-06 21:09:38 +09:00
2021-11-19 07:41:05 +09:00
2019-02-06 20:29:58 -02:00
2021-03-30 15:47:59 +09:00
2021-01-23 12:34:36 -05:00
2021-03-19 22:29:06 +00:00
2021-11-19 07:41:05 +09:00
2021-10-09 14:33:07 +09:00
2017-12-20 22:53:03 -06:00
2021-11-19 07:41:05 +09:00
2020-12-23 16:50:45 +01:00
2021-11-19 07:41:05 +09:00
2020-12-12 00:37:14 +01:00
2021-11-18 13:23:38 +09:00
2021-11-19 07:41:05 +09:00
2019-11-07 02:44:56 +09:00
2019-02-02 16:20:14 +01:00
2021-02-18 23:51:11 +09:00
2021-01-22 23:51:29 +09:00
2021-11-19 07:41:05 +09:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2021-11-19 07:41:05 +09:00
2021-01-23 12:27:55 -05:00
2022-05-16 21:14:11 +09:00
2021-11-19 07:41:05 +09:00
2021-12-13 22:35:26 +09:00
2021-11-19 07:41:05 +09:00
2021-11-19 07:41:05 +09:00
2020-08-28 09:25:40 +01:00
2021-11-19 07:41:05 +09:00
2021-03-15 22:30:22 +00:00
2021-11-19 07:41:05 +09:00
2021-11-19 07:41:05 +09:00
2021-11-19 07:41:05 +09:00
2021-01-23 00:20:11 +09:00
2020-08-06 13:20:54 +01:00
2021-11-19 07:41:05 +09:00
2022-09-11 10:53:33 +09:00
2021-10-24 21:05:55 +09:00
2020-07-10 22:33:37 -04:00