We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00c1f7 commit 5cb2d21Copy full SHA for 5cb2d21
clang/lib/Sema/SemaSYCL.cpp
@@ -2079,9 +2079,9 @@ class SyclKernelFieldChecker : public SyclKernelFieldHandler {
2079
}
2080
2081
bool handleArrayType(FieldDecl *FD, QualType FieldTy) final {
2082
- IsInvalid |= checkNotCopyableToKernel(FD, FieldTy);
2083
- return isValid();
2084
-}
+ IsInvalid |= checkNotCopyableToKernel(FD, FieldTy);
+ return isValid();
+ }
2085
2086
bool handleArrayType(ParmVarDecl *PD, QualType ParamTy) final {
2087
Diag.Report(PD->getLocation(), diag::err_bad_kernel_param_type) << ParamTy;
0 commit comments