clang-format-barr-c
clang-format-barr-c copied to clipboard
A .clang-format file that attempts the Barr C Embedded Coding Guidelines (2018)
Introduction
This is a .clang-format
file that attempts to implement the Barr Group's formatting standards for embedded C via the clang-format
tool.
Known Issues:
- Align trailing comments doesn't always work on multi-line top-level function definitions
- Pre-processor indentation affects nearby comment spacing