diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td index 4beb2f44159e3..fc8d392e3937a 100644 --- a/clang/include/clang/Basic/Attr.td +++ b/clang/include/clang/Basic/Attr.td @@ -1147,7 +1147,7 @@ def SYCLIntelKernelArgsRestrict : InheritableAttr { def SYCLIntelNumSimdWorkItems : InheritableAttr { let Spellings = [CXX11<"intelfpga","num_simd_work_items">]; - let Args = [IntArgument<"Number">]; + let Args = [UnsignedArgument<"Number">]; let LangOpts = [SYCLIsDevice, SYCLIsHost]; let Subjects = SubjectList<[Function], ErrorDiag>; let Documentation = [SYCLIntelNumSimdWorkItemsAttrDocs];