This repository was archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 619
Formatting
viveksengupta edited this page Aug 17, 2015
·
6 revisions
A python script format.py takes care of header comments and formatting. It has options of adding and stripping header comments as well as clang-format the code.
You can add or strip headers either to/from a specific file, or all files in a specific directory, or all the files in a pre-specified directory. The code has options for these choices. See the 'help' menu for available options.
You can format a single file, all files in a directory, or all files in a pre-specified directory. It uses clang-format. You can format the source code in accordance with a configuration file. This file may be modified to achieve any desired styling and formatting.