bader added a comment. LGTM, with a couple of minor suggestions.
================ Comment at: clang/lib/Sema/SemaSYCL.cpp:68-75 + bool ErrorFound = false; + if (isZeroSizedArray(*this, TypeToCheck)) { + SYCLDiagIfDeviceCode(UsedAt, diag::err_sycl_zero_array_size); + ErrorFound = true; + } + // Checks for other types can also be done here. + if (ErrorFound) { ---------------- ================ Comment at: clang/lib/Sema/SemaSYCL.cpp:125 + + // In case pointer/array/reference type is met get pointeetype, then proceed + // with that type. ---------------- Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D114080/new/ https://reviews.llvm.org/D114080 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits