Skip to content

Commit 6737ba4

Browse files
committed
Update the lifetimebound doc.
The lifetimebound attr is not C++ only anymore after 8b29c05
1 parent e734de1 commit 6737ba4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,8 +3858,7 @@ def LifetimeBoundDocs : Documentation {
38583858
The ``lifetimebound`` attribute on a function parameter or implicit object
38593859
parameter indicates that objects that are referred to by that parameter may
38603860
also be referred to by the return value of the annotated function (or, for a
3861-
parameter of a constructor, by the value of the constructed object). It is only
3862-
supported in C++.
3861+
parameter of a constructor, by the value of the constructed object).
38633862

38643863
By default, a reference is considered to refer to its referenced object, a
38653864
pointer is considered to refer to its pointee, a ``std::initializer_list<T>``

0 commit comments

Comments
 (0)