Skip to content

Commit 8d37165

Browse files
authored
Merge pull request #14855 from gottesmm/pr-bc79acb1347109b1ef5e36e6c9c5371430226b50
2 parents 3992a8c + 536bc5a commit 8d37165

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/SILGen/SILGenApply.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ class Callee {
299299
return cast<FunctionType>(substFormalType);
300300
}
301301

302+
/// Constructor for Callee::forIndirect.
302303
Callee(ManagedValue indirectValue,
303304
AbstractionPattern origFormalType,
304305
CanFunctionType substFormalType,
@@ -310,6 +311,7 @@ class Callee {
310311
Loc(l)
311312
{}
312313

314+
/// Constructor for Callee::forDirect.
313315
Callee(SILGenFunction &SGF, SILDeclRef standaloneFunction,
314316
AbstractionPattern origFormalType,
315317
CanAnyFunctionType substFormalType,
@@ -323,6 +325,8 @@ class Callee {
323325
{
324326
}
325327

328+
/// Constructor called by all for* factory methods except forDirect and
329+
/// forIndirect.
326330
Callee(Kind methodKind, SILGenFunction &SGF, SILDeclRef methodName,
327331
AbstractionPattern origFormalType, CanAnyFunctionType substFormalType,
328332
SubstitutionList subs, SILLocation l)

0 commit comments

Comments
 (0)