phobos/std/algorithm
Sebastian Wilzbach 1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
..
comparison.d apply all-man braces in Phobos 2016-05-31 13:07:53 +02:00
internal.d fix property enforcement 2015-12-04 15:42:53 +09:00
iteration.d apply all-man braces in Phobos 2016-05-31 13:07:53 +02:00
mutation.d apply all-man braces in Phobos 2016-05-31 13:07:53 +02:00
package.d remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
searching.d apply all-man braces in Phobos 2016-05-31 13:07:53 +02:00
setops.d Standardize whitespace after imports 2016-05-29 22:09:56 +02:00
sorting.d apply all-man braces in Phobos 2016-05-31 13:07:53 +02:00