[libomptarget][NFC] Fixed obsolete function names in comments
GitOrigin-RevId: 94cf89d1c2c543a8a2e7b8346a1af7f8605327b5
diff --git a/libomptarget/src/omptarget.cpp b/libomptarget/src/omptarget.cpp
index 85e3cf6..af80de1 100644
--- a/libomptarget/src/omptarget.cpp
+++ b/libomptarget/src/omptarget.cpp
@@ -209,7 +209,7 @@
}
/// Call the user-defined mapper function followed by the appropriate
-// target_data_* function (target_data_{begin,end,update}).
+// targetData* function (targetData{Begin,End,Update}).
int targetDataMapper(ident_t *loc, DeviceTy &Device, void *arg_base, void *arg,
int64_t arg_size, int64_t arg_type,
map_var_info_t arg_names, void *arg_mapper,
@@ -225,7 +225,7 @@
// Construct new arrays for args_base, args, arg_sizes and arg_types
// using the information in MapperComponents and call the corresponding
- // target_data_* function using these new arrays.
+ // targetData* function using these new arrays.
std::vector<void *> MapperArgsBase(MapperComponents.Components.size());
std::vector<void *> MapperArgs(MapperComponents.Components.size());
std::vector<int64_t> MapperArgSizes(MapperComponents.Components.size());
diff --git a/libomptarget/src/private.h b/libomptarget/src/private.h
index ee42ef9..9de1c3e 100644
--- a/libomptarget/src/private.h
+++ b/libomptarget/src/private.h
@@ -73,7 +73,7 @@
typedef void (*MapperFuncPtrTy)(void *, void *, void *, int64_t, int64_t,
void *);
-// Function pointer type for target_data_* functions (targetDataBegin,
+// Function pointer type for targetData* functions (targetDataBegin,
// targetDataEnd and targetDataUpdate).
typedef int (*TargetDataFuncPtrTy)(ident_t *, DeviceTy &, int32_t, void **,
void **, int64_t *, int64_t *,