Skip to content

Commit ac3e69a

Browse files
Add review comment:
Use comment syntax when passing nullptr Signed-off-by: Elizabeth Andrews <[email protected]>
1 parent 2ea25b8 commit ac3e69a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,9 @@ class SyclKernelBodyCreator : public SyclKernelFieldHandler {
18431843
ParamType = Pointer->getType();
18441844
}
18451845

1846-
DRE = ImplicitCastExpr::Create(SemaRef.Context, ParamType,
1847-
CK_LValueToRValue, DRE, nullptr, VK_RValue);
1846+
DRE =
1847+
ImplicitCastExpr::Create(SemaRef.Context, ParamType, CK_LValueToRValue,
1848+
DRE, /*BasePath=*/nullptr, VK_RValue);
18481849

18491850
if (PointerTy->getPointeeType().getAddressSpace() !=
18501851
ParamType->getPointeeType().getAddressSpace())

0 commit comments

Comments
 (0)