We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d29cbbb + 929b1d0 commit c6fa656Copy full SHA for c6fa656
Documentation/CodingGuidelines
@@ -650,6 +650,12 @@ For C programs:
650
cases. However, it is recommended to find a more descriptive name wherever
651
possible to improve the readability and maintainability of the code.
652
653
+ - Bit fields should be defined without a space around the colon. E.g.
654
+
655
+ unsigned my_field:1;
656
+ unsigned other_field:1;
657
+ unsigned field_with_longer_name:1;
658
659
For Perl programs:
660
661
- Most of the C guidelines above apply.
0 commit comments