[all-commits] [llvm/llvm-project] ba2be8: [CGOpenMPRuntime] Reuse getDepobjElements() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Mar 23 03:32:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba2be802b04a19c2398401867de3746df1bad7d6
      https://github.com/llvm/llvm-project/commit/ba2be802b04a19c2398401867de3746df1bad7d6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h

  Log Message:
  -----------
  [CGOpenMPRuntime] Reuse getDepobjElements() (NFC)

There were two more places repeating this code, reuse the helper.
This requires moving the static functions into the class.




More information about the All-commits mailing list