Skip to content

Commit 37259f2

Browse files
committed
add more namepsaces in tests
1 parent 1b3f6d8 commit 37259f2

File tree

3 files changed

+216
-113
lines changed

3 files changed

+216
-113
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,8 +3922,8 @@ def LifetimeCaptureByDocs : Documentation {
39223922
let Category = DocCatFunction;
39233923
let Content = [{
39243924
Similar to `lifetimebound`_, the ``lifetime_capture_by(X)`` attribute on a function
3925-
parameter or implicit object parameter indicates that objects that are referred to by
3926-
that parameter may also be referred to by a capturing entity ``X``.
3925+
parameter or implicit object parameter indicates that indicates that the capturing entity
3926+
``X`` may refer to the object referred by that parameter.
39273927

39283928
Below is a list of types of the parameters and what they're considered to refer to:
39293929

clang/test/Sema/Inputs/lifetime-analysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ struct true_type {
135135
template<class T> struct is_pointer : false_type {};
136136
template<class T> struct is_pointer<T*> : true_type {};
137137
template<class T> struct is_pointer<T* const> : true_type {};
138-
}
138+
}

0 commit comments

Comments
 (0)