mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Distinguish between withoutActuallyEscaping and passing @noescape
Objective C closures when reporting that a closure has escaped rdar://39682865
This commit is contained in:
@@ -1802,6 +1802,8 @@ public:
|
||||
*this << getIDAndType(CUI->getOperand());
|
||||
}
|
||||
void visitIsEscapingClosureInst(IsEscapingClosureInst *CUI) {
|
||||
if (CUI->getVerificationType())
|
||||
*this << "[objc] ";
|
||||
*this << getIDAndType(CUI->getOperand());
|
||||
}
|
||||
void visitDeallocStackInst(DeallocStackInst *DI) {
|
||||
|
||||
Reference in New Issue
Block a user