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 22697aa commit ac56f91Copy full SHA for ac56f91
lib/SILOptimizer/Mandatory/AccessEnforcementSelection.cpp
@@ -236,7 +236,8 @@ void SelectEnforcement::analyzeUsesOfBox(SILInstruction *source) {
236
isa<DeallocBoxInst>(user))
237
continue;
238
239
- // Treat everything else as an escape:
+ // Treat everything else as an escape.
240
+ // A Box typically escapes via copy_value.
241
noteEscapingUse(user);
242
}
243
// Accesses may still be empty if the user of the Box is a partial apply
0 commit comments