summaryrefslogtreecommitdiffstats
path: root/share/examples/indent
Commit message (Collapse)AuthorAgeFilesLines
* indent.pro example: put all options one per lineavg2010-04-051-2/+30
| | | | | | | This should help with modification tracking. Discussed with: bde MFC after: 7 days
* indent.pro example: correctly place -ta optionavg2010-04-051-2/+1
| | | | | | | The options are sorted, leading 'n' (for 'off') should be ignored. Pointed out by: bde MFC after: 7 days
* indent.pro: replace a bunch of -T types with -ta introduced in r205989avg2010-04-021-111/+1
| | | | | Suggested by: bde, Hans Petter Selasky MFC after: 10 days
* add example indent.pro file believed to produce code with minimal ↵avg2010-04-021-0/+129
differences from KNF This file is what bde uses! With addition of some types from queue(3) by hps. Please note that the output will not be KNF and currently it's not possible to achieve correct KNF with any combination of options. indent(1) needs to be made smarter. Some issues: o indent produces a space between a queue type macro and opening parenthesis o indent produces a tab before __packed and __aligned o indent produce a space after #define bde also notes difference in the following options between this profile and profile in /usr/src/admin/style of 4.4BSD: -cdb -ei -ip8 -nsob Also, NetBSD uses -di0 instead of -di8. Location for the profile is suggested by jh. Submitted by: Hans Petter Selasky (parts) Obtained from: bde :-) MFC after: 10 days X-ToDo: make indent able to produce proper (perfect) KNF X-Perhaps-ToDo: make KNF default output
OpenPOWER on IntegriCloud