raiden00pl opened a new pull request, #19934:
URL: https://github.com/apache/nuttx/pull/19934
## Summary
Only lines beginning with a C keyword were checked, so an assignment or a
call could sit at any column.
## Impact
nuttx coding standard compatibility
## Testing
detect wrong alignment like below:
```
int demo(int a, int b)
{
int x;
x = a + b;
x = x * 2; // <<< not detected
printf("%d\n", x);
printf("hello\n"); // <<< not detecetd
if (x > 0)
{
x--;
x++; // << not detected
}
return x;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]