[Libomptarget][NFC] Make Libomptarget use the LLVM naming convention
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 1 Jul 2022 15:48:15 +0000 (11:48 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 5 Jul 2022 18:53:38 +0000 (14:53 -0400)
commitd27d0a673c64068c5f3a1981c428e0ef5cff8062
treee359849e1ff65d8dcc7b0a4d155597dd60dbf34b
parent31211674889095299eb817d7be034fde23f7b00a
[Libomptarget][NFC] Make Libomptarget use the LLVM naming convention

Libomptarget grew out of a project that was originally not in LLVM. As
we develop libomptarget this has led to an increasingly large clash
between the naming conventions used. This patch fixes most of the
variable names that did not confrom to the LLVM standard, that is
`VariableName` for variables and `functionName` for functions.

This patch was primarily done using my editor's linting messages, if
there are any issues I missed arising from the automation let me know.

Reviewed By: saiislam

Differential Revision: https://reviews.llvm.org/D128997
16 files changed:
openmp/libomptarget/include/device.h
openmp/libomptarget/include/omptarget.h
openmp/libomptarget/include/omptargetplugin.h
openmp/libomptarget/include/rtl.h
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
openmp/libomptarget/plugins/common/elf_common/elf_common.cpp
openmp/libomptarget/plugins/common/elf_common/elf_common.h
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
openmp/libomptarget/src/api.cpp
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/interop.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h
openmp/libomptarget/src/rtl.cpp