Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 570dd80

Browse filesBrowse files
committed
Properly format the test case
1 parent 645d4e9 commit 570dd80
Copy full SHA for 570dd80

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎c/misra/test/rules/RULE-6-1/clang/test.c

Copy file name to clipboardExpand all lines: c/misra/test/rules/RULE-6-1/clang/test.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ struct SampleStruct {
1111
signed char x6 : 2; // COMPLIANT
1212
enum Color x7 : 3; // COMPLIANT
1313
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
14-
//not permitted for bit-fields.
14+
// not permitted for bit-fields.
1515
} sample_struct;

‎c/misra/test/rules/RULE-6-1/gcc/test.c

Copy file name to clipboardExpand all lines: c/misra/test/rules/RULE-6-1/gcc/test.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ struct SampleStruct {
1111
signed char x6 : 2; // COMPLIANT
1212
enum Color x7 : 3; // COMPLIANT
1313
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
14-
//not permitted for bit-fields.
14+
// not permitted for bit-fields.
1515
} sample_struct;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.