Lines Matching full:lifetime
20 /// The lifetime of a temporary bound to this entity ends at the end of the
24 /// The lifetime of a temporary bound to this entity is extended to the
28 /// The lifetime of a temporary bound to this entity probably ends too soon,
32 /// The lifetime of a temporary bound to this entity ends too soon, because
36 /// The lifetime of a temporary bound to this entity ends too soon, because
44 /// The lifetime of a temporary bound to this entity probably ends too soon,
54 /// for the purpose of lifetime-extending a temporary bound to a reference in
62 // The temporary [...] persists for the lifetime of the reference in getEntityLifetime()
103 // -- The lifetime of a temporary bound to the returned value in a in getEntityLifetime()
109 // FIXME: Should we lifetime-extend through the result of a statement in getEntityLifetime()
152 // FIXME: Can we diagnose lifetime problems with exceptions? in getEntityLifetime()
168 /// Lifetime would be extended by a reference binding to a temporary.
170 /// Lifetime would be extended by a std::initializer_list object binding to
183 /// that would inhibit lifetime extension or take us out of subexpressions of
394 // GCC miscompiles that by ending its lifetime before evaluating the in implicitObjectParamIsLifetimeBound()
499 // Walk past any constructs which we can lifetime-extend across. in visitLocalsRetainedByReferenceBinding()
518 // when performing lifetime extension. in visitLocalsRetainedByReferenceBinding()
524 // on array glvalues when performing lifetime extension. in visitLocalsRetainedByReferenceBinding()
531 // We can't lifetime extend through this but we might still find some in visitLocalsRetainedByReferenceBinding()
553 // Lifetime of a non-reference type field is same as base object. in visitLocalsRetainedByReferenceBinding()
569 // lifetime problem. in visitLocalsRetainedByReferenceBinding()
577 // The lifetime of a reference parameter is unknown; assume it's OK in visitLocalsRetainedByReferenceBinding()
735 // lifetime of the array exactly like binding a reference to a temporary. in visitLocalsRetainedByInitializer()
744 // changed the lifetime of the initialized entity. in visitLocalsRetainedByInitializer()
764 // If we lifetime-extend a braced initializer which is initializing an in visitLocalsRetainedByInitializer()
766 // bound to temporaries, those temporaries are also lifetime-extended. in visitLocalsRetainedByInitializer()
791 // we should recursively lifetime-extend that initializer. in visitLocalsRetainedByInitializer()
801 // The lifetime of an init-capture is that of the closure object constructed in visitLocalsRetainedByInitializer()
848 // If the initializer is the address of a local, we could have a lifetime in visitLocalsRetainedByInitializer()
852 // it. Don't produce a redundant warning about the lifetime of the in visitLocalsRetainedByInitializer()
885 // and isn't interesting from a lifetime perspective. in visitLocalsRetainedByInitializer()
897 // This is a local block, whose lifetime is that of the function. in visitLocalsRetainedByInitializer()
912 /// Whether a path to an object supports lifetime extension.
914 /// Lifetime-extend along this path.
916 /// We should lifetime-extend, but we don't because (due to technical
921 /// Do not lifetime extend along this path.
926 /// supposed to lifetime-extend along.
952 // supporting lifetime extension. in nextPathEntryRange()
997 // If this entity doesn't have an interesting lifetime, don't bother looking in checkExprLifetimeImpl()
1041 // The initialized entity has lifetime beyond the full-expression, in checkExprLifetimeImpl()
1061 // Also visit the temporaries lifetime-extended by this initializer. in checkExprLifetimeImpl()
1065 // We're supposed to lifetime-extend the temporary along this path (per in checkExprLifetimeImpl()
1070 // lifetime extend its temporaries. in checkExprLifetimeImpl()
1096 "No lifetime extension for assignments"); in checkExprLifetimeImpl()
1107 // initializer used by the absence of one) would lifetime-extend a in checkExprLifetimeImpl()
1208 // Leaving the scope doesn't end its lifetime. in checkExprLifetimeImpl()
1240 // supporting lifetime extension. in checkExprLifetimeImpl()
1282 // We didn't lifetime-extend, so don't go any further; we don't need more in checkExprLifetimeImpl()