Skip to content

Commit 48a8b31

Browse files
[Clang][NFC] Fix documentation for add_ir_annotations_member attribute (#5973)
Documentation generation currently fails due to incorrect format in [[__sycl_detail__::add_ir_annotations_member]] attribute documentation. This commit fixes the format. Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
1 parent 7b2fb02 commit 48a8b31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3629,6 +3629,7 @@ occur after the first argument of the attribute, the N+2'th argument of the
36293629
attribute will occur after the second argument of the attribute, etc.
36303630
The generated call to ``llvm.ptr.annotation`` will have the following arguments
36313631
in this order:
3632+
36323633
* First argument is a pointer to the field.
36333634
* A pointer to a string literal in a constant global variable. This will
36343635
always be "sycl-properties".
@@ -3639,6 +3640,7 @@ in this order:
36393640
literals in constant global variables. These pointers to string literals
36403641
occur in pairs. If the second value of a pair was a ``nullptr`` or an empty
36413642
string then the pointer will be a null-pointer.
3643+
36423644
A pair will not be in the call to ``llvm.ptr.annotation`` if the first value of
36433645
the pair is an empty string.
36443646

0 commit comments

Comments
 (0)