Remove uses of register due to incompatibility with C++17 and up
authorAndres Freund <[email protected]>
Sat, 24 Sep 2022 19:01:06 +0000 (12:01 -0700)
committerAndres Freund <[email protected]>
Sat, 24 Sep 2022 19:08:37 +0000 (12:08 -0700)
commit03bf971d2dc701d473705fd00891028d140dd5ae
tree2bcc69ba7210f9149e653e5ac10cb104fb723c4b
parenteef63941c127bcfbc278445b85cf3d9dd9e323b0
Remove uses of register due to incompatibility with C++17 and up

The use in regexec.c could remain, since we only try to keep headers C++
clean. But there really doesn't seem to be a good reason to use register in
that spot.

Discussion: https://postgr.es/m/20220308185902[email protected]
.cirrus.yml
src/backend/regex/regexec.c
src/include/port/atomics/arch-x86.h
src/include/storage/s_lock.h