File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/SILOptimizer/Mandatory Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ SILInstruction *AnalysisInfo::findNonisolatedBlame(SILInstruction* startInst) {
335
335
llvm_unreachable (" failed to find nonisolated blame." );
336
336
}
337
337
338
- ValueDecl *findCallee (ApplySite &apply) {
338
+ static ValueDecl *findCallee (ApplySite &apply) {
339
339
SILValue callee = apply.getCalleeOrigin ();
340
340
341
341
auto check = [](ValueDecl *decl) -> ValueDecl* {
@@ -359,7 +359,7 @@ ValueDecl *findCallee(ApplySite &apply) {
359
359
return nullptr ;
360
360
}
361
361
362
- StringRef verbForInvoking (ValueDecl *value) {
362
+ static StringRef verbForInvoking (ValueDecl *value) {
363
363
// Only computed properties need a different verb.
364
364
if (isa<AbstractStorageDecl>(value))
365
365
return " accessing " ;
@@ -371,7 +371,7 @@ StringRef verbForInvoking(ValueDecl *value) {
371
371
// / introducing non-isolation, this function produces the values needed
372
372
// / to describe it to the user. Thus, the implementation of this function is
373
373
// / closely tied to that diagnostic.
374
- std::tuple<StringRef, StringRef, DeclName>
374
+ static std::tuple<StringRef, StringRef, DeclName>
375
375
describe (SILInstruction *blame) {
376
376
auto &ctx = blame->getModule ().getASTContext ();
377
377
You can’t perform that action at this time.
0 commit comments