Skip to content

Commit faa4127

Browse files
committed
Restore ReqdWorkGroupSize pragma spelling
Signed-off-by: Dmitry Sidorov <[email protected]>
1 parent 4fe536e commit faa4127

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,6 @@ def ReqdWorkGroupSize : InheritableAttr {
25542554
DefaultUnsignedArgument<"ZDim", 1>];
25552555
let Subjects = SubjectList<[Function], ErrorDiag>;
25562556
let Documentation = [ReqdWorkGroupSizeAttrDocs];
2557-
let PragmaAttributeSupport = 0;
25582557
}
25592558

25602559
def WorkGroupSizeHint : InheritableAttr {

clang/test/Misc/pragma-attribute-supported-attributes-list.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
// CHECK-NEXT: Pointer (SubjectMatchRule_record_not_is_union)
136136
// CHECK-NEXT: ReleaseHandle (SubjectMatchRule_variable_is_parameter)
137137
// CHECK-NEXT: RenderScriptKernel (SubjectMatchRule_function)
138+
// CHECK-NEXT: ReqdWorkGroupSize (SubjectMatchRule_function)
138139
// CHECK-NEXT: Restrict (SubjectMatchRule_function)
139140
// CHECK-NEXT: ReturnTypestate (SubjectMatchRule_function, SubjectMatchRule_variable_is_parameter)
140141
// CHECK-NEXT: ReturnsNonNull (SubjectMatchRule_objc_method, SubjectMatchRule_function)

0 commit comments

Comments
 (0)