Phil Dennis-Jordan
3fbb78cfdc
scripts/checkpatch.pl: Ignore ObjC #import lines for operator spacing
...
checkpatch.pl lints for spaces around operators including / (slash).
Code lines starting with #include are ignored, as slashes in those
represent path separators.
In Objective-C code, #import is often used in preference to #include,
as preprocessor-based multiple-#include defenses are considered
non-idiomatic in that language.
This change extends checkpatch.pl to treat #import lines in the same
way as #include, avoiding false positives for "missing" spaces
around path separators on those lines.
Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Message-ID: <20241024123555.25861-1-phil@philjordan.eu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-11-08 06:13:33 +01:00
..
2024-11-06 17:12:17 +01:00
2024-09-13 15:31:44 +01:00
2023-09-08 13:08:52 +03:00
2023-04-04 15:16:29 +01:00
2024-09-13 20:11:13 +02:00
2024-06-08 10:33:38 +02:00
2020-05-31 13:56:46 +02:00
2024-05-29 12:41:56 +02:00
2023-09-08 13:08:52 +03:00
2024-09-10 13:22:47 +02:00
2018-08-23 18:46:25 +02:00
2021-01-12 12:38:03 +01:00
2022-04-21 11:01:00 -04:00
2024-11-05 14:18:15 +01:00
2023-09-08 13:08:52 +03:00
2024-06-10 13:05:27 -04:00
2020-02-07 15:15:16 +01:00
2023-09-26 12:28:51 -04:00
2024-04-26 09:49:51 +02:00
2024-01-29 11:02:12 +08:00
2024-11-05 14:18:15 +01:00
2023-12-21 22:49:28 +01:00
2020-10-04 18:36:23 +02:00
2024-11-08 06:13:33 +01:00
2022-07-05 10:15:49 +02:00
2024-01-30 21:20:20 +03:00
2020-09-09 17:17:00 +01:00
2022-04-21 17:03:51 +04:00
2024-04-25 10:12:48 +02:00
2024-02-09 12:48:07 +00:00
2023-07-25 10:56:52 +01:00
2023-10-12 14:21:43 -04:00
2017-05-10 10:19:24 +03:00
2020-02-07 15:15:16 +01:00
2021-11-30 22:25:58 +01:00
2013-09-09 14:17:56 -05:00
2024-02-28 09:10:11 +00:00
2021-02-24 11:05:21 +00:00
2023-10-17 15:20:53 +02:00
2023-07-25 10:56:51 +01:00
2023-01-13 16:22:57 +01:00
2020-08-21 06:30:14 -04:00
2024-09-20 10:11:59 +03:00
2023-06-05 12:04:29 -07:00
2024-11-05 14:18:15 +01:00
2023-10-18 10:01:02 +02:00
2024-11-06 21:27:47 +00:00
2023-06-27 17:08:56 +02:00
2024-10-03 19:33:55 +02:00
2023-05-19 20:40:29 +02:00
2023-05-19 20:40:29 +02:00
2024-01-12 13:23:48 +00:00
2022-10-31 10:06:11 +01:00
2024-10-24 09:56:45 +01:00
2023-10-12 14:21:44 -04:00
2020-10-10 11:37:47 +02:00
2022-07-05 16:17:53 +05:30
2021-01-12 12:38:03 +01:00
2022-05-07 07:46:58 +02:00
2021-07-12 17:37:06 +01:00
2020-10-12 11:50:23 -04:00
2023-06-05 20:48:34 +02:00
2013-09-30 09:44:35 +02:00
2023-10-12 14:21:43 -04:00
2024-08-16 14:04:19 +01:00
2023-02-02 10:44:23 +00:00
2020-02-07 15:15:16 +01:00
2023-09-26 12:28:51 -04:00
2024-10-29 15:04:46 +00:00
2024-03-12 14:52:07 -04:00
2020-08-31 08:23:39 +02:00
2020-10-22 11:53:52 -04:00
2024-11-02 15:20:41 +08:00
2021-07-13 13:59:59 +02:00
2024-09-22 09:30:18 +02:00
2021-02-08 11:19:51 +00:00
2023-04-27 10:18:26 +02:00
2023-06-07 15:07:10 +01:00
2023-06-27 17:08:56 +02:00
2023-10-12 00:37:39 +03:00