[CGOpenMPRuntime] Reuse getDepobjElements() (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 23 Mar 2022 10:21:46 +0000 (11:21 +0100)
committerNikita Popov <npopov@redhat.com>
Wed, 23 Mar 2022 10:31:49 +0000 (11:31 +0100)
commitba2be802b04a19c2398401867de3746df1bad7d6
tree8d45bce4e74d018748d840792299e9ae6c8dadb7
parent1b89c83254e533d92fcd9ad03c3695ddf5572f7a
[CGOpenMPRuntime] Reuse getDepobjElements() (NFC)

There were two more places repeating this code, reuse the helper.
This requires moving the static functions into the class.
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h