aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
AgeCommit message (Collapse)Author
2020-10-02docs: Prefer `\` to `@` in Doxygen commentsChris Kay
This commit replaces any instances of `@`-style Doxygen commands with their `\`-style equivalents. This is done for consistency across the codebase. The `\sa` Doxygen command has been added to the Clang-Format configuration to prevent it from reflowing see-also comments, which often exceed the column limit due to referring to long URLs. Change-Id: Ia4ebe8bd310293da9e2af55fe253f0762807e88a Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-07-06clang-format: Add architecture header groupChris Kay
The first revision of `.clang-format` missed some necessary include grouping options for the recently-introduced architecture headers. Change-Id: I92eeeb6ee94693d129502a1ddc873f77fb0b408d Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-07-03doc: Add clang-format configurationChris Kay
This patch updates the code style documentation, adjusting it to fit existing established but undocumented rules, as well as introducing new ones for consistency. It also introduces a clang-format configuration, which becomes the de jure code style arbitrator. This configuration uses a style very close to the existing style, with some minor tweaks in places where a single existing style was unestablished. Change-Id: I7a6ae117a721d7e258df01a302c5a0fb18bc3133 Signed-off-by: Chris Kay <chris.kay@arm.com>