@@ -1490,7 +1490,7 @@ class PrivateArgumentManagerTy {
14901490 : HstPteeBase;
14911491 }
14921492
1493- // / initialized the source buffer for corresponding-pointer-initialization.
1493+ // / Initialize the source buffer for corresponding-pointer-initialization.
14941494 // /
14951495 // / It computes and stores the target pointee base address (or the host
14961496 // / pointee's base address, if lookup of target pointee fails) to the first
@@ -1933,8 +1933,8 @@ static int processDataBefore(ident_t *Loc, int64_t DeviceId, void *HostPtr,
19331933 (I < ArgNum - 1 && (ArgTypes[I + 1 ] & OMP_TGT_MAPTYPE_MEMBER_OF));
19341934 Ret = PrivateArgumentManager.addArg (
19351935 HstPtrBegin, ArgSizes[I], TgtBaseOffset, IsFirstPrivate, TgtPtrBegin,
1936- TgtArgs.size (), HstPtrName, AllocImmediately, HstPteeBase ,
1937- HstPteeBegin, IsAttach);
1936+ /* TgtArgsIndex= */ TgtArgs.size (), HstPtrName, AllocImmediately,
1937+ HstPteeBase, HstPteeBegin, /* IsCorrespondingPointerInit= */ IsAttach);
19381938 if (Ret != OFFLOAD_SUCCESS) {
19391939 REPORT (" Failed to process %s%sprivate argument " DPxMOD " \n " ,
19401940 IsAttach ? " corresponding-pointer-initialization " : " " ,
0 commit comments