We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4725d9 commit 207b921Copy full SHA for 207b921
lib/SILGen/RValue.h
@@ -74,8 +74,13 @@ class RValue {
74
CanType type;
75
unsigned elementsToBeAdded;
76
77
- /// Flag value used to mark an rvalue as invalid, because it was
78
- /// consumed or it was default-initialized.
+ /// \brief Flag value used to mark an rvalue as invalid.
+ ///
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.
84
enum : unsigned {
85
Null = ~0U,
86
Used = Null - 1,
0 commit comments