Skip to content

Commit 207b921

Browse files
committed
[gardening] Clean up the comment above the internal flag value in RValue.h
1 parent b4725d9 commit 207b921

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/SILGen/RValue.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,13 @@ class RValue {
7474
CanType type;
7575
unsigned elementsToBeAdded;
7676

77-
/// Flag value used to mark an rvalue as invalid, because it was
78-
/// consumed or it was default-initialized.
77+
/// \brief Flag value used to mark an rvalue as invalid.
78+
///
79+
/// The reasons why this can be true is:
80+
///
81+
/// 1. The RValue was consumed.
82+
/// 2. The RValue was default-initialized.
83+
/// 3. The RValue was emitted into an SGFContext initialization.
7984
enum : unsigned {
8085
Null = ~0U,
8186
Used = Null - 1,

0 commit comments

Comments
 (0)