Closed
Description
In many portions of the Library we find that an inconsistent C++ Code formatting style is followed.
For example, certain places have
- Different Tab Sizes
- Different Brace Styles(Allman vs 1TBS/K&R/Stroustrup)
We could use an Automatic Source Formatter to rectify such issues.
While I would recommend Clang-Format, AStyle also exists
We could create a configuration file and define the properties.
For a sample Clang-Format configuration, see this
We could decide on what the properties would be here.
To simplify our tasks and reduce the conflicts that come with the question, Clang-Format also provides a few default styles like:-
- LLVM
- Chromium
- Mozilla
- WebKit
Metadata
Metadata
Assignees
Labels
No labels