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 030ab5e commit 931ef0eCopy full SHA for 931ef0e
clang/lib/Sema/SemaDeclAttr.cpp
@@ -3580,7 +3580,7 @@ SYCLIntelMaxWorkGroupSizeAttr *Sema::MergeSYCLIntelMaxWorkGroupSizeAttr(
3580
// equals to 0.
3581
if (const auto *DeclAttr = D->getAttr<SYCLIntelMaxGlobalWorkDimAttr>()) {
3582
if (InvalidWorkGroupSizeAttrs(DeclAttr->getValue(), A.getXDim(),
3583
- A.getYDim(), A.getZDim())) {
+ A.getYDim(), A.getZDim())) {
3584
Diag(A.getLoc(), diag::err_sycl_x_y_z_arguments_must_be_one)
3585
<< &A << DeclAttr;
3586
return nullptr;
0 commit comments