Skip to content

Commit 4baeb81

Browse files
authored
[SYCL] Use InternalOnly attribute for internal only SYCL attributes (#6417)
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
1 parent 0cf7b45 commit 4baeb81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,15 +1333,15 @@ def SYCLAccessorPtr : Attr {
13331333
// This attribute has no spellings as it is only ever created implicitly.
13341334
let Spellings = [];
13351335
let SemaHandler = 0;
1336-
let Documentation = [Undocumented];
1336+
let Documentation = [InternalOnly];
13371337
}
13381338

13391339
// Used to mark readonly accessors. It is not to be used directly in the source.
13401340
def SYCLAccessorReadonly : Attr {
13411341
// This attribute has no spellings as it is only ever created implicitly.
13421342
let Spellings = [];
13431343
let SemaHandler = 0;
1344-
let Documentation = [Undocumented];
1344+
let Documentation = [InternalOnly];
13451345
}
13461346

13471347
// The attribute denotes that it is a function written in a scalar fashion, which
@@ -1379,7 +1379,7 @@ def SYCLScope : Attr {
13791379
}
13801380
}];
13811381

1382-
let Documentation = [Undocumented];
1382+
let Documentation = [InternalOnly];
13831383
}
13841384

13851385
def SYCLDeviceIndirectlyCallable : InheritableAttr {
@@ -1394,15 +1394,15 @@ def SYCLIntelBufferLocation : InheritableAttr {
13941394
let Spellings = [];
13951395
let Args = [UnsignedArgument<"LocationID">];
13961396
let LangOpts = [SYCLIsDevice, SYCLIsHost];
1397-
let Documentation = [Undocumented];
1397+
let Documentation = [InternalOnly];
13981398
}
13991399

14001400
def SYCLRequiresDecomposition : InheritableAttr {
14011401
// No spellings, as this is for internal use.
14021402
let Spellings = [];
14031403
let Subjects = SubjectList<[Named]>;
14041404
let LangOpts = [SYCLIsDevice, SYCLIsHost];
1405-
let Documentation = [Undocumented];
1405+
let Documentation = [InternalOnly];
14061406
}
14071407

14081408
def SYCLIntelKernelArgsRestrict : InheritableAttr {

0 commit comments

Comments
 (0)