diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /src/backend/nodes/bitmapset.c | |
parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) | |
download | postgresql-be76af171cdb3e7465c4ef234af403f97ad79b7b.tar.gz postgresql-be76af171cdb3e7465c4ef234af403f97ad79b7b.zip |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
Diffstat (limited to 'src/backend/nodes/bitmapset.c')
-rw-r--r-- | src/backend/nodes/bitmapset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/nodes/bitmapset.c b/src/backend/nodes/bitmapset.c index 4ad17d0c31e..665149defe2 100644 --- a/src/backend/nodes/bitmapset.c +++ b/src/backend/nodes/bitmapset.c @@ -476,10 +476,10 @@ bms_member_index(Bitmapset *a, int x) } /* - * Now add bits of the last word, but only those before the item. - * We can do that by applying a mask and then using popcount again. - * To get 0-based index, we want to count only preceding bits, not - * the item itself, so we subtract 1. + * Now add bits of the last word, but only those before the item. We can + * do that by applying a mask and then using popcount again. To get + * 0-based index, we want to count only preceding bits, not the item + * itself, so we subtract 1. */ mask = ((bitmapword) 1 << bitnum) - 1; result += bmw_popcount(a->words[wordnum] & mask); |