[flang] Move `genCommonBlockMember` from OpenMP to ConvertVariable, NFC (#74488)
commit10f7801cff26732b9a757ed42a1e2b89021a61d8
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>
Wed, 6 Dec 2023 15:19:31 +0000 (6 09:19 -0600)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 15:19:31 +0000 (6 09:19 -0600)
tree9409c646d94b2b293fc05f0553c5d4f57e73435c
parent02c218c6fbbf4a3eec600618b4e8f3b44754b686
[flang] Move `genCommonBlockMember` from OpenMP to ConvertVariable, NFC (#74488)

The function `genCommonBlockMember` is not specific to OpenMP, and it
could very well be a common utility. Move it to ConvertVariable.cpp
where it logically belongs.
flang/include/flang/Lower/ConvertVariable.h
flang/lib/Lower/ConvertVariable.cpp
flang/lib/Lower/OpenMP.cpp