aboutsummaryrefslogtreecommitdiff
path: root/scripts/rust
diff options
context:
space:
mode:
authorPhil Dennis-Jordan <phil@philjordan.eu>2024-10-24 14:35:55 +0200
committerThomas Huth <thuth@redhat.com>2024-11-08 06:13:33 +0100
commit3fbb78cfdc37910bebd6e146d14145da65dda9bb (patch)
tree91bd1e9a463767ee773d8d0b3ca565b394e50cb1 /scripts/rust
parentfeef1866d1366d651e6a3cb8c9cf1a9aabb81395 (diff)
downloadqemu-3fbb78cfdc37910bebd6e146d14145da65dda9bb.zip
qemu-3fbb78cfdc37910bebd6e146d14145da65dda9bb.tar.gz
qemu-3fbb78cfdc37910bebd6e146d14145da65dda9bb.tar.bz2
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>
Diffstat (limited to 'scripts/rust')
0 files changed, 0 insertions, 0 deletions