Automatically add spaces to binary operators (>>)

command:

sed -E "s/([[:alnum:]]) >> ([[:alnum:]])/\1 >> \2/g" -i **/*.d
sed -E "s/([[:alnum:]])>> ([[:alnum:]])/\1 >> \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) >>([[:alnum:]])/\1 >> \2/g" -i **/*.d
This commit is contained in:
Sebastian Wilzbach 2017-02-23 00:51:09 +01:00
parent ef7be4b60d
commit 203755d296
6 changed files with 21 additions and 21 deletions

View file

@ -2327,7 +2327,7 @@ private template TimSortImpl(alias pred, R)
size_t minRunLength()(size_t n)
{
immutable shift = bsr(n)-5;
auto result = (n>>shift) + !!(n & ~((1 << shift)-1));
auto result = (n >> shift) + !!(n & ~((1 << shift)-1));
return result;
}