C Code Style

In order to keep an easy-to-read, consistent and aesthetically pleasing look to the Trimble code, the following coding style guide is advised.

Reference Code Standard

Exceptions to the Standard

None. Any further exceptions that would benefit a project should be documented along with a rationale for the exception.

Implementing and enforcing the Standard

Tools/Procedures Type Notes
PC-lint Plus Commercial Checks MISRA C automotive guidelines
clang-format Free Formats source code according to style guide.