Add missing NS_NOESCAPE in overwritten methods (#1139)

Fixes -Wmissing-noescape warnings
This commit is contained in:
Eric Jensen
2018-10-04 09:33:08 -07:00
committed by Huy Nguyen
parent e70325563a
commit 565da7d493
7 changed files with 12 additions and 12 deletions

View File

@@ -62,9 +62,9 @@
return self;
}
- (void)performBlockWithLockedTextKitComponents:(void (^)(NSLayoutManager *,
NSTextStorage *,
NSTextContainer *))block
- (void)performBlockWithLockedTextKitComponents:(NS_NOESCAPE void (^)(NSLayoutManager *,
NSTextStorage *,
NSTextContainer *))block
{
ASDN::MutexSharedLocker l(__instanceLock__);
if (block) {