Skip to content

Commit cb0dafb

Browse files
committed
[Gardening] OSSACompleteLifetime: Add slash to doc
1 parent 1d297e0 commit cb0dafb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

include/swift/SIL/OSSALifetimeCompletion.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ class OSSALifetimeCompletion {
4343
enum HandleTrivialVariable_t { IgnoreTrivialVariable, ExtendTrivialVariable };
4444

4545
private:
46-
// If domInfo is nullptr, then InteriorLiveness never assumes dominance. As a
47-
// result it may report extra unenclosedPhis. In that case, any attempt to
48-
// create a new phi would result in an immediately redundant phi.
46+
/// If domInfo is nullptr, then InteriorLiveness never assumes dominance. As a
47+
/// result it may report extra unenclosedPhis. In that case, any attempt to
48+
/// create a new phi would result in an immediately redundant phi.
4949
const DominanceInfo *domInfo = nullptr;
5050

5151
DeadEndBlocks &deadEndBlocks;
5252

53-
// Cache intructions already handled by the recursive algorithm to avoid
54-
// recomputing their lifetimes.
53+
/// Cache intructions already handled by the recursive algorithm to avoid
54+
/// recomputing their lifetimes.
5555
ValueSet completedValues;
5656

57-
// Extend trivial variables for lifetime diagnostics (only in SILGenCleanup).
57+
/// Extend trivial variables for lifetime diagnostics (only in SILGenCleanup).
5858
HandleTrivialVariable_t handleTrivialVariable;
5959

6060
public:
@@ -64,13 +64,13 @@ class OSSALifetimeCompletion {
6464
: domInfo(domInfo), deadEndBlocks(deadEndBlocks),
6565
completedValues(function), handleTrivialVariable(handleTrivialVariable) {}
6666

67-
// The kind of boundary at which to complete the lifetime.
68-
//
69-
// Liveness: "As early as possible." Consume the value after the last
70-
// non-consuming uses.
71-
// Availability: "As late as possible." Consume the value in the last blocks
72-
// beyond the non-consuming uses in which the value has been
73-
// consumed on no incoming paths.
67+
/// The kind of boundary at which to complete the lifetime.
68+
///
69+
/// Liveness: "As early as possible." Consume the value after the last
70+
/// non-consuming uses.
71+
/// Availability: "As late as possible." Consume the value in the last blocks
72+
/// beyond the non-consuming uses in which the value has been
73+
/// consumed on no incoming paths.
7474
struct Boundary {
7575
enum Value : uint8_t {
7676
Liveness,

0 commit comments

Comments
 (0)