File:  [NetBSD Developer Wiki] / wikisrc / projects / project / clang-format.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Fri Jan 18 17:35:11 2019 UTC (10 months, 3 weeks ago) by kamil
Branches: MAIN
CVS tags: HEAD
Add clang-format GSoC task

Add KNF (NetBSD style) clang-format configuration.

[[!template id=project

title="Add KNF (NetBSD style) clang-format configuration"

contact="""
[tech-toolchain](mailto:tech-toolchain@NetBSD.org)
"""

mentors="""
[Kamil Rytarowski](mailto:kamil@NetBSD.org)
"""

category="analyzers"
difficulty="medium"
duration="3 months"

description="""

clang-format is a tool to format source code according to a set of rules and heuristics.
Like most tools, it is not perfect nor covers every single case, but it is good enough to be helpful.

clang-format can be used for several purposes:

* Quickly reformat a block of code to the NetBSD (KNF) style.
* Spot style mistakes, typos and possible improvements in files.
* Help to follow the coding style rules.

Milestones:

* Create configuration file .clang-format that approximate the NetBSD coding style
* Patch LibFormat to handle missing coding style rules.
* Integrate .clang-format with the NetBSD distribution.

"""
]]

[[!tag gsoc]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb