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 @@ -170,7 +170,7 @@ class CaptureInfo {
170
170
171
171
ArrayRef<CapturedValue> getCaptures () const {
172
172
// FIXME: Ideally, everywhere that synthesizes a function should include
173
- // its capture info.
173
+ // its capture info.
174
174
if (!hasBeenComputed ())
175
175
return None;
176
176
return StorageAndFlags.getPointer ()->getCaptures ();
@@ -188,7 +188,7 @@ class CaptureInfo {
188
188
// / \returns true if the function captures any generic type parameters.
189
189
bool hasGenericParamCaptures () const {
190
190
// FIXME: Ideally, everywhere that synthesizes a function should include
191
- // its capture info.
191
+ // its capture info.
192
192
if (!hasBeenComputed ())
193
193
return false ;
194
194
return StorageAndFlags.getInt ().contains (Flags::HasGenericParamCaptures);
@@ -202,7 +202,7 @@ class CaptureInfo {
202
202
// / \returns the captured dynamic Self type, if any.
203
203
DynamicSelfType *getDynamicSelfType () const {
204
204
// FIXME: Ideally, everywhere that synthesizes a function should include
205
- // its capture info.
205
+ // its capture info.
206
206
if (!hasBeenComputed ())
207
207
return nullptr ;
208
208
return StorageAndFlags.getPointer ()->getDynamicSelfType ();
@@ -214,7 +214,7 @@ class CaptureInfo {
214
214
215
215
OpaqueValueExpr *getOpaqueValue () const {
216
216
// FIXME: Ideally, everywhere that synthesizes a function should include
217
- // its capture info.
217
+ // its capture info.
218
218
if (!hasBeenComputed ())
219
219
return nullptr ;
220
220
return StorageAndFlags.getPointer ()->getOpaqueValue ();
You can’t perform that action at this time.
0 commit comments