Skip to content

Commit 4fe536e

Browse files
committed
Remove pragma spelling for ReqdWorkGroupSize and IntelReqdSubGroupSize
Signed-off-by: Dmitry Sidorov <[email protected]>
1 parent 73bd634 commit 4fe536e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,7 @@ def IntelReqdSubGroupSize: InheritableAttr {
12691269
let Subjects = SubjectList<[Function, CXXMethod], ErrorDiag>;
12701270
let Documentation = [IntelReqdSubGroupSizeDocs];
12711271
let LangOpts = [OpenCL, SYCLIsDevice, SYCLIsHost];
1272+
let PragmaAttributeSupport = 0;
12721273
}
12731274

12741275
// This attribute is both a type attribute, and a declaration attribute (for
@@ -2553,6 +2554,7 @@ def ReqdWorkGroupSize : InheritableAttr {
25532554
DefaultUnsignedArgument<"ZDim", 1>];
25542555
let Subjects = SubjectList<[Function], ErrorDiag>;
25552556
let Documentation = [ReqdWorkGroupSizeAttrDocs];
2557+
let PragmaAttributeSupport = 0;
25562558
}
25572559

25582560
def WorkGroupSizeHint : InheritableAttr {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
// CHECK-NEXT: IBAction (SubjectMatchRule_objc_method_is_instance)
6767
// CHECK-NEXT: IFunc (SubjectMatchRule_function)
6868
// CHECK-NEXT: InitPriority (SubjectMatchRule_variable)
69-
// CHECK-NEXT: IntelReqdSubGroupSize (SubjectMatchRule_function, SubjectMatchRule_function_is_member)
7069
// CHECK-NEXT: InternalLinkage (SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_record)
7170
// CHECK-NEXT: LTOVisibilityPublic (SubjectMatchRule_record)
7271
// CHECK-NEXT: LoaderUninitialized (SubjectMatchRule_variable_is_global)
@@ -136,7 +135,6 @@
136135
// CHECK-NEXT: Pointer (SubjectMatchRule_record_not_is_union)
137136
// CHECK-NEXT: ReleaseHandle (SubjectMatchRule_variable_is_parameter)
138137
// CHECK-NEXT: RenderScriptKernel (SubjectMatchRule_function)
139-
// CHECK-NEXT: ReqdWorkGroupSize (SubjectMatchRule_function)
140138
// CHECK-NEXT: Restrict (SubjectMatchRule_function)
141139
// CHECK-NEXT: ReturnTypestate (SubjectMatchRule_function, SubjectMatchRule_variable_is_parameter)
142140
// CHECK-NEXT: ReturnsNonNull (SubjectMatchRule_objc_method, SubjectMatchRule_function)

0 commit comments

Comments
 (0)