File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4289,7 +4289,7 @@ class FreeFunctionKernelBodyCreator : public SyclKernelFieldHandler {
42894289 SourceLocation (), SourceLocation (), SourceRange ());
42904290 }
42914291
4292- Expr *createStructTemporary (ParmVarDecl *OrigFunctionParameter) {
4292+ Expr *createCopyInitExpr (ParmVarDecl *OrigFunctionParameter) {
42934293 Expr *DRE = createParamReferenceExpr ();
42944294
42954295 assert (OrigFunctionParameter && " no parameter?" );
@@ -4399,7 +4399,7 @@ class FreeFunctionKernelBodyCreator : public SyclKernelFieldHandler {
43994399
44004400 bool handleNonDecompStruct (const CXXRecordDecl *, ParmVarDecl *PD,
44014401 QualType) final {
4402- Expr *TempCopy = createStructTemporary (PD);
4402+ Expr *TempCopy = createCopyInitExpr (PD);
44034403 ArgExprs.push_back (TempCopy);
44044404 return true ;
44054405 }
You can’t perform that action at this time.
0 commit comments