File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -144,15 +144,15 @@ template <class Ptr> struct IsResultPtrLowBitFree {
144
144
// / The result of parsing/analyzing an expression, statement etc.
145
145
// /
146
146
// / It may be:
147
- // / - a valid pointer to the result object
148
- // / - unset (null but valid), for constructs that may legitimately be absent
147
+ // / - usable: a valid pointer to the result object
148
+ // / - unset (null but valid): for constructs that may legitimately be absent
149
149
// / (for example, the condition of a for loop)
150
- // / - invalid, indicating an error
150
+ // / - invalid: indicating an error
151
151
// / (no detail is provided, usually the error has already been diagnosed)
152
152
template <class PtrTy , bool Compress = IsResultPtrLowBitFree<PtrTy>::value>
153
153
class ActionResult {
154
154
PtrTy Val = {};
155
- bool Invalid;
155
+ bool Invalid = false ;
156
156
157
157
public:
158
158
ActionResult (bool Invalid = false ) : Val(PtrTy()), Invalid(Invalid) {}
You can’t perform that action at this time.
0 commit comments